Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.00224/0.00224, 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.003167/0.003167, allocations: 212 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.689/1.689, allocations: 230.3 MB / 258 MB, free: 8.199 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.2453/0.2453, allocations: 46.94 MB / 361.4 MB, free: 4.371 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43") [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.002346/0.002346, allocations: 75.88 kB / 0.4972 GB, free: 7.422 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4238, allocations: 66.05 MB / 0.5617 GB, free: 4.477 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.00406/0.4278, allocations: 1.759 MB / 0.5634 GB, free: 2.707 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002059/0.4299, allocations: 1.045 MB / 0.5645 GB, free: 1.656 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.43, allocations: 4 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.4303, allocations: 43.77 kB / 0.5645 GB, free: 1.609 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000468/0.4308, allocations: 99.53 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.431, allocations: 79.67 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002282/0.4313, allocations: 107.7 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.4314, allocations: 4 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.4315, allocations: 47.78 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.4316, allocations: 35.78 kB / 0.5649 GB, free: 1.242 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.4316, allocations: 4 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.4317, allocations: 43.92 kB / 0.5649 GB, free: 1.195 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.4318, allocations: 27.91 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.52e-05/0.4319, allocations: 35.75 kB / 0.565 GB, free: 1.133 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.4322, allocations: 130 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4322, allocations: 0 / 0.5651 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.234e-06/0.4322, allocations: 0 / 0.5651 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.987e-06/0.4322, allocations: 4 kB / 0.5651 GB, free: 1.008 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.0007233/0.4329, allocations: 345.5 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.433, allocations: 12.03 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.433, allocations: 8.891 kB / 0.5654 GB, free: 0.6211 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.4333, allocations: 166.2 kB / 0.5656 GB, free: 444 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.4334, allocations: 4.375 kB / 0.5656 GB, free: 440 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.4334, allocations: 4.312 kB / 0.5656 GB, free: 436 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.4336, allocations: 57.98 kB / 0.5657 GB, free: 372 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4336, allocations: 0 / 0.5657 GB, free: 372 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.4336, allocations: 4 kB / 0.5657 GB, free: 368 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4336, allocations: 0 / 0.5657 GB, free: 368 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.4337, allocations: 15.98 kB / 0.5657 GB, free: 352 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.4341, allocations: 271.9 kB / 0.5659 GB, free: 36 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.4343, allocations: 54.67 kB / 0.566 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.4344, allocations: 16.84 kB / 0.566 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4344, allocations: 4 kB / 0.566 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.4346, allocations: 71.33 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.4346, allocations: 0 / 0.5661 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005879/0.4352, allocations: 181.3 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.4352, allocations: 55.34 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.4355, allocations: 210.7 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.4355, allocations: 29.7 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.4356, allocations: 108.1 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.4356, allocations: 27.83 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.4357, allocations: 29.66 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001904/0.4359, allocations: 330.8 kB / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.4359, allocations: 15.98 kB / 0.567 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/0.436, allocations: 37.7 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4361, allocations: 58.03 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4361, allocations: 4 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.4363, allocations: 101.6 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4364, allocations: 4 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4364, allocations: 4 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4364, allocations: 4 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4365, allocations: 23.92 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4365, allocations: 160 / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.4366, allocations: 4 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.4366, allocations: 0 / 0.5673 GB, free: 14.59 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.0001539/0.4367, allocations: 137.8 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.4367, allocations: 11.91 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.437, allocations: 126.9 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.437, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.437, allocations: 3.938 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.437, allocations: 3.984 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.4376, allocations: 366.4 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4376, allocations: 8.031 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.4376, allocations: 4 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4376, allocations: 7.984 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.4376, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.4376, allocations: 3.938 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4376, allocations: 4 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4379, allocations: 208.2 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.4379, allocations: 11.95 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.438, allocations: 0 / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.438, allocations: 11.92 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.4381, allocations: 4 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.4381, allocations: 7.984 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001496/0.4382, allocations: 156.3 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4382, allocations: 0 / 0.5683 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003123/0.4386, allocations: 20 kB / 0.5683 GB, free: 13.42 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.0019/0.4405, allocations: 456.2 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002086/0.4407, allocations: 59.91 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4407, allocations: 0 / 0.5688 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.4407, allocations: 32.19 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.4411, allocations: 43.42 kB / 0.5689 GB, free: 13 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.4417, allocations: 234.7 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.4421, allocations: 0.708 MB / 0.5698 GB, free: 12.01 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.701e-05/0.4421, allocations: 21.03 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.4421, allocations: 15.44 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.4421, allocations: 0 / 0.5698 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of Templates: time 0.005462/0.4476, allocations: 1.776 MB / 0.5716 GB, free: 10.21 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.653550793416798]