Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001706/0.001706, allocations: 108.5 kB / 21.23 MB, free: 0.6602 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.002013/0.002013, allocations: 187.4 kB / 24.51 MB, free: 4.031 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.91/1.91, 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.3119/0.3119, allocations: 44.9 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 63.89 kB / 497.8 MB, free: 0.9414 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 64.29 MB / 0.5489 GB, free: 13.11 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003341/0.3649, allocations: 1.935 MB / 0.5508 GB, free: 11.59 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001739/0.3666, allocations: 0.9485 MB / 0.5517 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.3667, allocations: 5 kB / 0.5517 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.3671, allocations: 44.94 kB / 0.5517 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.3673, allocations: 56.86 kB / 0.5518 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.3677, allocations: 131.3 kB / 0.5519 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002459/0.368, allocations: 149.9 kB / 0.5521 GB, free: 10.58 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3681, allocations: 24.89 kB / 0.5521 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3682, allocations: 54.16 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3684, allocations: 53.05 kB / 0.5522 GB, free: 10.49 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.3684, allocations: 7.812 kB / 0.5522 GB, free: 10.49 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3685, allocations: 45.05 kB / 0.5522 GB, free: 10.48 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.3686, allocations: 26.83 kB / 0.5523 GB, free: 10.46 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.3687, allocations: 59.09 kB / 0.5523 GB, free: 10.41 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.369, allocations: 139.7 kB / 0.5525 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.369, allocations: 0 / 0.5525 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.856e-06/0.369, allocations: 1.188 kB / 0.5525 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.38e-05/0.369, allocations: 7.938 kB / 0.5525 GB, free: 10.32 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.0007707/0.3698, allocations: 399.2 kB / 0.5528 GB, free: 9.934 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3699, allocations: 10.3 kB / 0.5529 GB, free: 9.934 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.3699, allocations: 19.36 kB / 0.5529 GB, free: 9.922 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.3703, allocations: 171 kB / 0.553 GB, free: 9.75 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3703, allocations: 7.75 kB / 0.553 GB, free: 9.746 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.3703, allocations: 12.56 kB / 0.5531 GB, free: 9.738 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.3706, allocations: 114.2 kB / 0.5532 GB, free: 9.645 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3706, allocations: 0 / 0.5532 GB, free: 9.645 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3706, allocations: 1.125 kB / 0.5532 GB, free: 9.645 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3707, allocations: 2.312 kB / 0.5532 GB, free: 9.645 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.3708, allocations: 46.47 kB / 0.5532 GB, free: 9.625 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.3715, allocations: 490 kB / 0.5537 GB, free: 9.141 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.3718, allocations: 81.55 kB / 0.5538 GB, free: 9.09 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3719, allocations: 41.2 kB / 0.5538 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3719, allocations: 1.312 kB / 0.5538 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.3722, allocations: 85.66 kB / 0.5539 GB, free: 8.988 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3722, allocations: 0 / 0.5539 GB, free: 8.988 MB / 398.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0004485/0.3726, allocations: 142.5 kB / 0.554 GB, free: 8.906 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.3727, allocations: 60.75 kB / 0.5541 GB, free: 8.836 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.3729, allocations: 188.2 kB / 0.5542 GB, free: 8.688 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.373, allocations: 35.14 kB / 0.5543 GB, free: 8.648 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3731, allocations: 117.9 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.3731, allocations: 24.08 kB / 0.5544 GB, free: 8.516 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.3732, allocations: 30.77 kB / 0.5544 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001897/0.3734, allocations: 322.8 kB / 0.5548 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3735, allocations: 31.52 kB / 0.5548 GB, free: 8.152 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.3736, allocations: 72.14 kB / 0.5549 GB, free: 8.086 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.3739, allocations: 93.78 kB / 0.5549 GB, free: 8.016 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3739, allocations: 4.922 kB / 0.5549 GB, free: 8.012 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003297/0.3742, allocations: 134.1 kB / 0.5551 GB, free: 7.934 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3742, allocations: 5.562 kB / 0.5551 GB, free: 7.934 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3743, allocations: 1.094 kB / 0.5551 GB, free: 7.934 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3743, allocations: 6.328 kB / 0.5551 GB, free: 7.93 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3744, allocations: 26.31 kB / 0.5551 GB, free: 7.922 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3744, allocations: 9.406 kB / 0.5551 GB, free: 7.914 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.3745, allocations: 24.83 kB / 0.5551 GB, free: 7.895 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3745, allocations: 4.281 kB / 0.5551 GB, free: 7.895 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset)
 * 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.0001339/0.3746, allocations: 126.6 kB / 0.5553 GB, free: 7.77 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.3747, allocations: 18.36 kB / 0.5553 GB, free: 7.758 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.375, allocations: 125.4 kB / 0.5554 GB, free: 7.676 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.375, allocations: 9.109 kB / 0.5554 GB, free: 7.668 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.375, allocations: 0 / 0.5554 GB, free: 7.668 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.375, allocations: 5.062 kB / 0.5554 GB, free: 7.664 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.3752, allocations: 185.2 kB / 0.5556 GB, free: 7.465 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3752, allocations: 0 / 0.5556 GB, free: 7.465 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.3753, allocations: 14.16 kB / 0.5556 GB, free: 7.461 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3753, allocations: 0 / 0.5556 GB, free: 7.461 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.3753, allocations: 5.406 kB / 0.5556 GB, free: 7.457 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3753, allocations: 9.047 kB / 0.5556 GB, free: 7.449 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3753, allocations: 0 / 0.5556 GB, free: 7.449 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.3757, allocations: 181 kB / 0.5558 GB, free: 7.324 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.3758, allocations: 16.38 kB / 0.5558 GB, free: 7.312 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3758, allocations: 1.344 kB / 0.5558 GB, free: 7.312 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.3759, allocations: 16.45 kB / 0.5558 GB, free: 7.301 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.3759, allocations: 7.016 kB / 0.5558 GB, free: 7.297 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3759, allocations: 1.625 kB / 0.5558 GB, free: 7.297 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.00013/0.376, allocations: 147.7 kB / 0.556 GB, free: 7.188 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.376, allocations: 64 / 0.556 GB, free: 7.188 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002477/0.3763, allocations: 27.69 kB / 0.556 GB, free: 7.18 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (err1.y)
 * 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 (9):
 * Single equations (assignments): 7
 * 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.00154/0.3778, allocations: 405.2 kB / 0.5564 GB, free: 6.984 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002854/0.3781, allocations: 76.89 kB / 0.5565 GB, free: 6.953 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3781, allocations: 0 / 0.5565 GB, free: 6.953 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3782, allocations: 36.77 kB / 0.5565 GB, free: 6.938 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.3785, allocations: 47.8 kB / 0.5565 GB, free: 6.91 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.3791, allocations: 257.2 kB / 0.5568 GB, free: 6.707 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3795, allocations: 0.7142 MB / 0.5575 GB, free: 5.992 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 7.043e-05/0.3796, allocations: 20.08 kB / 0.5575 GB, free: 5.984 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.3796, allocations: 16.19 kB / 0.5575 GB, free: 5.977 MB / 398.1 MB
Notification: Performance of SimCode: time 3.6e-07/0.3796, allocations: 0 / 0.5575 GB, free: 5.977 MB / 398.1 MB
Notification: Performance of Templates: time 0.005795/0.3854, allocations: 1.957 MB / 0.5594 GB, free: 4.363 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.877022249624133]