Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001406/0.001406, 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.001566/0.001566, 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.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 75.88 kB / 0.4971 GB, free: 7.516 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.344, allocations: 66.02 MB / 0.5616 GB, free: 4.594 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003596/0.3476, allocations: 1.775 MB / 0.5633 GB, free: 2.809 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002058/0.3496, allocations: 1.053 MB / 0.5644 GB, free: 1.75 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.3e-05/0.3497, allocations: 4 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000393/0.3501, allocations: 107.7 kB / 0.5645 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.3505, allocations: 127.5 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3507, allocations: 79.73 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002041/0.3509, allocations: 123.6 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.351, allocations: 23.95 kB / 0.5648 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.3511, allocations: 55.77 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3513, allocations: 75.73 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3513, allocations: 4 kB / 0.5649 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3514, allocations: 63.92 kB / 0.565 GB, free: 1.098 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.3515, allocations: 27.84 kB / 0.565 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.3515, allocations: 43.67 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3518, allocations: 142 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3518, allocations: 0 / 0.5652 GB, free: 0.8945 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.3518, allocations: 3.938 kB / 0.5652 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.144e-06/0.3518, allocations: 0 / 0.5652 GB, free: 0.8906 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0006107/0.3524, allocations: 397.2 kB / 0.5656 GB, free: 484 kB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3525, allocations: 12.03 kB / 0.5656 GB, free: 472 kB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.3525, allocations: 12.84 kB / 0.5656 GB, free: 460 kB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.3528, allocations: 166.4 kB / 0.5658 GB, free: 268 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3528, allocations: 384 / 0.5658 GB, free: 268 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.3528, allocations: 8.328 kB / 0.5658 GB, free: 260 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3531, allocations: 65.97 kB / 0.5658 GB, free: 188 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3531, allocations: 4 kB / 0.5658 GB, free: 184 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3531, allocations: 4 kB / 0.5658 GB, free: 180 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3531, allocations: 0 / 0.5658 GB, free: 180 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.143e-05/0.3532, allocations: 27.92 kB / 0.5659 GB, free: 152 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.3537, allocations: 267.9 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.354, allocations: 58.55 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.354, allocations: 20.98 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3541, allocations: 7.984 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.3542, allocations: 71.33 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3542, allocations: 0 / 0.5663 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0008861/0.3551, allocations: 249.2 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3552, allocations: 63.39 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.3555, allocations: 242.8 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3555, allocations: 29.7 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.3556, allocations: 112.1 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.3556, allocations: 35.69 kB / 0.567 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.3557, allocations: 29.7 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001556/0.3558, allocations: 326.8 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.3559, allocations: 31.98 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/0.356, allocations: 49.7 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3562, allocations: 77.64 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3562, allocations: 4 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002372/0.3564, allocations: 129.5 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3564, allocations: 4 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3564, allocations: 0 / 0.5676 GB, free: 14.23 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3564, allocations: 4 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.3565, allocations: 24.03 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3565, allocations: 3.984 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.3566, allocations: 7.938 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3566, allocations: 8.641 kB / 0.5676 GB, free: 14.18 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 (13):
 * Single equations (assignments): 13
 * 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.0001469/0.3567, allocations: 139 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3568, allocations: 15.91 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.3571, allocations: 159.2 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3571, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3571, allocations: 4 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3571, allocations: 3.938 kB / 0.568 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005804/0.3577, allocations: 427.1 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3577, allocations: 4 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.3577, allocations: 12 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3577, allocations: 3.938 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3577, allocations: 4 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3578, allocations: 4 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3578, allocations: 4 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.3581, allocations: 237.1 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.3581, allocations: 15.84 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.3581, allocations: 4 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.3582, allocations: 7.984 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.3582, allocations: 15.98 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.3582, allocations: 8 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000176/0.3584, allocations: 192.2 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 0.5688 GB, free: 12.85 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002801/0.3587, allocations: 31.94 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (11):
 * Single equations (assignments): 9
 * 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.001968/0.3607, allocations: 0.4933 MB / 0.5694 GB, free: 12.51 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002378/0.3609, allocations: 75.84 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3609, allocations: 4 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.361, allocations: 39.91 kB / 0.5695 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3614, allocations: 35.27 kB / 0.5695 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.362, allocations: 304.5 kB / 0.5698 GB, free: 12.03 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3623, allocations: 0.7198 MB / 0.5705 GB, free: 11.28 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.156e-05/0.3624, allocations: 20.62 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.3624, allocations: 15.44 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB
Notification: Performance of SimCode: time 3e-07/0.3624, allocations: 0 / 0.5705 GB, free: 11.25 MB / 414.1 MB
Notification: Performance of Templates: time 0.005609/0.368, allocations: 2.072 MB / 0.5726 GB, free: 9.195 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.07996541634202]