Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 115 kB / 17.75 MB, free: 5.32 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.001714/0.001715, allocations: 191 kB / 18.68 MB, free: 4.395 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.432/1.432, 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.227/0.227, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 63.89 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4585, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003374/0.462, allocations: 1.706 MB / 0.5206 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.4635, allocations: 0.8754 MB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.4636, allocations: 5.188 kB / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.464, allocations: 34.88 kB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.4642, allocations: 55.22 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.4646, allocations: 109.5 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.4648, allocations: 92.28 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.465, allocations: 15.45 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.4651, allocations: 41.25 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.4652, allocations: 34.52 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.4652, allocations: 3.594 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.4654, allocations: 45.98 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.4655, allocations: 17.98 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.4655, allocations: 33.06 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.4658, allocations: 112.1 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4658, allocations: 0.7969 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4658, allocations: 0 / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.4659, allocations: 0 / 0.522 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.0006746/0.4665, allocations: 413.5 kB / 0.5224 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.4666, allocations: 9.156 kB / 0.5224 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.4667, allocations: 9.156 kB / 0.5224 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.467, allocations: 207.2 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.467, allocations: 10.45 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.467, allocations: 5.625 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.4672, allocations: 55.52 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4672, allocations: 7.844 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4672, allocations: 0.7031 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4672, allocations: 4.969 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.4673, allocations: 21.5 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.4676, allocations: 283.4 kB / 0.523 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.4678, allocations: 60.36 kB / 0.5231 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.4679, allocations: 20.27 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.4679, allocations: 4.703 kB / 0.5231 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.468, allocations: 66.48 kB / 0.5232 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4681, allocations: 0 / 0.5232 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005348/0.4686, allocations: 172 kB / 0.5233 GB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.4686, allocations: 57.89 kB / 0.5234 GB, free: 292 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.4688, allocations: 186.1 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.4688, allocations: 29.7 kB / 0.5236 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.4689, allocations: 105.2 kB / 0.5237 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.4689, allocations: 25.16 kB / 0.5237 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.469, allocations: 26.06 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4691, allocations: 325.9 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.4692, allocations: 24.91 kB / 0.5241 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.4693, allocations: 36.28 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.4694, allocations: 58.2 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4694, allocations: 0 / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002264/0.4696, allocations: 109.7 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4697, allocations: 5.25 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4697, allocations: 0 / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4697, allocations: 1.922 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.4698, allocations: 14.59 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4698, allocations: 1.312 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.4699, allocations: 11.8 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.4699, allocations: 6.719 kB / 0.5243 GB, free: 15.51 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.0001181/0.47, allocations: 124.8 kB / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.47, allocations: 13.98 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.4701, allocations: 16.09 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4701, allocations: 1.094 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4701, allocations: 0 / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4701, allocations: 4.547 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.4707, allocations: 394.2 kB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4707, allocations: 5.984 kB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.4708, allocations: 12.62 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4708, allocations: 1.812 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4708, allocations: 10.28 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4708, allocations: 0.7969 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4708, allocations: 1.844 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.4711, allocations: 208 kB / 0.5251 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.4711, allocations: 83.56 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4712, allocations: 6.969 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.4712, allocations: 7.625 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.4713, allocations: 5.422 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4713, allocations: 4.594 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.4715, allocations: 143.8 kB / 0.5253 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4715, allocations: 0 / 0.5253 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.4718, allocations: 30.03 kB / 0.5253 GB, free: 14.62 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.001126/0.4729, allocations: 462.4 kB / 0.5258 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.4731, allocations: 64.91 kB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4731, allocations: 0 / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.4732, allocations: 33.16 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.4736, allocations: 29.61 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.4741, allocations: 217.5 kB / 0.5261 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.4744, allocations: 0.7104 MB / 0.5268 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.4745, allocations: 12.36 kB / 0.5268 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.4746, allocations: 20.42 kB / 0.5268 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4746, allocations: 0 / 0.5268 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.00505/0.4796, allocations: 1.694 MB / 0.5285 GB, free: 12.94 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches