Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001938/0.001938, 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.002553/0.002553, allocations: 213.7 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.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.266 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.2314/0.2314, 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 75.88 kB / 0.4971 GB, free: 7.523 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3565, allocations: 66.03 MB / 0.5616 GB, free: 4.574 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003486/0.36, allocations: 1.767 MB / 0.5633 GB, free: 2.797 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001894/0.3619, allocations: 1.053 MB / 0.5644 GB, free: 1.738 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.362, allocations: 4 kB / 0.5644 GB, free: 1.734 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.3624, allocations: 103.7 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.3627, allocations: 131.5 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.3629, allocations: 79.72 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002274/0.3632, allocations: 139.6 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3633, allocations: 7.984 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3634, allocations: 71.75 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3636, allocations: 79.67 kB / 0.565 GB, free: 1.133 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3636, allocations: 7.938 kB / 0.565 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3637, allocations: 59.97 kB / 0.565 GB, free: 1.066 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.3638, allocations: 27.92 kB / 0.565 GB, free: 1.039 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.3638, allocations: 47.61 kB / 0.5651 GB, free: 0.9922 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.3641, allocations: 153.9 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3641, allocations: 0 / 0.5652 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.273e-06/0.3641, allocations: 0 / 0.5652 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.261e-06/0.3641, allocations: 0 / 0.5652 GB, free: 0.8477 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: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0006211/0.3647, allocations: 401.2 kB / 0.5656 GB, free: 436 kB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3648, allocations: 12.03 kB / 0.5656 GB, free: 424 kB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.3648, allocations: 16.84 kB / 0.5656 GB, free: 408 kB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.3651, allocations: 167.2 kB / 0.5658 GB, free: 212 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3651, allocations: 384 / 0.5658 GB, free: 212 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.3651, allocations: 4.375 kB / 0.5658 GB, free: 208 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3653, allocations: 73.91 kB / 0.5659 GB, free: 128 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3653, allocations: 0 / 0.5659 GB, free: 128 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3653, allocations: 8 kB / 0.5659 GB, free: 120 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3653, allocations: 0 / 0.5659 GB, free: 120 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.3654, allocations: 31.97 kB / 0.5659 GB, free: 88 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.3659, allocations: 299.8 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.3662, allocations: 70.58 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.3662, allocations: 20.84 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3662, allocations: 8 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.3664, allocations: 71.39 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3664, allocations: 0 / 0.5664 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0008056/0.3672, allocations: 281.7 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3673, allocations: 55.34 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.3675, allocations: 259.8 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.3676, allocations: 33.7 kB / 0.567 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.3677, allocations: 112.1 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.3677, allocations: 35.7 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.3677, allocations: 29.7 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000169/0.3679, allocations: 334.8 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.368, allocations: 31.98 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.3681, allocations: 53.69 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3683, allocations: 89.64 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3683, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002617/0.3685, allocations: 145.5 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3685, allocations: 8 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.3685, allocations: 0 / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3686, allocations: 0 / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.3686, allocations: 27.92 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3687, allocations: 4.031 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.3687, allocations: 15.89 kB / 0.5678 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3687, allocations: 4 kB / 0.5678 GB, free: 13.99 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 (14):
 * Single equations (assignments): 14
 * 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.0001379/0.3688, allocations: 131.1 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3689, allocations: 15.91 kB / 0.568 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.3693, allocations: 166.9 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3693, allocations: 7.984 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3693, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3693, allocations: 11.92 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.3699, allocations: 447.1 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3699, allocations: 0 / 0.5686 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.3699, allocations: 15.98 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3699, allocations: 7.938 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.37, allocations: 0 / 0.5686 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.37, allocations: 8 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.37, allocations: 0 / 0.5686 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.3703, allocations: 253.3 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.3703, allocations: 19.84 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.3703, allocations: 4 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.3704, allocations: 7.984 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.3705, allocations: 15.98 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3705, allocations: 4 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001729/0.3707, allocations: 193.5 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3707, allocations: 0 / 0.5691 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002691/0.3709, allocations: 31.92 kB / 0.5691 GB, free: 12.59 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 (12):
 * Single equations (assignments): 10
 * 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.001837/0.3728, allocations: 498.2 kB / 0.5696 GB, free: 12.28 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002353/0.373, allocations: 91.78 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.373, allocations: 4.062 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.559e-05/0.3731, allocations: 43.91 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3735, allocations: 42.39 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.3741, allocations: 308.6 kB / 0.57 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.3745, allocations: 0.7202 MB / 0.5707 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.911e-05/0.3745, allocations: 29.06 kB / 0.5708 GB, free: 11 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.3746, allocations: 23.42 kB / 0.5708 GB, free: 10.97 MB / 414.1 MB
Notification: Performance of SimCode: time 3e-07/0.3746, allocations: 0 / 0.5708 GB, free: 10.97 MB / 414.1 MB
Notification: Performance of Templates: time 0.005623/0.3802, allocations: 2.173 MB / 0.5729 GB, free: 8.82 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.139527861960232]