Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001391/0.001391, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.00151/0.00151, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.476/1.476, allocations: 230.3 MB / 258 MB, free: 8.242 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.2219/0.2219, allocations: 46.89 MB / 361.3 MB, free: 4.441 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.Test78,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.Test78")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 79.88 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3377, allocations: 66.03 MB / 0.5616 GB, free: 4.578 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00356/0.3412, allocations: 1.926 MB / 0.5635 GB, free: 2.641 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001972/0.3432, allocations: 1.162 MB / 0.5646 GB, free: 1.473 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.315e-05/0.3433, allocations: 7.938 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004931/0.3438, allocations: 247.3 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000473/0.3443, allocations: 243.1 kB / 0.5651 GB, free: 0.9844 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.3445, allocations: 115.6 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003435/0.3449, allocations: 271.3 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3451, allocations: 24.77 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.3452, allocations: 143.4 kB / 0.5656 GB, free: 452 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.3455, allocations: 207.5 kB / 0.5658 GB, free: 244 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3456, allocations: 8 kB / 0.5658 GB, free: 236 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3457, allocations: 63.97 kB / 0.5659 GB, free: 172 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3458, allocations: 75.62 kB / 0.566 GB, free: 96 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000115/0.3459, allocations: 95.23 kB / 0.5661 GB, free: 0 / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000349/0.3463, allocations: 250.6 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3463, allocations: 0 / 0.5663 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.482e-06/0.3463, allocations: 4 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 5.891e-06/0.3463, allocations: 0 / 0.5663 GB, free: 15.75 MB / 414.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.0007559/0.347, allocations: 0.5273 MB / 0.5668 GB, free: 15.19 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3471, allocations: 12.03 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.3471, allocations: 28.75 kB / 0.5669 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.3475, allocations: 236.9 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3475, allocations: 8.375 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.3475, allocations: 4.375 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3478, allocations: 115.6 kB / 0.5672 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3478, allocations: 7.984 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3478, allocations: 8 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3478, allocations: 7.938 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.348, allocations: 39.97 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.3486, allocations: 463.8 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.349, allocations: 121.2 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.3491, allocations: 37.83 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3491, allocations: 4 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.3494, allocations: 128.8 kB / 0.568 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.3494, allocations: 0 / 0.568 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of matching and sorting (n=22): time 0.001331/0.3507, allocations: 0.5014 MB / 0.5685 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.3508, allocations: 81.11 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/0.3513, allocations: 0.4937 MB / 0.569 GB, free: 12.76 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3513, allocations: 33.7 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3515, allocations: 164.5 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.3515, allocations: 79.41 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.633e-05/0.3516, allocations: 41.7 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001684/0.3518, allocations: 346.8 kB / 0.5697 GB, free: 12.08 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3519, allocations: 59.97 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3521, allocations: 92.72 kB / 0.5698 GB, free: 11.92 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3524, allocations: 159.5 kB / 0.57 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3524, allocations: 0 / 0.57 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004837/0.3529, allocations: 241.2 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3529, allocations: 10.56 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3529, allocations: 4 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3529, allocations: 3.938 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.353, allocations: 43.92 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.353, allocations: 3.984 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.889e-05/0.3531, allocations: 8 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3531, allocations: 12 kB / 0.5703 GB, free: 11.43 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.0001934/0.3533, allocations: 174.7 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.3534, allocations: 39.77 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.3539, allocations: 280.5 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.354, allocations: 4 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.354, allocations: 0 / 0.5708 GB, free: 10.92 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.354, allocations: 0 / 0.5708 GB, free: 10.92 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009466/0.3549, allocations: 0.7106 MB / 0.5715 GB, free: 10.15 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3549, allocations: 4 kB / 0.5715 GB, free: 10.14 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.355, allocations: 31.92 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.355, allocations: 4 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.355, allocations: 4 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.355, allocations: 4 kB / 0.5715 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.355, allocations: 0 / 0.5715 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.3555, allocations: 433.5 kB / 0.5719 GB, free: 9.652 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.3556, allocations: 35.81 kB / 0.5719 GB, free: 9.617 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.3556, allocations: 11.98 kB / 0.572 GB, free: 9.605 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3558, allocations: 4 kB / 0.572 GB, free: 9.602 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.3558, allocations: 27.91 kB / 0.572 GB, free: 9.574 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.3558, allocations: 15.92 kB / 0.572 GB, free: 9.559 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003783/0.3562, allocations: 371.1 kB / 0.5724 GB, free: 9.199 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3562, allocations: 3.938 kB / 0.5724 GB, free: 9.195 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003462/0.3566, allocations: 55.92 kB / 0.5724 GB, free: 9.141 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.001876/0.3584, allocations: 0.4998 MB / 0.5729 GB, free: 8.82 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003564/0.3588, allocations: 151.8 kB / 0.573 GB, free: 8.672 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3588, allocations: 3.938 kB / 0.5731 GB, free: 8.668 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000156/0.359, allocations: 75.83 kB / 0.5731 GB, free: 8.594 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.3595, allocations: 61.44 kB / 0.5732 GB, free: 8.535 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3606, allocations: 0.6059 MB / 0.5738 GB, free: 7.887 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.3612, allocations: 0.7831 MB / 0.5745 GB, free: 7.078 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 9.97e-05/0.3613, allocations: 33.94 kB / 0.5746 GB, free: 7.047 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.3613, allocations: 35.42 kB / 0.5746 GB, free: 7.012 MB / 414.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3613, allocations: 0 / 0.5746 GB, free: 7.012 MB / 414.1 MB
Notification: Performance of Templates: time 0.007676/0.369, allocations: 3.307 MB / 0.5778 GB, free: 3.73 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.142993558198214]