Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, 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.001568/0.001568, 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.492/1.492, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2227/0.2227, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4641, allocations: 60.83 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003438/0.4676, allocations: 1.704 MB / 0.5207 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.4691, allocations: 0.8732 MB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.4692, allocations: 1.125 kB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.4695, allocations: 49.81 kB / 0.5216 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.4698, allocations: 64.02 kB / 0.5216 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.4701, allocations: 113.9 kB / 0.5217 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.4703, allocations: 96.28 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4704, allocations: 11.25 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.4705, allocations: 41.94 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.4706, allocations: 34.72 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.4706, allocations: 3.438 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4707, allocations: 47.3 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/0.4708, allocations: 39.41 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.4709, allocations: 38.53 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.4711, allocations: 132 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4711, allocations: 0 / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4712, allocations: 0 / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.4712, allocations: 0 / 0.5221 GB, free: 1.527 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005473/0.4717, allocations: 435.6 kB / 0.5226 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4718, allocations: 9.891 kB / 0.5226 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.4718, allocations: 15.31 kB / 0.5226 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.4721, allocations: 232 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4721, allocations: 2.641 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.4721, allocations: 9.781 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.4723, allocations: 53.77 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4723, allocations: 1.312 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4723, allocations: 0.6562 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4723, allocations: 1.062 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/0.4724, allocations: 21.8 kB / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.4728, allocations: 306.5 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.473, allocations: 57.64 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.473, allocations: 20.5 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4731, allocations: 0 / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.4732, allocations: 69.2 kB / 0.5233 GB, free: 412 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.4733, allocations: 0 / 0.5233 GB, free: 412 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005947/0.4739, allocations: 180.1 kB / 0.5235 GB, free: 320 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4739, allocations: 61.8 kB / 0.5236 GB, free: 248 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.4742, allocations: 280.5 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.4743, allocations: 30.77 kB / 0.5239 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4744, allocations: 111.4 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.4744, allocations: 26.09 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.4745, allocations: 26.27 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4746, allocations: 329.2 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.4747, allocations: 21.61 kB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.262e-05/0.4747, allocations: 34.59 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.4749, allocations: 62.41 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4749, allocations: 4 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002016/0.4751, allocations: 102.8 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4751, allocations: 6.875 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4751, allocations: 3.938 kB / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4752, allocations: 1.438 kB / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.4753, allocations: 20.5 kB / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4753, allocations: 0 / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.4753, allocations: 11.06 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4754, allocations: 3.203 kB / 0.5246 GB, free: 15.44 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 (10): * Single equations (assignments): 10 * 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.0001168/0.4755, allocations: 138.1 kB / 0.5247 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.4755, allocations: 15.72 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.4756, allocations: 19.92 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4756, allocations: 1.75 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4756, allocations: 3.938 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.4756, allocations: 6.547 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.4762, allocations: 403.1 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4762, allocations: 4.688 kB / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.4762, allocations: 7.531 kB / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4762, allocations: 2.719 kB / 0.5252 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.4763, allocations: 14.69 kB / 0.5252 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4763, allocations: 0 / 0.5252 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4763, allocations: 0.5156 kB / 0.5252 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.4766, allocations: 212.8 kB / 0.5254 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.4767, allocations: 92.17 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.4767, allocations: 6.375 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.4768, allocations: 3.453 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.4768, allocations: 8.375 kB / 0.5255 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.4769, allocations: 4.172 kB / 0.5255 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.4771, allocations: 204.8 kB / 0.5257 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4771, allocations: 0 / 0.5257 GB, free: 14.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.4774, allocations: 23.64 kB / 0.5257 GB, free: 14.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.00139/0.4788, allocations: 476.6 kB / 0.5262 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.4791, allocations: 58.98 kB / 0.5262 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4791, allocations: 1.312 kB / 0.5262 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4793, allocations: 36.22 kB / 0.5263 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.4797, allocations: 26.61 kB / 0.5263 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009744/0.4807, allocations: 284.5 kB / 0.5266 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.4812, allocations: 0.7262 MB / 0.5273 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.4813, allocations: 12.95 kB / 0.5273 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.4814, allocations: 16.72 kB / 0.5273 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4814, allocations: 0 / 0.5273 GB, free: 13.36 MB / 398.1 MB Notification: Performance of Templates: time 0.005611/0.487, allocations: 1.756 MB / 0.529 GB, free: 12.73 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches