Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001457/0.001457, 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.00159/0.00159, 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.494/1.494, allocations: 230.3 MB / 258 MB, free: 8.277 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.2338/0.2338, allocations: 46.89 MB / 361.3 MB, free: 4.477 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 79.86 kB / 0.4971 GB, free: 7.559 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3949, allocations: 66.03 MB / 0.5616 GB, free: 4.805 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003574/0.3985, allocations: 1.745 MB / 0.5633 GB, free: 3.047 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003061/0.4016, allocations: 1.738 MB / 0.565 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.4017, allocations: 3.938 kB / 0.565 GB, free: 1.297 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.4021, allocations: 39.83 kB / 0.565 GB, free: 1.258 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.4025, allocations: 99.53 kB / 0.5651 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.4028, allocations: 75.69 kB / 0.5652 GB, free: 1.086 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002485/0.403, allocations: 111.7 kB / 0.5653 GB, free: 0.9766 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4031, allocations: 11.94 kB / 0.5653 GB, free: 0.9648 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.4033, allocations: 43.78 kB / 0.5654 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.4035, allocations: 47.83 kB / 0.5654 GB, free: 0.875 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.4035, allocations: 4 kB / 0.5654 GB, free: 0.8711 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.4037, allocations: 119.9 kB / 0.5655 GB, free: 0.7539 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.4038, allocations: 15.92 kB / 0.5656 GB, free: 0.7383 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.4038, allocations: 35.8 kB / 0.5656 GB, free: 0.7031 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.4042, allocations: 170.2 kB / 0.5657 GB, free: 0.5391 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4042, allocations: 0 / 0.5657 GB, free: 0.5391 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.322e-06/0.4042, allocations: 0 / 0.5657 GB, free: 0.5391 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.684e-06/0.4042, allocations: 7.938 kB / 0.5658 GB, free: 0.5312 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0006776/0.4049, allocations: 357.5 kB / 0.5661 GB, free: 156 kB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4049, allocations: 8.031 kB / 0.5661 GB, free: 148 kB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.405, allocations: 16.84 kB / 0.5661 GB, free: 132 kB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.4053, allocations: 150.5 kB / 0.5663 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4053, allocations: 384 / 0.5663 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.4054, allocations: 12.12 kB / 0.5663 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4056, allocations: 67.33 kB / 0.5663 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.4056, allocations: 7.922 kB / 0.5663 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.4056, allocations: 8 kB / 0.5664 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.4056, allocations: 0 / 0.5664 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.4057, allocations: 19.98 kB / 0.5664 GB, free: 15.84 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.4061, allocations: 256 kB / 0.5666 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.4063, allocations: 58.61 kB / 0.5667 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.4064, allocations: 20.86 kB / 0.5667 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.4064, allocations: 0 / 0.5667 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.4066, allocations: 67.39 kB / 0.5668 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4066, allocations: 0 / 0.5668 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006102/0.4072, allocations: 177.3 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.4073, allocations: 81.05 kB / 0.567 GB, free: 15.1 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.4075, allocations: 166.5 kB / 0.5672 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.4075, allocations: 29.7 kB / 0.5672 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.4076, allocations: 100.1 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.4076, allocations: 31.73 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.4077, allocations: 21.72 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001834/0.4078, allocations: 322.8 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.4079, allocations: 23.98 kB / 0.5677 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.408, allocations: 50.5 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.4081, allocations: 53.72 kB / 0.5678 GB, free: 14.26 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4081, allocations: 0 / 0.5678 GB, free: 14.26 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.4083, allocations: 105.5 kB / 0.5679 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4083, allocations: 6.188 kB / 0.5679 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4083, allocations: 0 / 0.5679 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4083, allocations: 0 / 0.5679 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.4084, allocations: 20.06 kB / 0.5679 GB, free: 14.13 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.4084, allocations: 3.984 kB / 0.5679 GB, free: 14.12 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.4085, allocations: 8.312 kB / 0.5679 GB, free: 14.12 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4085, allocations: 4 kB / 0.5679 GB, free: 14.11 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.0001198/0.4086, allocations: 125.5 kB / 0.568 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.4086, allocations: 7.953 kB / 0.568 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.4089, allocations: 110.4 kB / 0.5681 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.4089, allocations: 4 kB / 0.5681 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4089, allocations: 4 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4089, allocations: 3.938 kB / 0.5682 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.4094, allocations: 374.5 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4094, allocations: 0 / 0.5685 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.4094, allocations: 11.98 kB / 0.5685 GB, free: 13.42 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4094, allocations: 0 / 0.5685 GB, free: 13.42 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4095, allocations: 7.938 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4095, allocations: 80 / 0.5685 GB, free: 13.41 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4095, allocations: 7.922 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.4097, allocations: 200.4 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.4098, allocations: 7.953 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.4098, allocations: 11.92 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.188e-05/0.4099, allocations: 4 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.4099, allocations: 8.172 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4099, allocations: 0 / 0.5688 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001192/0.41, allocations: 139.9 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.41, allocations: 0 / 0.5689 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002974/0.4103, allocations: 47.86 kB / 0.5689 GB, free: 12.97 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.002038/0.4124, allocations: 0.5373 MB / 0.5695 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002318/0.4126, allocations: 55.98 kB / 0.5695 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4126, allocations: 0 / 0.5695 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.4127, allocations: 31.92 kB / 0.5695 GB, free: 12.53 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.413, allocations: 19.98 kB / 0.5696 GB, free: 12.51 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.4135, allocations: 210.7 kB / 0.5698 GB, free: 12.27 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.4139, allocations: 0.7003 MB / 0.5705 GB, free: 11.55 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 7.483e-05/0.414, allocations: 16.97 kB / 0.5705 GB, free: 11.53 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.4141, allocations: 23.42 kB / 0.5705 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of SimCode: time 2.8e-07/0.4141, allocations: 0 / 0.5705 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of Templates: time 0.006447/0.4205, allocations: 2.4 MB / 0.5728 GB, free: 9.121 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.252630087547004]