Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001601/0.001601, 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.001963/0.001963, allocations: 211.9 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.466/1.466, 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.2279/0.2279, allocations: 46.89 MB / 361.3 MB, free: 4.43 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 79.86 kB / 0.4971 GB, free: 7.52 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3661, allocations: 66.03 MB / 0.5616 GB, free: 4.57 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003166/0.3692, allocations: 1.745 MB / 0.5633 GB, free: 2.812 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002684/0.3719, allocations: 1.742 MB / 0.565 GB, free: 1.062 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.372, allocations: 0 / 0.565 GB, free: 1.062 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.3723, allocations: 39.78 kB / 0.565 GB, free: 1.023 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.3726, allocations: 103.5 kB / 0.5651 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.3728, allocations: 79.66 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000179/0.373, allocations: 103.7 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3731, allocations: 8 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3732, allocations: 55.7 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.3733, allocations: 39.84 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.3734, allocations: 7.984 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.3735, allocations: 108 kB / 0.5655 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.3736, allocations: 27.78 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.3737, allocations: 39.8 kB / 0.5656 GB, free: 472 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.3739, allocations: 173.8 kB / 0.5658 GB, free: 304 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3739, allocations: 0 / 0.5658 GB, free: 304 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.213e-06/0.3739, allocations: 0 / 0.5658 GB, free: 304 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.468e-06/0.374, allocations: 0 / 0.5658 GB, free: 304 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.0005652/0.3745, allocations: 345.5 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3746, allocations: 15.97 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.3746, allocations: 12.84 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3749, allocations: 158.5 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3749, allocations: 4.375 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.3749, allocations: 16.12 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3751, allocations: 67.33 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3751, allocations: 0 / 0.5663 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3751, allocations: 4 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3751, allocations: 0 / 0.5664 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.3752, allocations: 19.92 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.3756, allocations: 264 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3758, allocations: 50.69 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.3758, allocations: 20.84 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3758, allocations: 0 / 0.5667 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.376, allocations: 75.33 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.376, allocations: 0 / 0.5668 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005735/0.3766, allocations: 173.3 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.3766, allocations: 77.11 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3768, allocations: 162.5 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3769, allocations: 29.7 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.3769, allocations: 104.1 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.377, allocations: 27.75 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.377, allocations: 25.7 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002177/0.3772, allocations: 326.8 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.3773, allocations: 20 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.3774, allocations: 42.56 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.3775, allocations: 61.64 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3775, allocations: 4.031 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.3777, allocations: 89.64 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3777, allocations: 12.12 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3777, allocations: 3.984 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3777, allocations: 3.938 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.3778, allocations: 12 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3778, allocations: 4 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.3779, allocations: 7.938 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3779, allocations: 4 kB / 0.5679 GB, free: 13.89 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.0001167/0.378, allocations: 128.1 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.378, allocations: 8.328 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.3783, allocations: 122.4 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3783, allocations: 3.984 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3783, allocations: 0 / 0.5681 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3783, allocations: 11.88 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.3788, allocations: 370.3 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3788, allocations: 4.031 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.3788, allocations: 8 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3788, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3788, allocations: 3.938 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.3788, allocations: 7.984 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3788, allocations: 0 / 0.5685 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.3791, allocations: 200.3 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.3791, allocations: 11.95 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.3792, allocations: 7.938 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.3792, allocations: 7.984 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.3793, allocations: 0 / 0.5688 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.3793, allocations: 4 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001245/0.3794, allocations: 135.9 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3794, allocations: 0 / 0.5689 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002999/0.3797, allocations: 43.88 kB / 0.5689 GB, free: 12.74 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.001965/0.3817, allocations: 0.5353 MB / 0.5695 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002006/0.3819, allocations: 59.91 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3819, allocations: 3.938 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.382, allocations: 35.91 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3823, allocations: 24.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.000458/0.3828, allocations: 206.7 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3831, allocations: 0.7002 MB / 0.5705 GB, free: 11.31 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 7.459e-05/0.3832, allocations: 25.27 kB / 0.5705 GB, free: 11.28 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.3833, allocations: 19.44 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3833, allocations: 0 / 0.5705 GB, free: 11.26 MB / 414.1 MB
Notification: Performance of Templates: time 0.006282/0.3896, allocations: 2.381 MB / 0.5728 GB, free: 8.898 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.243343780748546]