Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001277/0.001277, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.444/1.444, allocations: 222.9 MB / 242.4 MB, free: 15.03 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.2277/0.2277, allocations: 44.18 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 59.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4664, allocations: 60.83 MB / 0.519 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003844/0.4703, allocations: 1.656 MB / 0.5206 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.472, allocations: 0.8539 MB / 0.5214 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.4721, allocations: 1.344 kB / 0.5214 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.4725, allocations: 48.03 kB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.4729, allocations: 64.14 kB / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.4732, allocations: 107.9 kB / 0.5216 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.4735, allocations: 101.8 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.631e-05/0.4736, allocations: 8.406 kB / 0.5217 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.4737, allocations: 41.81 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.4739, allocations: 43.67 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.4739, allocations: 2.281 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.474, allocations: 30.48 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.4741, allocations: 21.59 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.4742, allocations: 36.12 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.4745, allocations: 85.83 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4745, allocations: 0 / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4745, allocations: 1.344 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4745, allocations: 0 / 0.522 GB, free: 1.594 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005774/0.4751, allocations: 407.9 kB / 0.5224 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.4751, allocations: 10.22 kB / 0.5224 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.4752, allocations: 8.25 kB / 0.5224 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.4754, allocations: 202.3 kB / 0.5226 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4754, allocations: 5.031 kB / 0.5226 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.4755, allocations: 9.438 kB / 0.5226 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.4756, allocations: 51.48 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4756, allocations: 0.9375 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4756, allocations: 0 / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4757, allocations: 1.312 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.4757, allocations: 14.89 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.4759, allocations: 177 kB / 0.5228 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.4761, allocations: 56.77 kB / 0.5229 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.328e-05/0.4762, allocations: 24.45 kB / 0.5229 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.4763, allocations: 1.094 kB / 0.5229 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.4764, allocations: 64.67 kB / 0.523 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.744e-06/0.4764, allocations: 3.938 kB / 0.523 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003285/0.4768, allocations: 95.56 kB / 0.5231 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.4768, allocations: 53.09 kB / 0.5231 GB, free: 500 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.477, allocations: 170.7 kB / 0.5233 GB, free: 376 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.477, allocations: 30.83 kB / 0.5233 GB, free: 340 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.4771, allocations: 93.98 kB / 0.5234 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.4771, allocations: 15.69 kB / 0.5234 GB, free: 236 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.4771, allocations: 20.19 kB / 0.5234 GB, free: 216 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4773, allocations: 325 kB / 0.5238 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.4773, allocations: 18.08 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.4774, allocations: 33.7 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.4775, allocations: 47.08 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4775, allocations: 0 / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001796/0.4777, allocations: 83.94 kB / 0.5239 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4778, allocations: 9.875 kB / 0.5239 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4778, allocations: 0.7031 kB / 0.5239 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.4778, allocations: 1.438 kB / 0.5239 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.842e-05/0.4779, allocations: 15.28 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4779, allocations: 0 / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.478, allocations: 7.922 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.478, allocations: 1.375 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 0.0001075/0.4781, allocations: 124.5 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.4781, allocations: 12.53 kB / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.4782, allocations: 17.78 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4782, allocations: 0.9375 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4782, allocations: 1.125 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4782, allocations: 4.594 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.4784, allocations: 183.9 kB / 0.5243 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4784, allocations: 0.5625 kB / 0.5243 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.4784, allocations: 12.17 kB / 0.5243 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4784, allocations: 0 / 0.5243 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.4784, allocations: 5.797 kB / 0.5243 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4784, allocations: 2.141 kB / 0.5243 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4784, allocations: 0 / 0.5243 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.4787, allocations: 112.7 kB / 0.5244 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.4787, allocations: 83.66 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.4788, allocations: 1.734 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.4788, allocations: 3.25 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4788, allocations: 3 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.4789, allocations: 3.766 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.479, allocations: 137.3 kB / 0.5246 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.479, allocations: 1.219 kB / 0.5246 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.4792, allocations: 18.28 kB / 0.5247 GB, free: 15.11 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000963/0.4802, allocations: 414.5 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.4804, allocations: 37.42 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4804, allocations: 4 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.4804, allocations: 22.64 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.4807, allocations: 37.34 kB / 0.5252 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.4812, allocations: 175.3 kB / 0.5253 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.4816, allocations: 0.6989 MB / 0.526 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.4816, allocations: 12.52 kB / 0.526 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.4817, allocations: 13.08 kB / 0.526 GB, free: 14.04 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4817, allocations: 1.719 kB / 0.526 GB, free: 14.04 MB / 398.1 MB Notification: Performance of Templates: time 0.004518/0.4862, allocations: 1.48 MB / 0.5275 GB, free: 13.64 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches