Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001368/0.001368, allocations: 106.5 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.001373/0.001373, allocations: 209.3 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.427/1.427, 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.2312/0.2312, allocations: 46.89 MB / 361.3 MB, free: 4.438 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 75.88 kB / 0.4971 GB, free: 7.512 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3428, allocations: 66.03 MB / 0.5616 GB, free: 4.578 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003392/0.3462, allocations: 1.794 MB / 0.5634 GB, free: 2.773 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001808/0.348, allocations: 1.053 MB / 0.5644 GB, free: 1.715 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.348, allocations: 8 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.3485, allocations: 103.7 kB / 0.5645 GB, free: 1.605 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.3488, allocations: 131.5 kB / 0.5646 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.3491, allocations: 83.66 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002383/0.3493, allocations: 135.7 kB / 0.5648 GB, free: 1.262 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3494, allocations: 24.38 kB / 0.5648 GB, free: 1.234 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3496, allocations: 59.77 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3497, allocations: 83.67 kB / 0.565 GB, free: 1.094 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3497, allocations: 4 kB / 0.565 GB, free: 1.09 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.3499, allocations: 67.95 kB / 0.5651 GB, free: 1.023 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.3499, allocations: 35.86 kB / 0.5651 GB, free: 0.9883 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.35, allocations: 47.67 kB / 0.5651 GB, free: 0.9414 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.3503, allocations: 162.9 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3503, allocations: 4 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.613e-06/0.3503, allocations: 0 / 0.5653 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.133e-06/0.3503, allocations: 4 kB / 0.5653 GB, free: 0.7773 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: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.0006714/0.351, allocations: 393.2 kB / 0.5657 GB, free: 372 kB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.351, allocations: 12.03 kB / 0.5657 GB, free: 360 kB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.3511, allocations: 16.78 kB / 0.5657 GB, free: 344 kB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.3514, allocations: 167.3 kB / 0.5659 GB, free: 148 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3514, allocations: 384 / 0.5659 GB, free: 148 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3515, allocations: 8.375 kB / 0.5659 GB, free: 140 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.3517, allocations: 77.91 kB / 0.5659 GB, free: 56 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3517, allocations: 7.953 kB / 0.5659 GB, free: 48 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3517, allocations: 4 kB / 0.566 GB, free: 44 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3517, allocations: 0 / 0.566 GB, free: 44 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.3518, allocations: 35.97 kB / 0.566 GB, free: 8 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.3523, allocations: 303.7 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.3526, allocations: 74.48 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.3527, allocations: 28.84 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3527, allocations: 4 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.3529, allocations: 75.38 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.3529, allocations: 0 / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of matching and sorting (n=14): time 0.0009038/0.3538, allocations: 297.1 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.3539, allocations: 55.41 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.3542, allocations: 263.7 kB / 0.567 GB, free: 14.83 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3542, allocations: 34.55 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.3543, allocations: 116.1 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.3544, allocations: 47.62 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3545, allocations: 29.72 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001742/0.3547, allocations: 330.8 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.3547, allocations: 39.92 kB / 0.5676 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3548, allocations: 61.64 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.355, allocations: 97.7 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.355, allocations: 0 / 0.5678 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002763/0.3553, allocations: 165.5 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3553, allocations: 4 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3553, allocations: 0 / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3554, allocations: 4 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3555, allocations: 32.02 kB / 0.568 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3555, allocations: 3.938 kB / 0.568 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.3555, allocations: 7.984 kB / 0.568 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3555, allocations: 7.938 kB / 0.568 GB, free: 13.83 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 (16):
 * Single equations (assignments): 16
 * 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.0001425/0.3557, allocations: 142.4 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.3557, allocations: 19.86 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/0.3561, allocations: 182 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3561, allocations: 3.984 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3561, allocations: 15.88 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3561, allocations: 0 / 0.5683 GB, free: 13.46 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.3568, allocations: 483.3 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3568, allocations: 0 / 0.5688 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.3569, allocations: 19.98 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3569, allocations: 3.938 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3569, allocations: 11.98 kB / 0.5688 GB, free: 12.9 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3569, allocations: 4.062 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3569, allocations: 4 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3572, allocations: 253.1 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.3573, allocations: 15.91 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3573, allocations: 0 / 0.5691 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.3574, allocations: 15.98 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.3574, allocations: 7.984 kB / 0.5691 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3574, allocations: 7.938 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001896/0.3576, allocations: 193.5 kB / 0.5693 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.11e-07/0.3576, allocations: 0 / 0.5693 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002846/0.3579, allocations: 39.88 kB / 0.5693 GB, free: 12.35 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 (14):
 * Single equations (assignments): 12
 * 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.001933/0.3598, allocations: 0.5018 MB / 0.5698 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002559/0.3601, allocations: 103.9 kB / 0.5699 GB, free: 11.92 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3601, allocations: 0 / 0.5699 GB, free: 11.92 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3602, allocations: 47.92 kB / 0.57 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3606, allocations: 39.69 kB / 0.57 GB, free: 11.84 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000761/0.3614, allocations: 324.4 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.3619, allocations: 0.732 MB / 0.571 GB, free: 10.73 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 7.614e-05/0.3619, allocations: 25.41 kB / 0.5711 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.362, allocations: 23.42 kB / 0.5711 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.362, allocations: 0 / 0.5711 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of Templates: time 0.006297/0.3683, allocations: 2.272 MB / 0.5733 GB, free: 8.43 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.089228664524853]