Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001755/0.001755, 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.001998/0.001998, allocations: 183.9 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.55/1.55, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2565/0.2565, allocations: 44.92 MB / 353.5 MB, free: 11.84 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 75.88 kB / 497.8 MB, free: 0.9609 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4103, allocations: 64.29 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003618/0.414, allocations: 1.737 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001778/0.4157, allocations: 0.8991 MB / 0.5515 GB, free: 11.09 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.4158, allocations: 1.375 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.4163, allocations: 77.69 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.4166, allocations: 77.66 kB / 0.5516 GB, free: 11 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.4171, allocations: 115.1 kB / 0.5517 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002538/0.4173, allocations: 106 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4175, allocations: 11.78 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.4176, allocations: 62.36 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.4178, allocations: 57.16 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.4178, allocations: 3.594 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.4179, allocations: 43.2 kB / 0.552 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.418, allocations: 27.81 kB / 0.552 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.4181, allocations: 36.92 kB / 0.552 GB, free: 10.72 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.4184, allocations: 124.2 kB / 0.5522 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4184, allocations: 0 / 0.5522 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.823e-06/0.4184, allocations: 0 / 0.5522 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.484e-06/0.4184, allocations: 5 kB / 0.5522 GB, free: 10.64 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0007581/0.4191, allocations: 341 kB / 0.5525 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.4192, allocations: 10.55 kB / 0.5525 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.4193, allocations: 17.16 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.4196, allocations: 150.9 kB / 0.5527 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.4196, allocations: 5.625 kB / 0.5527 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.4197, allocations: 10.45 kB / 0.5527 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.4199, allocations: 58.39 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4199, allocations: 4 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4199, allocations: 0 / 0.5527 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.4199, allocations: 1.219 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.42, allocations: 18.61 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.4205, allocations: 255.2 kB / 0.553 GB, free: 9.801 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.4207, allocations: 60.42 kB / 0.5531 GB, free: 9.754 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/0.4207, allocations: 23.91 kB / 0.5531 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.4207, allocations: 1.094 kB / 0.5531 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.4209, allocations: 65.73 kB / 0.5531 GB, free: 9.672 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4209, allocations: 3.938 kB / 0.5532 GB, free: 9.668 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006155/0.4215, allocations: 170.1 kB / 0.5533 GB, free: 9.57 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4216, allocations: 56.77 kB / 0.5534 GB, free: 9.504 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.4218, allocations: 212.4 kB / 0.5536 GB, free: 9.355 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.4218, allocations: 30.89 kB / 0.5536 GB, free: 9.32 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.4219, allocations: 102.2 kB / 0.5537 GB, free: 9.223 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.422, allocations: 27.25 kB / 0.5537 GB, free: 9.199 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.422, allocations: 28.52 kB / 0.5538 GB, free: 9.172 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001419/0.4221, allocations: 326.1 kB / 0.5541 GB, free: 8.848 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-05/0.4222, allocations: 22.95 kB / 0.5541 GB, free: 8.836 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.4223, allocations: 43.86 kB / 0.5541 GB, free: 8.801 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.4224, allocations: 50.59 kB / 0.5542 GB, free: 8.77 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4224, allocations: 1.469 kB / 0.5542 GB, free: 8.77 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002081/0.4226, allocations: 107.6 kB / 0.5543 GB, free: 8.699 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4226, allocations: 5.594 kB / 0.5543 GB, free: 8.699 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4226, allocations: 0 / 0.5543 GB, free: 8.699 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.4227, allocations: 5.125 kB / 0.5543 GB, free: 8.695 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.4228, allocations: 16.97 kB / 0.5543 GB, free: 8.691 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4228, allocations: 5.172 kB / 0.5543 GB, free: 8.688 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.4228, allocations: 6.312 kB / 0.5543 GB, free: 8.684 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.4228, allocations: 10.34 kB / 0.5543 GB, free: 8.676 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (10):
 * Single equations (assignments): 10
 * 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.0001446/0.423, allocations: 136.9 kB / 0.5545 GB, free: 8.543 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.423, allocations: 13.62 kB / 0.5545 GB, free: 8.535 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.4233, allocations: 121.3 kB / 0.5546 GB, free: 8.449 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4233, allocations: 1.188 kB / 0.5546 GB, free: 8.449 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4233, allocations: 4 kB / 0.5546 GB, free: 8.445 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4233, allocations: 5.125 kB / 0.5546 GB, free: 8.441 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.4239, allocations: 358.4 kB / 0.5549 GB, free: 8.102 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4239, allocations: 0 / 0.5549 GB, free: 8.102 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.4239, allocations: 7.5 kB / 0.5549 GB, free: 8.102 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4239, allocations: 1.062 kB / 0.5549 GB, free: 8.102 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.4239, allocations: 6.156 kB / 0.5549 GB, free: 8.098 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.4239, allocations: 5.016 kB / 0.555 GB, free: 8.094 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4239, allocations: 5.125 kB / 0.555 GB, free: 8.09 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.4242, allocations: 207.9 kB / 0.5552 GB, free: 7.91 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.4243, allocations: 12.42 kB / 0.5552 GB, free: 7.902 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4243, allocations: 5.281 kB / 0.5552 GB, free: 7.898 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.4244, allocations: 6.25 kB / 0.5552 GB, free: 7.895 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.4244, allocations: 11.45 kB / 0.5552 GB, free: 7.887 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.4244, allocations: 7.344 kB / 0.5552 GB, free: 7.883 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.000181/0.4246, allocations: 155.4 kB / 0.5553 GB, free: 7.777 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4246, allocations: 0 / 0.5553 GB, free: 7.777 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000282/0.4249, allocations: 28.39 kB / 0.5554 GB, free: 7.766 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: 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 (8):
 * Single equations (assignments): 6
 * 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.001766/0.4266, allocations: 471.1 kB / 0.5558 GB, free: 7.539 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002145/0.4269, allocations: 52.31 kB / 0.5559 GB, free: 7.52 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4269, allocations: 0 / 0.5559 GB, free: 7.52 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.553e-05/0.4269, allocations: 23.22 kB / 0.5559 GB, free: 7.512 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.4273, allocations: 33 kB / 0.5559 GB, free: 7.492 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.4279, allocations: 244.7 kB / 0.5562 GB, free: 7.301 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.4283, allocations: 0.7035 MB / 0.5568 GB, free: 6.594 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.89e-05/0.4283, allocations: 18.55 kB / 0.5569 GB, free: 6.582 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.4284, allocations: 15.44 kB / 0.5569 GB, free: 6.574 MB / 398.1 MB
Notification: Performance of SimCode: time 4.21e-07/0.4284, allocations: 0 / 0.5569 GB, free: 6.574 MB / 398.1 MB
Notification: Performance of Templates: time 0.005377/0.4337, allocations: 1.78 MB / 0.5586 GB, free: 5.301 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.516014405526221]