Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 108.8 kB / 17.78 MB, free: 5.281 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.001185/0.001185, allocations: 184.1 kB / 18.71 MB, free: 4.359 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.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2127/0.2127, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001546, allocations: 55.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4662, allocations: 60.83 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00266/0.4689, allocations: 1.592 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.4696, allocations: 400.7 kB / 0.5208 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.4697, allocations: 0.9688 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.4704, allocations: 454.1 kB / 0.5213 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.4708, allocations: 252.4 kB / 0.5215 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.4712, allocations: 126.8 kB / 0.5216 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.4715, allocations: 154.3 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4716, allocations: 18.88 kB / 0.5218 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.4717, allocations: 108.2 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.472, allocations: 206.9 kB / 0.5221 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.472, allocations: 2.25 kB / 0.5221 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.4721, allocations: 24.72 kB / 0.5221 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.4722, allocations: 88.16 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.4723, allocations: 95.23 kB / 0.5223 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.4726, allocations: 242.9 kB / 0.5225 GB, free: 1.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4726, allocations: 0 / 0.5225 GB, free: 1.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4726, allocations: 0.5625 kB / 0.5225 GB, free: 1.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.4726, allocations: 1.281 kB / 0.5225 GB, free: 1.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006503/0.4733, allocations: 0.6254 MB / 0.5232 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4733, allocations: 9.562 kB / 0.5232 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.4734, allocations: 42.78 kB / 0.5232 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.4736, allocations: 300.6 kB / 0.5235 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.4736, allocations: 384 / 0.5235 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.4737, allocations: 2.281 kB / 0.5235 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4738, allocations: 53.5 kB / 0.5235 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4738, allocations: 0 / 0.5235 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4739, allocations: 8.688 kB / 0.5236 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4739, allocations: 1.969 kB / 0.5236 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.474, allocations: 29.12 kB / 0.5236 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.4744, allocations: 381.7 kB / 0.5239 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.4745, allocations: 46.22 kB / 0.524 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.4746, allocations: 17.59 kB / 0.524 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.4746, allocations: 9.891 kB / 0.524 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.4746, allocations: 34.56 kB / 0.5241 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4747, allocations: 1.094 kB / 0.5241 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003165/0.475, allocations: 117.3 kB / 0.5242 GB, free: 440 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.475, allocations: 51.41 kB / 0.5242 GB, free: 376 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008134/0.4758, allocations: 0.8527 MB / 0.525 GB, free: 52 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.4758, allocations: 25.7 kB / 0.5251 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.476, allocations: 215.2 kB / 0.5253 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.4761, allocations: 10.75 kB / 0.5253 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.4761, allocations: 18.27 kB / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4763, allocations: 360 kB / 0.5256 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.4763, allocations: 16.38 kB / 0.5257 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.4764, allocations: 13.73 kB / 0.5257 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4765, allocations: 38.53 kB / 0.5257 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4765, allocations: 4 kB / 0.5257 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002001/0.4767, allocations: 103.5 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4768, allocations: 5.469 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4768, allocations: 1.125 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4768, allocations: 0 / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.4769, allocations: 6.594 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4769, allocations: 1.625 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.477, allocations: 6.359 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.477, allocations: 1.281 kB / 0.5258 GB, free: 15.39 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 (3): * Single equations (assignments): 3 * 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 0.0001801/0.4772, allocations: 218 kB / 0.526 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.4772, allocations: 44.41 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.4775, allocations: 121.8 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4775, allocations: 1.062 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4775, allocations: 0 / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4775, allocations: 1.062 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.4778, allocations: 286.7 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4778, allocations: 5.281 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.4779, allocations: 6.969 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4779, allocations: 384 / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.4779, allocations: 4 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4779, allocations: 5.234 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4779, allocations: 0 / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.4781, allocations: 203.1 kB / 0.5267 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.4782, allocations: 113.3 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.4783, allocations: 1.281 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.4784, allocations: 6.641 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.4784, allocations: 5.469 kB / 0.5268 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.4784, allocations: 4.906 kB / 0.5268 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006431/0.4791, allocations: 0.6458 MB / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4791, allocations: 0 / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.4793, allocations: 18.52 kB / 0.5275 GB, free: 14.22 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 (3): * Single equations (assignments): 3 * 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.0007948/0.4801, allocations: 344.3 kB / 0.5278 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4803, allocations: 37.56 kB / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4803, allocations: 4 kB / 0.5278 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.4804, allocations: 20.7 kB / 0.5279 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.4808, allocations: 27.3 kB / 0.5279 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.4819, allocations: 0.7576 MB / 0.5286 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.4823, allocations: 0.82 MB / 0.5294 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.4824, allocations: 8.266 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.4824, allocations: 10.41 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4824, allocations: 4 kB / 0.5294 GB, free: 12.83 MB / 398.1 MB Notification: Performance of Templates: time 0.004606/0.487, allocations: 1.331 MB / 0.5307 GB, free: 12.16 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches