Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 113.8 kB / 17.78 MB, free: 5.289 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.001953/0.001954, allocations: 179.1 kB / 18.71 MB, free: 4.367 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.529/1.529, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2341/0.2341, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4566, allocations: 60.83 MB / 0.519 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003904/0.4606, allocations: 1.796 MB / 0.5207 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.4623, allocations: 0.9583 MB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.4624, allocations: 1.094 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000768/0.4632, allocations: 310.8 kB / 0.522 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.4636, allocations: 210.7 kB / 0.5222 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.4641, allocations: 170 kB / 0.5223 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.4645, allocations: 237.3 kB / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.493e-05/0.4646, allocations: 13.27 kB / 0.5226 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.4648, allocations: 133.3 kB / 0.5227 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.4651, allocations: 194.3 kB / 0.5229 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.4651, allocations: 6.438 kB / 0.5229 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.4653, allocations: 49.86 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.4655, allocations: 128.5 kB / 0.523 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.4656, allocations: 148.2 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.4661, allocations: 362.6 kB / 0.5235 GB, free: 1.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4661, allocations: 0.875 kB / 0.5235 GB, free: 1.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4661, allocations: 0 / 0.5235 GB, free: 1.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.4661, allocations: 0 / 0.5235 GB, free: 1.023 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00101/0.4671, allocations: 0.7341 MB / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.4672, allocations: 9.281 kB / 0.5243 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.665e-05/0.4673, allocations: 46.55 kB / 0.5243 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.4679, allocations: 449.1 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.468, allocations: 2.234 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.468, allocations: 7.812 kB / 0.5247 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.4682, allocations: 86.98 kB / 0.5248 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4682, allocations: 4 kB / 0.5248 GB, free: 0 / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4682, allocations: 2.062 kB / 0.5248 GB, free: 0 / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4682, allocations: 1.156 kB / 0.5248 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.4684, allocations: 29.55 kB / 0.5249 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.469, allocations: 376.4 kB / 0.5252 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.4693, allocations: 114.3 kB / 0.5253 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.4694, allocations: 43.45 kB / 0.5254 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.4695, allocations: 5.281 kB / 0.5254 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.4697, allocations: 108.7 kB / 0.5255 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.4697, allocations: 1.375 kB / 0.5255 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005449/0.4703, allocations: 201 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.4704, allocations: 79.23 kB / 0.5257 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.4717, allocations: 1.038 MB / 0.5268 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.4717, allocations: 27.83 kB / 0.5268 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.4719, allocations: 236.8 kB / 0.527 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.472, allocations: 23.66 kB / 0.527 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.472, allocations: 31.11 kB / 0.5271 GB, free: 14.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4722, allocations: 366.3 kB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.4723, allocations: 29.8 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4724, allocations: 62.56 kB / 0.5275 GB, free: 14.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.4726, allocations: 86.27 kB / 0.5276 GB, free: 14.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4726, allocations: 1.781 kB / 0.5276 GB, free: 14.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003053/0.4729, allocations: 172.9 kB / 0.5277 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.473, allocations: 5.844 kB / 0.5278 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.473, allocations: 1.531 kB / 0.5278 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.473, allocations: 1.656 kB / 0.5278 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4731, allocations: 25.55 kB / 0.5278 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4731, allocations: 1.688 kB / 0.5278 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.4733, allocations: 16.94 kB / 0.5278 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4733, allocations: 7.938 kB / 0.5278 GB, free: 14 MB / 398.1 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.000249/0.4735, allocations: 229.6 kB / 0.528 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.4736, allocations: 49 kB / 0.5281 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.2e-05/0.4737, allocations: 58.31 kB / 0.5281 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4737, allocations: 5.656 kB / 0.5281 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4737, allocations: 5 kB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4737, allocations: 1.062 kB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.4741, allocations: 343.9 kB / 0.5285 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4741, allocations: 1.125 kB / 0.5285 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.4742, allocations: 6.938 kB / 0.5285 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4742, allocations: 0 / 0.5285 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4742, allocations: 6.109 kB / 0.5285 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4742, allocations: 1.062 kB / 0.5285 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4742, allocations: 5 kB / 0.5285 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.4746, allocations: 204.2 kB / 0.5287 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.4747, allocations: 138 kB / 0.5288 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.4748, allocations: 2.188 kB / 0.5288 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.4749, allocations: 11.83 kB / 0.5288 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.475, allocations: 11.55 kB / 0.5288 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.475, allocations: 4.844 kB / 0.5288 GB, free: 13.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009036/0.4759, allocations: 0.7671 MB / 0.5296 GB, free: 12.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4759, allocations: 4.094 kB / 0.5296 GB, free: 12.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.4762, allocations: 48.14 kB / 0.5296 GB, free: 12.8 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: 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.001005/0.4772, allocations: 415.2 kB / 0.53 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.4775, allocations: 82.77 kB / 0.5301 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4775, allocations: 0 / 0.5301 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.4776, allocations: 40.02 kB / 0.5302 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4781, allocations: 82.11 kB / 0.5302 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4794, allocations: 0.8513 MB / 0.5311 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.4799, allocations: 0.8457 MB / 0.5319 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.48, allocations: 60.75 kB / 0.5319 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.4801, allocations: 25.94 kB / 0.532 GB, free: 11.26 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4801, allocations: 0 / 0.532 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Templates: time 0.009798/0.4899, allocations: 3.758 MB / 0.5356 GB, free: 9.441 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches