Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 102.1 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3891/0.3891, allocations: 44.12 MB / 386.1 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001228, allocations: 56.11 kB / 457.8 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4548, allocations: 60.8 MB / 0.5064 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003866/0.4588, allocations: 1.842 MB / 0.5082 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.4606, allocations: 0.9489 MB / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.4607, allocations: 1.188 kB / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.4614, allocations: 289.2 kB / 0.5094 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.4618, allocations: 202.8 kB / 0.5096 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.4622, allocations: 153.9 kB / 0.5097 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.4625, allocations: 237.5 kB / 0.51 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.4625, allocations: 11.52 kB / 0.51 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.4627, allocations: 114.5 kB / 0.5101 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.4629, allocations: 194.4 kB / 0.5103 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.463, allocations: 5.344 kB / 0.5103 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.4631, allocations: 39.06 kB / 0.5103 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.4633, allocations: 126.9 kB / 0.5104 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.4634, allocations: 141.5 kB / 0.5106 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.4637, allocations: 355 kB / 0.5109 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4637, allocations: 6.719 kB / 0.5109 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4637, allocations: 0 / 0.5109 GB, free: 35.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4638, allocations: 0 / 0.5109 GB, free: 35.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008831/0.4646, allocations: 0.7074 MB / 0.5116 GB, free: 35.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4647, allocations: 12.23 kB / 0.5116 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.523e-05/0.4648, allocations: 47.59 kB / 0.5117 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.4653, allocations: 435.5 kB / 0.5121 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4653, allocations: 7.125 kB / 0.5121 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.4654, allocations: 15.09 kB / 0.5121 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.4656, allocations: 87.77 kB / 0.5122 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4656, allocations: 0 / 0.5122 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4656, allocations: 3.938 kB / 0.5122 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4656, allocations: 2.906 kB / 0.5122 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4658, allocations: 28.81 kB / 0.5122 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.4661, allocations: 373.2 kB / 0.5126 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.4664, allocations: 103.5 kB / 0.5127 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.4665, allocations: 42.84 kB / 0.5127 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.4665, allocations: 6.906 kB / 0.5127 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.4668, allocations: 107.9 kB / 0.5128 GB, free: 34.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.4668, allocations: 0 / 0.5128 GB, free: 34.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004468/0.4673, allocations: 195.2 kB / 0.513 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4673, allocations: 79.92 kB / 0.5131 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4684, allocations: 1.01 MB / 0.5141 GB, free: 33.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.4684, allocations: 28.39 kB / 0.5141 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.4685, allocations: 230.3 kB / 0.5143 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.4686, allocations: 30.09 kB / 0.5143 GB, free: 33.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.4686, allocations: 26.66 kB / 0.5144 GB, free: 33.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.4687, allocations: 366.9 kB / 0.5147 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.4688, allocations: 31.94 kB / 0.5148 GB, free: 33.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.4689, allocations: 60.16 kB / 0.5148 GB, free: 33.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.4691, allocations: 92.7 kB / 0.5149 GB, free: 33.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4691, allocations: 0 / 0.5149 GB, free: 33.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002765/0.4694, allocations: 171.4 kB / 0.5151 GB, free: 33.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4694, allocations: 5.156 kB / 0.5151 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4694, allocations: 1.25 kB / 0.5151 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4694, allocations: 2.094 kB / 0.5151 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4696, allocations: 20.53 kB / 0.5151 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4696, allocations: 9.453 kB / 0.5151 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.969e-05/0.4697, allocations: 12.59 kB / 0.5151 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.4697, allocations: 3.344 kB / 0.5151 GB, free: 33.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002366/0.4699, allocations: 227.8 kB / 0.5153 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.47, allocations: 54 kB / 0.5154 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.4701, allocations: 55.3 kB / 0.5154 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4701, allocations: 2.188 kB / 0.5154 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4702, allocations: 3.938 kB / 0.5154 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4702, allocations: 1.344 kB / 0.5154 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.4705, allocations: 333.4 kB / 0.5158 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4705, allocations: 3.938 kB / 0.5158 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.4705, allocations: 10.5 kB / 0.5158 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4705, allocations: 8.281 kB / 0.5158 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4706, allocations: 2.031 kB / 0.5158 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4706, allocations: 5.062 kB / 0.5158 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4706, allocations: 0.875 kB / 0.5158 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006464/0.4712, allocations: 0.8692 MB / 0.5166 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.4714, allocations: 138.1 kB / 0.5168 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.4714, allocations: 4.656 kB / 0.5168 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.4715, allocations: 8.688 kB / 0.5168 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.4716, allocations: 13.42 kB / 0.5168 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4716, allocations: 3.594 kB / 0.5168 GB, free: 31.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00079/0.4724, allocations: 0.7552 MB / 0.5175 GB, free: 31.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4724, allocations: 0 / 0.5175 GB, free: 31.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.4728, allocations: 48.7 kB / 0.5176 GB, free: 31.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009209/0.4737, allocations: 416.9 kB / 0.518 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.4739, allocations: 76.06 kB / 0.5181 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4739, allocations: 0 / 0.5181 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.4741, allocations: 53.64 kB / 0.5181 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.4745, allocations: 62.78 kB / 0.5182 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4758, allocations: 1.054 MB / 0.5192 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.4762, allocations: 0.8362 MB / 0.52 GB, free: 29.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.4764, allocations: 63.38 kB / 0.5201 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.4765, allocations: 30.03 kB / 0.5201 GB, free: 29.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4765, allocations: 0 / 0.5201 GB, free: 29.91 MB / 378.7 MB Notification: Performance of Templates: time 0.007411/0.4839, allocations: 3.618 MB / 0.5236 GB, free: 29.57 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches