Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001269/0.001269, allocations: 108.5 kB / 21.23 MB, free: 0.5078 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.001515/0.001515, allocations: 190.5 kB / 24.51 MB, free: 3.898 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.499/1.499, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2465/0.2465, allocations: 44.91 MB / 353.5 MB, free: 11.91 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 71.88 kB / 497.8 MB, free: 0.9531 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4652, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004221/0.4694, allocations: 1.922 MB / 0.5508 GB, free: 11.64 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002134/0.4716, allocations: 1.007 MB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.4717, allocations: 6.094 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.4723, allocations: 226 kB / 0.552 GB, free: 10.74 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.4727, allocations: 167.2 kB / 0.5521 GB, free: 10.64 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.4733, allocations: 184.1 kB / 0.5523 GB, free: 10.52 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003822/0.4737, allocations: 240.4 kB / 0.5525 GB, free: 10.38 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.4738, allocations: 24.44 kB / 0.5526 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.4741, allocations: 118.5 kB / 0.5527 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.4743, allocations: 174 kB / 0.5528 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.4743, allocations: 8.625 kB / 0.5528 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.4745, allocations: 61.61 kB / 0.5529 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000105/0.4746, allocations: 65.28 kB / 0.553 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000114/0.4747, allocations: 85.91 kB / 0.553 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.4751, allocations: 235.6 kB / 0.5533 GB, free: 9.941 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4751, allocations: 0 / 0.5533 GB, free: 9.941 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.313e-06/0.4751, allocations: 1.094 kB / 0.5533 GB, free: 9.941 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.194e-05/0.4751, allocations: 0 / 0.5533 GB, free: 9.941 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0009086/0.476, allocations: 497.5 kB / 0.5538 GB, free: 9.496 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4761, allocations: 9.281 kB / 0.5538 GB, free: 9.496 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.4762, allocations: 34.41 kB / 0.5538 GB, free: 9.477 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.4767, allocations: 221.6 kB / 0.554 GB, free: 9.27 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.4767, allocations: 2.594 kB / 0.554 GB, free: 9.27 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.4767, allocations: 18.42 kB / 0.554 GB, free: 9.258 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.477, allocations: 102.4 kB / 0.5541 GB, free: 9.176 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.4771, allocations: 9.328 kB / 0.5541 GB, free: 9.168 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.4771, allocations: 9.219 kB / 0.5541 GB, free: 9.16 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.4771, allocations: 5.062 kB / 0.5541 GB, free: 9.156 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.4773, allocations: 49.7 kB / 0.5542 GB, free: 9.133 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.478, allocations: 439.8 kB / 0.5546 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.4784, allocations: 114.5 kB / 0.5547 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4785, allocations: 37.8 kB / 0.5548 GB, free: 8.605 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.4786, allocations: 14.55 kB / 0.5548 GB, free: 8.594 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.4788, allocations: 120.6 kB / 0.5549 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.4789, allocations: 0 / 0.5549 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of matching and sorting (n=22): time 0.001601/0.4805, allocations: 0.4905 MB / 0.5554 GB, free: 8.223 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.4805, allocations: 91.66 kB / 0.5555 GB, free: 8.117 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.4811, allocations: 427.3 kB / 0.5559 GB, free: 7.883 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.4811, allocations: 37.14 kB / 0.5559 GB, free: 7.844 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.4813, allocations: 150 kB / 0.556 GB, free: 7.707 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.4813, allocations: 74.75 kB / 0.5561 GB, free: 7.645 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.4814, allocations: 44.98 kB / 0.5562 GB, free: 7.609 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000206/0.4816, allocations: 340.5 kB / 0.5565 GB, free: 7.277 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4818, allocations: 57.75 kB / 0.5565 GB, free: 7.25 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.4819, allocations: 95.55 kB / 0.5566 GB, free: 7.18 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.4822, allocations: 156.6 kB / 0.5568 GB, free: 7.082 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4822, allocations: 5.312 kB / 0.5568 GB, free: 7.078 MB / 398.1 MB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004397/0.4827, allocations: 236.7 kB / 0.557 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.4827, allocations: 12.94 kB / 0.557 GB, free: 6.855 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4827, allocations: 3.938 kB / 0.557 GB, free: 6.852 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.4827, allocations: 4 kB / 0.557 GB, free: 6.848 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.4829, allocations: 35.98 kB / 0.5571 GB, free: 6.812 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.4829, allocations: 4 kB / 0.5571 GB, free: 6.809 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.523e-05/0.483, allocations: 11.98 kB / 0.5571 GB, free: 6.797 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.483, allocations: 12 kB / 0.5571 GB, free: 6.785 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (26):
 * Single equations (assignments): 26
 * 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.0002264/0.4833, allocations: 170.2 kB / 0.5572 GB, free: 6.609 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.4833, allocations: 35.75 kB / 0.5573 GB, free: 6.574 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.4839, allocations: 264.8 kB / 0.5575 GB, free: 6.309 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4839, allocations: 7.938 kB / 0.5575 GB, free: 6.301 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4839, allocations: 0 / 0.5575 GB, free: 6.301 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4839, allocations: 0 / 0.5575 GB, free: 6.301 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.485, allocations: 0.7029 MB / 0.5582 GB, free: 5.535 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.485, allocations: 192 / 0.5582 GB, free: 5.535 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.4851, allocations: 27.98 kB / 0.5583 GB, free: 5.508 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4851, allocations: 7.938 kB / 0.5583 GB, free: 5.5 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.4851, allocations: 11.94 kB / 0.5583 GB, free: 5.488 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.4851, allocations: 7.984 kB / 0.5583 GB, free: 5.48 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4851, allocations: 0 / 0.5583 GB, free: 5.48 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.4857, allocations: 418 kB / 0.5587 GB, free: 5.043 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.4858, allocations: 31.8 kB / 0.5587 GB, free: 5.012 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.4859, allocations: 11.98 kB / 0.5587 GB, free: 5 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.486, allocations: 4 kB / 0.5587 GB, free: 4.996 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.4861, allocations: 27.91 kB / 0.5587 GB, free: 4.969 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.4861, allocations: 12 kB / 0.5588 GB, free: 4.957 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0003919/0.4865, allocations: 319 kB / 0.5591 GB, free: 4.648 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4865, allocations: 0 / 0.5591 GB, free: 4.648 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004174/0.487, allocations: 47.92 kB / 0.5591 GB, free: 4.602 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 18
 * 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.002042/0.489, allocations: 0.5242 MB / 0.5596 GB, free: 4.285 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000411/0.4894, allocations: 149.9 kB / 0.5598 GB, free: 4.141 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4894, allocations: 0 / 0.5598 GB, free: 4.141 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.4896, allocations: 75.84 kB / 0.5598 GB, free: 4.066 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.4902, allocations: 64.53 kB / 0.5599 GB, free: 4.008 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.4912, allocations: 0.5435 MB / 0.5604 GB, free: 3.422 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.4917, allocations: 0.7712 MB / 0.5612 GB, free: 2.625 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001123/0.4918, allocations: 45.91 kB / 0.5612 GB, free: 2.578 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.4918, allocations: 27.44 kB / 0.5613 GB, free: 2.551 MB / 398.1 MB
Notification: Performance of SimCode: time 5.41e-07/0.4918, allocations: 0 / 0.5613 GB, free: 2.551 MB / 398.1 MB
Notification: Performance of Templates: time 0.007992/0.4998, allocations: 3.23 MB / 0.5644 GB, free: 15.35 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.627075096592307]