Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 106.4 kB / 17.77 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 187.9 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2557/0.2557, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3708, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002681/0.3735, allocations: 1.631 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3748, allocations: 1.027 MB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.3748, allocations: 1.031 kB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.375, allocations: 26.84 kB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.3753, allocations: 43.2 kB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.3756, allocations: 138.4 kB / 0.5217 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3757, allocations: 57.84 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.3758, allocations: 22.22 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.923e-05/0.3759, allocations: 23.98 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.376, allocations: 31.44 kB / 0.5218 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.376, allocations: 3.5 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3761, allocations: 52.31 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.3762, allocations: 19.61 kB / 0.5219 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.3762, allocations: 22.52 kB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3764, allocations: 93.2 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3765, allocations: 1.219 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3765, allocations: 0 / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3765, allocations: 0 / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004071/0.3769, allocations: 389 kB / 0.5224 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3769, allocations: 8.938 kB / 0.5224 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.377, allocations: 8.984 kB / 0.5224 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3771, allocations: 192.2 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3771, allocations: 9.391 kB / 0.5226 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.3772, allocations: 2.469 kB / 0.5226 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3774, allocations: 72.91 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3774, allocations: 1.094 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3774, allocations: 0.5156 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3774, allocations: 1.219 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3775, allocations: 44.53 kB / 0.5227 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.3778, allocations: 280 kB / 0.523 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.3779, allocations: 44.8 kB / 0.523 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.207e-05/0.378, allocations: 23.69 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.378, allocations: 7.938 kB / 0.5231 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3781, allocations: 33.34 kB / 0.5231 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.3781, allocations: 0 / 0.5231 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006803/0.3788, allocations: 202.2 kB / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3788, allocations: 83.28 kB / 0.5234 GB, free: 268 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3789, allocations: 138.2 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.379, allocations: 25.7 kB / 0.5235 GB, free: 116 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.379, allocations: 94.58 kB / 0.5236 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.379, allocations: 22.69 kB / 0.5236 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.3791, allocations: 20.75 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3792, allocations: 320.6 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3794, allocations: 32.77 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.3795, allocations: 46.83 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.3797, allocations: 73.22 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3797, allocations: 9.188 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002835/0.38, allocations: 112.3 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.38, allocations: 4.531 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.38, allocations: 1.844 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3801, allocations: 0 / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3802, allocations: 19.98 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3802, allocations: 0 / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.3803, allocations: 17.22 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.3803, allocations: 6.406 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.3804, allocations: 119.7 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3804, allocations: 7.5 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.3808, allocations: 126.9 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3808, allocations: 1.562 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3808, allocations: 0 / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3808, allocations: 8.641 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.3814, allocations: 383.6 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3814, allocations: 3.938 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.3815, allocations: 18.12 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3815, allocations: 1.469 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3815, allocations: 7.938 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3815, allocations: 6.156 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3815, allocations: 0 / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.3818, allocations: 206.1 kB / 0.5251 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.3819, allocations: 78.92 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.3819, allocations: 6.516 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.382, allocations: 12.52 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.3821, allocations: 10.41 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3821, allocations: 2.281 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.868e-05/0.3822, allocations: 113.8 kB / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3822, allocations: 0 / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.3825, allocations: 20.09 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.3836, allocations: 444 kB / 0.5258 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.3839, allocations: 77.81 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3839, allocations: 1.188 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.384, allocations: 49.77 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3843, allocations: 13.7 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.3848, allocations: 182.8 kB / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.385, allocations: 0.6951 MB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.63e-05/0.3851, allocations: 21.39 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.3851, allocations: 14.92 kB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3851, allocations: 0 / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.0042/0.3894, allocations: 1.528 MB / 0.5283 GB, free: 13.02 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches