Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.001369/0.001369, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001944/0.001944, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.566/1.566, allocations: 230.3 MB / 258 MB, free: 8.191 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.2542/0.2542, allocations: 46.93 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.Test47,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.Test47")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") [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.002447/0.002447, allocations: 79.86 kB / 0.4972 GB, free: 7.426 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4349, allocations: 66.05 MB / 0.5617 GB, free: 4.48 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003179/0.4381, allocations: 1.733 MB / 0.5634 GB, free: 2.734 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001731/0.4399, allocations: 1.057 MB / 0.5645 GB, free: 1.672 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.628e-05/0.4399, allocations: 4 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000291/0.4402, allocations: 51.77 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.4405, allocations: 99.53 kB / 0.5646 GB, free: 1.52 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.4407, allocations: 79.72 kB / 0.5647 GB, free: 1.441 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002011/0.4409, allocations: 107.6 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.441, allocations: 4 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.4411, allocations: 55.77 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.4412, allocations: 23.86 kB / 0.5649 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.4412, allocations: 8 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.4413, allocations: 47.91 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.4414, allocations: 35.84 kB / 0.565 GB, free: 1.164 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.4415, allocations: 39.69 kB / 0.565 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.4417, allocations: 138 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4417, allocations: 0 / 0.5651 GB, free: 0.9961 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.904e-06/0.4417, allocations: 0 / 0.5651 GB, free: 0.9961 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.939e-06/0.4417, allocations: 0 / 0.5651 GB, free: 0.9961 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.0006413/0.4424, allocations: 385.2 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4424, allocations: 11.97 kB / 0.5655 GB, free: 0.5781 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.4424, allocations: 20.84 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.4427, allocations: 151.3 kB / 0.5657 GB, free: 392 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.4427, allocations: 8.375 kB / 0.5657 GB, free: 384 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.4428, allocations: 384 / 0.5657 GB, free: 384 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.4429, allocations: 61.98 kB / 0.5657 GB, free: 316 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.443, allocations: 0 / 0.5657 GB, free: 316 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.443, allocations: 4 kB / 0.5657 GB, free: 312 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.443, allocations: 0 / 0.5657 GB, free: 312 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.4431, allocations: 15.98 kB / 0.5658 GB, free: 296 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.4435, allocations: 287.8 kB / 0.566 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.4437, allocations: 50.69 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.4437, allocations: 20.84 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4437, allocations: 0 / 0.5661 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.4439, allocations: 71.33 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4439, allocations: 0 / 0.5662 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005939/0.4445, allocations: 185.3 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.4446, allocations: 55.41 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.4448, allocations: 270.8 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4449, allocations: 25.7 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.4449, allocations: 116.1 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.445, allocations: 31.78 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.445, allocations: 29.59 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001518/0.4452, allocations: 334.8 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.4452, allocations: 16 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.4453, allocations: 37.7 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.4454, allocations: 69.62 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4454, allocations: 0 / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.4456, allocations: 105.6 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4456, allocations: 11.98 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4456, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4457, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.4457, allocations: 15.94 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4458, allocations: 4 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.4458, allocations: 4 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4458, allocations: 7.984 kB / 0.5674 GB, free: 14.43 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.0001308/0.4459, allocations: 141.8 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.446, allocations: 11.91 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.4462, allocations: 115 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4462, allocations: 4 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4462, allocations: 384 / 0.5677 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4462, allocations: 3.984 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.4467, allocations: 386.3 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4467, allocations: 0 / 0.5681 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.4468, allocations: 8 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4468, allocations: 4 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4468, allocations: 4 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4468, allocations: 3.938 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4468, allocations: 0 / 0.5681 GB, free: 13.69 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.447, allocations: 212.2 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.4471, allocations: 15.91 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.4471, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.4472, allocations: 7.938 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.4472, allocations: 11.97 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4472, allocations: 4 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000194/0.4474, allocations: 208.5 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4474, allocations: 0 / 0.5685 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002611/0.4477, allocations: 27.94 kB / 0.5685 GB, free: 13.19 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.001696/0.4494, allocations: 451.1 kB / 0.569 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001986/0.4496, allocations: 55.91 kB / 0.569 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4496, allocations: 4.062 kB / 0.569 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.4497, allocations: 31.92 kB / 0.5691 GB, free: 12.82 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.45, allocations: 38.09 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.4506, allocations: 291.6 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4509, allocations: 0.7158 MB / 0.5701 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.839e-05/0.451, allocations: 17.03 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.451, allocations: 15.44 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of SimCode: time 4.11e-07/0.451, allocations: 0 / 0.5701 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of Templates: time 0.005248/0.4563, allocations: 1.809 MB / 0.5719 GB, free: 9.902 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.660185496322811]