Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001608/0.001608, allocations: 106.5 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.001904/0.001904, allocations: 213.3 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.468/1.468, 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.2207/0.2207, 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 83.86 kB / 0.4971 GB, free: 7.531 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3666, allocations: 66.03 MB / 0.5616 GB, free: 4.598 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003886/0.3705, allocations: 1.735 MB / 0.5633 GB, free: 2.852 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002948/0.3735, allocations: 1.742 MB / 0.565 GB, free: 1.102 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.3736, allocations: 0 / 0.565 GB, free: 1.102 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.3739, allocations: 43.77 kB / 0.565 GB, free: 1.059 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.3742, allocations: 99.53 kB / 0.5651 GB, free: 0.9609 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.3745, allocations: 83.66 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001919/0.3746, allocations: 99.7 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3748, allocations: 7.984 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3749, allocations: 63.7 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.375, allocations: 39.84 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.375, allocations: 7.984 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3752, allocations: 104 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.3753, allocations: 27.84 kB / 0.5655 GB, free: 0.5352 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.3754, allocations: 35.73 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3757, allocations: 173.9 kB / 0.5657 GB, free: 344 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3757, allocations: 0 / 0.5657 GB, free: 344 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.492e-06/0.3757, allocations: 0 / 0.5657 GB, free: 344 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.19e-06/0.3757, allocations: 0 / 0.5657 GB, free: 344 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.0006579/0.3763, allocations: 349.5 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3764, allocations: 12.03 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.3764, allocations: 16.78 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3767, allocations: 158.4 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3767, allocations: 4.359 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.3768, allocations: 12.11 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.377, allocations: 67.39 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.377, allocations: 4 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.377, allocations: 8 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.377, allocations: 0 / 0.5664 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.3771, allocations: 23.86 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.3775, allocations: 256 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.3777, allocations: 58.67 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.3778, allocations: 20.84 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3778, allocations: 0 / 0.5667 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.378, allocations: 71.33 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.378, allocations: 0 / 0.5668 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005715/0.3785, allocations: 173.3 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.3786, allocations: 81.11 kB / 0.567 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3788, allocations: 158.5 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3788, allocations: 33.7 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.3789, allocations: 96.12 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.3789, allocations: 31.73 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.3789, allocations: 21.72 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001339/0.3791, allocations: 326.8 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.308e-05/0.3791, allocations: 23.98 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.3792, allocations: 46.56 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.3793, allocations: 57.64 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3793, allocations: 0 / 0.5678 GB, free: 14.06 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.3795, allocations: 93.64 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3795, allocations: 8 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3795, allocations: 3.938 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3796, allocations: 4.062 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.3796, allocations: 15.98 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3796, allocations: 4 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.87e-05/0.3797, allocations: 3.938 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3797, allocations: 4 kB / 0.5679 GB, free: 13.92 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.0001106/0.3798, allocations: 127.1 kB / 0.568 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.3799, allocations: 11.89 kB / 0.568 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.3801, allocations: 114.5 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3801, allocations: 7.984 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3801, allocations: 384 / 0.5681 GB, free: 13.65 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3801, allocations: 3.938 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.3806, allocations: 374.3 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3806, allocations: 4 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.3806, allocations: 8 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3806, allocations: 192 / 0.5685 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3806, allocations: 3.938 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3806, allocations: 7.938 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3806, allocations: 4.031 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.3809, allocations: 200.3 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.3809, allocations: 11.94 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3809, allocations: 3.938 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.381, allocations: 8 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.381, allocations: 3.984 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.381, allocations: 8 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001124/0.3811, allocations: 131.9 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3811, allocations: 0 / 0.5689 GB, free: 12.82 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002924/0.3814, allocations: 43.86 kB / 0.5689 GB, free: 12.78 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.001891/0.3833, allocations: 0.5413 MB / 0.5695 GB, free: 12.42 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002014/0.3835, allocations: 59.91 kB / 0.5695 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3835, allocations: 0 / 0.5695 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.3836, allocations: 27.92 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3839, allocations: 31.95 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3844, allocations: 206.8 kB / 0.5698 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3847, allocations: 0.7002 MB / 0.5705 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.311e-05/0.3847, allocations: 21.27 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.3848, allocations: 19.42 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3848, allocations: 0 / 0.5705 GB, free: 11.3 MB / 414.1 MB
Notification: Performance of Templates: time 0.005835/0.3906, allocations: 2.388 MB / 0.5728 GB, free: 8.93 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.202078679576516]