Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001208/0.001208, allocations: 105.1 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.001357/0.001357, allocations: 213.9 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.262 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.2349/0.2349, allocations: 46.89 MB / 361.3 MB, free: 4.48 MB / 286.1 MB
"
[Timeout remaining time 179]
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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 79.88 kB / 0.4971 GB, free: 7.547 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3392, allocations: 66.03 MB / 0.5616 GB, free: 4.602 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003734/0.3429, allocations: 1.936 MB / 0.5635 GB, free: 2.652 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002273/0.3452, allocations: 1.153 MB / 0.5646 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.3453, allocations: 3.938 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.3458, allocations: 171.4 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.3463, allocations: 179.2 kB / 0.565 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.3466, allocations: 123.6 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003719/0.347, allocations: 243.3 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.3471, allocations: 28.75 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3473, allocations: 119.5 kB / 0.5655 GB, free: 0.6445 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3475, allocations: 139.5 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.3476, allocations: 8 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3477, allocations: 67.92 kB / 0.5657 GB, free: 444 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3478, allocations: 59.75 kB / 0.5657 GB, free: 384 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3479, allocations: 79.36 kB / 0.5658 GB, free: 304 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000336/0.3483, allocations: 226.7 kB / 0.566 GB, free: 80 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3483, allocations: 0 / 0.566 GB, free: 80 kB / 398.1 MB
Notification: Performance of FrontEnd: time 2.215e-06/0.3483, allocations: 0 / 0.566 GB, free: 80 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.106e-05/0.3483, allocations: 4 kB / 0.566 GB, free: 76 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0008109/0.3491, allocations: 480.5 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3491, allocations: 12.03 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.3492, allocations: 28.75 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.3496, allocations: 218.5 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3496, allocations: 8.375 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.3497, allocations: 12.36 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3499, allocations: 107.7 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3499, allocations: 3.984 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.35, allocations: 4 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.35, allocations: 0 / 0.5669 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.3501, allocations: 47.91 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.3507, allocations: 443.9 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.3511, allocations: 117.1 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3512, allocations: 45.81 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.3513, allocations: 4 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.3515, allocations: 129 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.3515, allocations: 0 / 0.5676 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of matching and sorting (n=22): time 0.00139/0.3529, allocations: 493 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.353, allocations: 81.11 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.3534, allocations: 376.5 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.3534, allocations: 29.7 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3536, allocations: 144.5 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.25e-05/0.3537, allocations: 83.3 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/0.3537, allocations: 41.72 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001738/0.3539, allocations: 346.8 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.354, allocations: 59.91 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.3542, allocations: 88.5 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.3545, allocations: 163.5 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3545, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004313/0.3549, allocations: 237.3 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3549, allocations: 4 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3549, allocations: 4 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.355, allocations: 3.938 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.3551, allocations: 43.92 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.3551, allocations: 3.984 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.3552, allocations: 12.06 kB / 0.5697 GB, free: 12.03 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.3552, allocations: 8 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (26):
 * Single equations (assignments): 26
 * 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.0001751/0.3554, allocations: 166.7 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.3554, allocations: 31.81 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.356, allocations: 264.2 kB / 0.5702 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.356, allocations: 0 / 0.5702 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.356, allocations: 0 / 0.5702 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.356, allocations: 4 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009702/0.357, allocations: 0.695 MB / 0.5708 GB, free: 10.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.357, allocations: 4 kB / 0.5709 GB, free: 10.79 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.357, allocations: 23.98 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.357, allocations: 4 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.3571, allocations: 12.12 kB / 0.5709 GB, free: 10.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3571, allocations: 4 kB / 0.5709 GB, free: 10.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3571, allocations: 3.938 kB / 0.5709 GB, free: 10.75 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.3576, allocations: 425.4 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.3576, allocations: 23.86 kB / 0.5713 GB, free: 10.28 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.3577, allocations: 11.98 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3578, allocations: 8.188 kB / 0.5713 GB, free: 10.26 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.3579, allocations: 23.84 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.3579, allocations: 15.94 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002989/0.3582, allocations: 279 kB / 0.5717 GB, free: 9.949 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3582, allocations: 4 kB / 0.5717 GB, free: 9.945 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003615/0.3586, allocations: 47.94 kB / 0.5717 GB, free: 9.898 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.001945/0.3605, allocations: 0.5115 MB / 0.5722 GB, free: 9.562 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003933/0.3609, allocations: 143.8 kB / 0.5723 GB, free: 9.422 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3609, allocations: 0 / 0.5723 GB, free: 9.422 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3611, allocations: 80.14 kB / 0.5724 GB, free: 9.344 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.3616, allocations: 63.62 kB / 0.5725 GB, free: 9.289 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.3626, allocations: 0.5001 MB / 0.573 GB, free: 8.742 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.363, allocations: 0.7675 MB / 0.5737 GB, free: 7.945 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001063/0.3631, allocations: 37.94 kB / 0.5737 GB, free: 7.91 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.3632, allocations: 35.42 kB / 0.5738 GB, free: 7.875 MB / 414.1 MB
Notification: Performance of SimCode: time 4.91e-07/0.3632, allocations: 0 / 0.5738 GB, free: 7.875 MB / 414.1 MB
Notification: Performance of Templates: time 0.008106/0.3713, allocations: 3.238 MB / 0.5769 GB, free: 4.656 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.192106260918081]