Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002008/0.002008, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002257/0.002257, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2627/0.2627, allocations: 46.93 MB / 361.4 MB, free: 4.402 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 79.86 kB / 0.4972 GB, free: 7.438 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.42, allocations: 66.04 MB / 0.5617 GB, free: 4.492 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003364/0.4234, allocations: 1.745 MB / 0.5634 GB, free: 2.734 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002802/0.4262, allocations: 1.734 MB / 0.5651 GB, free: 0.9922 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.4263, allocations: 3.938 kB / 0.5651 GB, free: 0.9883 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.4266, allocations: 43.7 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.427, allocations: 99.59 kB / 0.5653 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.4272, allocations: 79.67 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001817/0.4273, allocations: 103.7 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.4274, allocations: 4 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.4276, allocations: 63.7 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.4277, allocations: 39.84 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.4277, allocations: 4 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.428, allocations: 115.9 kB / 0.5657 GB, free: 456 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.428, allocations: 23.91 kB / 0.5657 GB, free: 432 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.4281, allocations: 27.81 kB / 0.5657 GB, free: 404 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.4284, allocations: 173.9 kB / 0.5659 GB, free: 236 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4284, allocations: 3.938 kB / 0.5659 GB, free: 232 kB / 398.1 MB
Notification: Performance of FrontEnd: time 2.044e-06/0.4284, allocations: 3.938 kB / 0.5659 GB, free: 228 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.003e-06/0.4284, allocations: 0 / 0.5659 GB, free: 228 kB / 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.0006594/0.4291, allocations: 353.5 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4291, allocations: 8.031 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.4292, allocations: 16.84 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.4295, allocations: 150.5 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4295, allocations: 4.375 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.4295, allocations: 4.125 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.4298, allocations: 75.31 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4298, allocations: 4 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4298, allocations: 4 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4298, allocations: 7.938 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.499e-05/0.4299, allocations: 15.98 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.4303, allocations: 252 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.4305, allocations: 66.61 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.4306, allocations: 16.86 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.4306, allocations: 4 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.4308, allocations: 63.33 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4308, allocations: 0 / 0.5669 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006159/0.4314, allocations: 181.3 kB / 0.567 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/0.4315, allocations: 85.11 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4317, allocations: 158.5 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4317, allocations: 29.7 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.4318, allocations: 96.12 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.4319, allocations: 35.72 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.4319, allocations: 25.72 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001488/0.4321, allocations: 326.8 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.4321, allocations: 19.98 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.4322, allocations: 50.5 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.4323, allocations: 53.72 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4323, allocations: 0 / 0.5679 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.4325, allocations: 101.6 kB / 0.568 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4326, allocations: 6.188 kB / 0.568 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4326, allocations: 4 kB / 0.568 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4326, allocations: 4.062 kB / 0.568 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.4327, allocations: 12 kB / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4327, allocations: 3.984 kB / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.4327, allocations: 7.938 kB / 0.568 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.4327, allocations: 4 kB / 0.568 GB, free: 13.81 MB / 414.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.0001187/0.4329, allocations: 121.8 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.4329, allocations: 11.95 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.4332, allocations: 110.4 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4332, allocations: 4 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4332, allocations: 0 / 0.5683 GB, free: 13.55 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4332, allocations: 3.938 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.4337, allocations: 366.4 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4337, allocations: 7.938 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.4337, allocations: 11.97 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4337, allocations: 4 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4337, allocations: 4.312 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4337, allocations: 32 / 0.5686 GB, free: 13.11 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4337, allocations: 15.94 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.434, allocations: 204.6 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.434, allocations: 4.141 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.4341, allocations: 11.92 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.4341, allocations: 3.938 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.4342, allocations: 15.98 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.4342, allocations: 4 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001235/0.4343, allocations: 127.9 kB / 0.569 GB, free: 12.71 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4343, allocations: 0 / 0.569 GB, free: 12.71 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003156/0.4346, allocations: 47.86 kB / 0.5691 GB, free: 12.66 MB / 414.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.002026/0.4367, allocations: 0.5351 MB / 0.5696 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.000234/0.4369, allocations: 51.98 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4369, allocations: 0 / 0.5696 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.437, allocations: 32.06 kB / 0.5697 GB, free: 12.22 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.4374, allocations: 27.97 kB / 0.5697 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.438, allocations: 210.8 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.4384, allocations: 0.7002 MB / 0.5706 GB, free: 11.23 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.353e-05/0.4385, allocations: 20.97 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.4386, allocations: 23.36 kB / 0.5706 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of SimCode: time 5.51e-07/0.4386, allocations: 0 / 0.5706 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of Templates: time 0.006247/0.4448, allocations: 2.386 MB / 0.5729 GB, free: 8.816 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.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.601584543474019]