Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001262/0.001262, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.441/1.441, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2092/0.2092, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4621, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003161/0.4653, allocations: 1.623 MB / 0.5212 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008133/0.4661, allocations: 452.9 kB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.4662, allocations: 1.25 kB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.467, allocations: 454.6 kB / 0.522 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.4674, allocations: 248.5 kB / 0.5223 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.4679, allocations: 175 kB / 0.5224 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.4682, allocations: 162.4 kB / 0.5226 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4683, allocations: 23.8 kB / 0.5226 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.4685, allocations: 111.1 kB / 0.5227 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.4688, allocations: 211.3 kB / 0.5229 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.4688, allocations: 2.094 kB / 0.5229 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.4689, allocations: 31.95 kB / 0.523 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.469, allocations: 86.73 kB / 0.523 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.4691, allocations: 103.2 kB / 0.5231 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.4694, allocations: 253 kB / 0.5234 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4694, allocations: 1.438 kB / 0.5234 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4694, allocations: 0 / 0.5234 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4695, allocations: 0 / 0.5234 GB, free: 1.75 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.000674/0.4701, allocations: 0.6328 MB / 0.524 GB, free: 1.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4702, allocations: 11.25 kB / 0.524 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.4702, allocations: 42.84 kB / 0.524 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.4705, allocations: 290.9 kB / 0.5243 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4705, allocations: 4.375 kB / 0.5243 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.4705, allocations: 3.188 kB / 0.5243 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.4707, allocations: 57.2 kB / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4707, allocations: 7.875 kB / 0.5244 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.4707, allocations: 3.938 kB / 0.5244 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4707, allocations: 1.375 kB / 0.5244 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.4708, allocations: 30.73 kB / 0.5244 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.4714, allocations: 398.9 kB / 0.5248 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.4716, allocations: 46.39 kB / 0.5249 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.4716, allocations: 18.62 kB / 0.5249 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4717, allocations: 0 / 0.5249 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.4717, allocations: 32.38 kB / 0.5249 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4717, allocations: 1.562 kB / 0.5249 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005938/0.4723, allocations: 232.6 kB / 0.5251 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.4723, allocations: 51.41 kB / 0.5252 GB, free: 240 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009243/0.4733, allocations: 0.8644 MB / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.4733, allocations: 29.7 kB / 0.526 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.4735, allocations: 220.9 kB / 0.5263 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.4735, allocations: 14.5 kB / 0.5263 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.4736, allocations: 25.83 kB / 0.5263 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4737, allocations: 359.3 kB / 0.5266 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.212e-05/0.4738, allocations: 20.36 kB / 0.5267 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.007e-05/0.4739, allocations: 20.36 kB / 0.5267 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.474, allocations: 60.5 kB / 0.5267 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.474, allocations: 3.938 kB / 0.5267 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002186/0.4743, allocations: 117.3 kB / 0.5268 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4743, allocations: 5.5 kB / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4743, allocations: 1.375 kB / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4743, allocations: 0 / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.4744, allocations: 13.61 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4744, allocations: 0 / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.494e-05/0.4744, allocations: 15.95 kB / 0.5269 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4745, allocations: 1.375 kB / 0.5269 GB, free: 15.15 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 (5): * Single equations (assignments): 5 * 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.0001794/0.4746, allocations: 214.5 kB / 0.5271 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.4747, allocations: 37.41 kB / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.475, allocations: 142.1 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.475, allocations: 1.438 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.475, allocations: 0 / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.475, allocations: 3.938 kB / 0.5273 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.4756, allocations: 471.3 kB / 0.5277 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4757, allocations: 0 / 0.5277 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.4757, allocations: 17.83 kB / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4757, allocations: 0 / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4757, allocations: 5.344 kB / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4758, allocations: 0 / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4758, allocations: 4.719 kB / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.476, allocations: 221 kB / 0.528 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.4761, allocations: 109.7 kB / 0.5281 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.4762, allocations: 13.14 kB / 0.5281 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.4763, allocations: 3.812 kB / 0.5281 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.4763, allocations: 6.422 kB / 0.5281 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.4763, allocations: 1.625 kB / 0.5281 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007537/0.4771, allocations: 0.6461 MB / 0.5287 GB, free: 13.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4771, allocations: 4.938 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.4773, allocations: 26 kB / 0.5287 GB, free: 13.82 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 (5): * Single equations (assignments): 5 * 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.0009344/0.4783, allocations: 392.4 kB / 0.5291 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.4785, allocations: 55.33 kB / 0.5292 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4785, allocations: 7.875 kB / 0.5292 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.34e-05/0.4786, allocations: 33.36 kB / 0.5292 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.479, allocations: 28.64 kB / 0.5292 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4802, allocations: 0.8191 MB / 0.53 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.4807, allocations: 0.8268 MB / 0.5308 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.4807, allocations: 12.97 kB / 0.5309 GB, free: 12.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4807, allocations: 0 / 0.5309 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Templates: time 0.00728/0.488, allocations: 3.731 MB / 0.5345 GB, free: 10.37 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches