Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001461/0.001461, 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.001549/0.001549, allocations: 211.8 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.465/1.465, allocations: 230.3 MB / 258 MB, free: 8.219 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.2272/0.2272, allocations: 46.88 MB / 361.3 MB, free: 4.418 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 75.88 kB / 0.4971 GB, free: 7.496 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.366, allocations: 66.03 MB / 0.5616 GB, free: 4.57 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003434/0.3694, allocations: 1.747 MB / 0.5633 GB, free: 2.812 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002793/0.3722, allocations: 1.734 MB / 0.565 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.3723, allocations: 3.938 kB / 0.565 GB, free: 1.066 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.3726, allocations: 39.78 kB / 0.565 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.373, allocations: 99.55 kB / 0.5651 GB, free: 0.9297 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.3732, allocations: 79.72 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001982/0.3734, allocations: 111.6 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3735, allocations: 4 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3736, allocations: 51.78 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.3738, allocations: 46.83 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3738, allocations: 4 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.374, allocations: 115.9 kB / 0.5655 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.374, allocations: 19.88 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.3741, allocations: 39.72 kB / 0.5656 GB, free: 480 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.3744, allocations: 177.8 kB / 0.5658 GB, free: 308 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3744, allocations: 0 / 0.5658 GB, free: 308 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.303e-06/0.3744, allocations: 0 / 0.5658 GB, free: 308 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.171e-06/0.3744, allocations: 0 / 0.5658 GB, free: 308 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0005986/0.375, allocations: 345.5 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3751, allocations: 12.03 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.3751, allocations: 20.84 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3754, allocations: 154.5 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3754, allocations: 8.312 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.3755, allocations: 8.062 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3756, allocations: 71.38 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3757, allocations: 0 / 0.5663 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3757, allocations: 0 / 0.5663 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3757, allocations: 4 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.3757, allocations: 15.98 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.3761, allocations: 264 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3763, allocations: 54.62 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.3764, allocations: 20.84 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3764, allocations: 3.984 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.3766, allocations: 71.39 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3766, allocations: 0 / 0.5668 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005777/0.3771, allocations: 177.3 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.3772, allocations: 77.11 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.3774, allocations: 158.5 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3774, allocations: 33.7 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.3775, allocations: 96.12 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.3775, allocations: 27.75 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.3776, allocations: 29.64 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001388/0.3777, allocations: 330.8 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.3778, allocations: 16 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.3778, allocations: 38.56 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.378, allocations: 61.7 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.378, allocations: 32 / 0.5678 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.3782, allocations: 105.5 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3782, allocations: 8.188 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3782, allocations: 0 / 0.5679 GB, free: 13.92 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3782, allocations: 3.938 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.3783, allocations: 16 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3783, allocations: 7.938 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.3784, allocations: 8.297 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3784, allocations: 4 kB / 0.5679 GB, free: 13.88 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 (10):
 * Single equations (assignments): 10
 * 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.0001191/0.3785, allocations: 127.2 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.3785, allocations: 7.953 kB / 0.568 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.3788, allocations: 110.4 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3788, allocations: 3.938 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3788, allocations: 0 / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3788, allocations: 3.938 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.3793, allocations: 370.6 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3793, allocations: 4.031 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.3793, allocations: 11.94 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3793, allocations: 0 / 0.5685 GB, free: 13.19 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3793, allocations: 11.92 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3793, allocations: 4 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3793, allocations: 80 / 0.5685 GB, free: 13.17 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.3796, allocations: 196.3 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.3796, allocations: 15.95 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3796, allocations: 3.938 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.3797, allocations: 7.984 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.3798, allocations: 7.938 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3798, allocations: 7.984 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000113/0.3799, allocations: 127.9 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3799, allocations: 4 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002941/0.3802, allocations: 39.88 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (8):
 * Single equations (assignments): 6
 * 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.001991/0.3822, allocations: 0.546 MB / 0.5695 GB, free: 12.38 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002155/0.3824, allocations: 59.91 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3824, allocations: 3.938 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.3825, allocations: 23.98 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3828, allocations: 28.11 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.3833, allocations: 210.6 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.3836, allocations: 0.7002 MB / 0.5705 GB, free: 11.31 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.8e-05/0.3837, allocations: 20.95 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.3837, allocations: 19.44 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.3837, allocations: 0 / 0.5705 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of Templates: time 0.006243/0.39, allocations: 2.385 MB / 0.5728 GB, free: 8.898 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.221437646076083]