Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 44.91 MB / 353.5 MB, free: 11.81 MB / 286.1 MB " [Timeout remaining time 179] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.88 kB / 497.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4539, allocations: 64.29 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003675/0.4576, allocations: 1.822 MB / 0.5506 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.4599, allocations: 0.9828 MB / 0.5516 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.46, allocations: 5.406 kB / 0.5516 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008508/0.4609, allocations: 303.7 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006501/0.4615, allocations: 208.3 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.4622, allocations: 173.4 kB / 0.5523 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005002/0.4627, allocations: 247.7 kB / 0.5525 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.4628, allocations: 6.25 kB / 0.5525 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.4631, allocations: 143.2 kB / 0.5526 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.4635, allocations: 211 kB / 0.5528 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.4635, allocations: 6.125 kB / 0.5529 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.4638, allocations: 45.33 kB / 0.5529 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.464, allocations: 139.3 kB / 0.553 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.4642, allocations: 141.7 kB / 0.5532 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.4649, allocations: 368.1 kB / 0.5535 GB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4649, allocations: 0 / 0.5535 GB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4649, allocations: 9.125 kB / 0.5535 GB, free: 9.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.4649, allocations: 3.938 kB / 0.5535 GB, free: 9.805 MB / 398.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.001197/0.4661, allocations: 0.6733 MB / 0.5542 GB, free: 9.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4662, allocations: 9.734 kB / 0.5542 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.916e-05/0.4663, allocations: 50.14 kB / 0.5542 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.467, allocations: 391 kB / 0.5546 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4671, allocations: 2.656 kB / 0.5546 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.4671, allocations: 11.41 kB / 0.5546 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.4674, allocations: 95.88 kB / 0.5547 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4674, allocations: 0 / 0.5547 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.4674, allocations: 1.562 kB / 0.5547 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4674, allocations: 0 / 0.5547 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.4676, allocations: 32.56 kB / 0.5548 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.4681, allocations: 343.8 kB / 0.5551 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.4685, allocations: 102.4 kB / 0.5552 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4686, allocations: 40.48 kB / 0.5552 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4686, allocations: 1.031 kB / 0.5552 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.4689, allocations: 112.2 kB / 0.5553 GB, free: 8.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4689, allocations: 3.938 kB / 0.5553 GB, free: 8.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006906/0.4696, allocations: 205.4 kB / 0.5555 GB, free: 8.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.4697, allocations: 78.2 kB / 0.5556 GB, free: 8.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.471, allocations: 1.039 MB / 0.5566 GB, free: 7.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/0.4711, allocations: 29.7 kB / 0.5566 GB, free: 7.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.4714, allocations: 232.1 kB / 0.5569 GB, free: 7.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.136e-05/0.4714, allocations: 27.8 kB / 0.5569 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.4715, allocations: 25.7 kB / 0.5569 GB, free: 6.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.4717, allocations: 370.8 kB / 0.5573 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.4719, allocations: 23.98 kB / 0.5573 GB, free: 6.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.472, allocations: 67.34 kB / 0.5574 GB, free: 6.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.4722, allocations: 79.42 kB / 0.5574 GB, free: 6.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4722, allocations: 0 / 0.5574 GB, free: 6.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003649/0.4726, allocations: 185.7 kB / 0.5576 GB, free: 6.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4726, allocations: 12.06 kB / 0.5576 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4726, allocations: 0 / 0.5576 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4726, allocations: 0 / 0.5576 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.4727, allocations: 23.98 kB / 0.5576 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4727, allocations: 0 / 0.5576 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4729, allocations: 11.88 kB / 0.5577 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.4729, allocations: 8 kB / 0.5577 GB, free: 6.148 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.0002596/0.4731, allocations: 233.5 kB / 0.5579 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.4732, allocations: 55.62 kB / 0.5579 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.4736, allocations: 205.7 kB / 0.5581 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4736, allocations: 0 / 0.5581 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4736, allocations: 4 kB / 0.5581 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4736, allocations: 0 / 0.5581 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.4741, allocations: 320.4 kB / 0.5584 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4741, allocations: 0 / 0.5584 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.4742, allocations: 12 kB / 0.5585 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4742, allocations: 0 / 0.5585 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4742, allocations: 3.984 kB / 0.5585 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4742, allocations: 8 kB / 0.5585 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4742, allocations: 3.938 kB / 0.5585 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.4746, allocations: 213.5 kB / 0.5587 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.4747, allocations: 63.66 kB / 0.5587 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.4748, allocations: 4 kB / 0.5587 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4749, allocations: 7.984 kB / 0.5587 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.475, allocations: 16.11 kB / 0.5588 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.475, allocations: 8 kB / 0.5588 GB, free: 4.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009542/0.4759, allocations: 0.7721 MB / 0.5595 GB, free: 4.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4759, allocations: 0 / 0.5595 GB, free: 4.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.4762, allocations: 43.94 kB / 0.5596 GB, free: 4.121 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001609/0.4778, allocations: 421.5 kB / 0.56 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.4782, allocations: 83.89 kB / 0.56 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4782, allocations: 0 / 0.56 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.4783, allocations: 39.92 kB / 0.5601 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.4788, allocations: 81.66 kB / 0.5602 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.4802, allocations: 0.8739 MB / 0.561 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.4809, allocations: 0.8502 MB / 0.5618 GB, free: 1.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.481, allocations: 54.95 kB / 0.5619 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.4811, allocations: 31.42 kB / 0.5619 GB, free: 1.801 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4811, allocations: 0 / 0.5619 GB, free: 1.801 MB / 398.1 MB Notification: Performance of Templates: time 0.01032/0.4914, allocations: 3.854 MB / 0.5657 GB, free: 13.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.700413362123072]