Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.002306/0.002306, allocations: 109 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.001717/0.001717, allocations: 213.9 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.668/1.668, allocations: 230.3 MB / 258 MB, free: 8.195 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.2599/0.2599, allocations: 46.94 MB / 361.4 MB, free: 4.398 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41") [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.002415/0.002415, allocations: 79.86 kB / 0.4972 GB, free: 7.445 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4589, allocations: 66.04 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003928/0.4629, allocations: 1.744 MB / 0.5634 GB, free: 2.754 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002036/0.4649, allocations: 1.049 MB / 0.5644 GB, free: 1.699 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.465, allocations: 0 / 0.5644 GB, free: 1.699 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.4654, allocations: 91.56 kB / 0.5645 GB, free: 1.609 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.4658, allocations: 115.5 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.466, allocations: 87.66 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002249/0.4662, allocations: 115.7 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4664, allocations: 4 kB / 0.5648 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.4665, allocations: 59.72 kB / 0.5649 GB, free: 1.234 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.4666, allocations: 67.73 kB / 0.565 GB, free: 1.168 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.4667, allocations: 4 kB / 0.565 GB, free: 1.164 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.4668, allocations: 43.98 kB / 0.565 GB, free: 1.121 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.4669, allocations: 23.91 kB / 0.565 GB, free: 1.098 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.062e-05/0.4669, allocations: 43.67 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.4672, allocations: 118 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4672, allocations: 4 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.302e-06/0.4672, allocations: 0 / 0.5652 GB, free: 0.9414 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.426e-06/0.4672, allocations: 0 / 0.5652 GB, free: 0.9414 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.0007113/0.4679, allocations: 361.4 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.468, allocations: 12.03 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.468, allocations: 12.84 kB / 0.5656 GB, free: 0.5352 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.4684, allocations: 158.8 kB / 0.5657 GB, free: 364 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.4684, allocations: 12.36 kB / 0.5657 GB, free: 352 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.4684, allocations: 4.375 kB / 0.5657 GB, free: 348 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.4686, allocations: 57.98 kB / 0.5658 GB, free: 284 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4686, allocations: 4 kB / 0.5658 GB, free: 280 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4686, allocations: 0 / 0.5658 GB, free: 280 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4687, allocations: 0 / 0.5658 GB, free: 280 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.995e-05/0.4687, allocations: 23.92 kB / 0.5658 GB, free: 256 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.4692, allocations: 259.9 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.4694, allocations: 62.67 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.4695, allocations: 16.86 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.4695, allocations: 0 / 0.5661 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.4697, allocations: 71.33 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4697, allocations: 0 / 0.5662 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006908/0.4704, allocations: 181.6 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4705, allocations: 51.41 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.4707, allocations: 223.6 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.4707, allocations: 29.7 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.4708, allocations: 108.1 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.4709, allocations: 27.72 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.4709, allocations: 21.72 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001561/0.4711, allocations: 326.8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.4711, allocations: 28.05 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.4712, allocations: 41.64 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.4713, allocations: 65.72 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4713, allocations: 0 / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.4715, allocations: 101.6 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4715, allocations: 10.19 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4715, allocations: 7.969 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4716, allocations: 0 / 0.5674 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4717, allocations: 19.98 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4717, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.4717, allocations: 4 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4717, allocations: 4 kB / 0.5674 GB, free: 14.48 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.0001294/0.4719, allocations: 133.8 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.4719, allocations: 11.91 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.4722, allocations: 119 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4722, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4722, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4722, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.4727, allocations: 374.3 kB / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4727, allocations: 0 / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.4727, allocations: 11.98 kB / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4727, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4727, allocations: 4.031 kB / 0.568 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.4727, allocations: 7.938 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4727, allocations: 0 / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.473, allocations: 204.2 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.473, allocations: 7.953 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.473, allocations: 7.984 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.4731, allocations: 7.922 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.4732, allocations: 15.98 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.4732, allocations: 7.938 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001571/0.4733, allocations: 169.1 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.4733, allocations: 0 / 0.5684 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002738/0.4736, allocations: 31.88 kB / 0.5685 GB, free: 13.29 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.001838/0.4755, allocations: 455.6 kB / 0.5689 GB, free: 13 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002241/0.4757, allocations: 51.92 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4757, allocations: 0 / 0.5689 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.4758, allocations: 35.91 kB / 0.569 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.4762, allocations: 35.28 kB / 0.569 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.4767, allocations: 251.5 kB / 0.5693 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.4771, allocations: 0.7079 MB / 0.5699 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.947e-05/0.4771, allocations: 12.97 kB / 0.57 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.4772, allocations: 19.44 kB / 0.57 GB, free: 11.84 MB / 414.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.4772, allocations: 4 kB / 0.57 GB, free: 11.84 MB / 414.1 MB
Notification: Performance of Templates: time 0.005556/0.4827, allocations: 1.779 MB / 0.5717 GB, free: 10.07 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.832424156367779]