Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001387/0.001387, allocations: 109 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.001848/0.001848, allocations: 213.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.465/1.465, allocations: 230.3 MB / 258 MB, free: 8.234 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.2335/0.2335, allocations: 46.89 MB / 361.3 MB, free: 4.555 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 79.86 kB / 0.4971 GB, free: 7.559 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3798, allocations: 66.03 MB / 0.5616 GB, free: 4.613 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00382/0.3836, allocations: 1.753 MB / 0.5633 GB, free: 2.848 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002026/0.3856, allocations: 1.047 MB / 0.5643 GB, free: 1.797 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.753e-05/0.3857, allocations: 0 / 0.5643 GB, free: 1.797 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.3861, allocations: 43.77 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.3865, allocations: 99.48 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.3867, allocations: 83.66 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002276/0.387, allocations: 107.8 kB / 0.5646 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3871, allocations: 7.984 kB / 0.5647 GB, free: 1.461 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3872, allocations: 43.73 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.639e-05/0.3873, allocations: 39.78 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3873, allocations: 4 kB / 0.5647 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3874, allocations: 43.97 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.3875, allocations: 19.92 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.3876, allocations: 31.75 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.3878, allocations: 130 kB / 0.565 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3878, allocations: 0 / 0.565 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.463e-06/0.3878, allocations: 7.938 kB / 0.565 GB, free: 1.152 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.662e-06/0.3878, allocations: 0 / 0.565 GB, free: 1.152 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.0006945/0.3885, allocations: 357.4 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.3886, allocations: 12.02 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.3886, allocations: 12.89 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.389, allocations: 154.3 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.389, allocations: 4.312 kB / 0.5655 GB, free: 0.5703 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.389, allocations: 4.375 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3892, allocations: 61.98 kB / 0.5655 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3892, allocations: 0 / 0.5655 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3893, allocations: 0 / 0.5655 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3893, allocations: 0 / 0.5655 GB, free: 0.5 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.328e-05/0.3894, allocations: 23.92 kB / 0.5656 GB, free: 488 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.3898, allocations: 263.9 kB / 0.5658 GB, free: 180 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.39, allocations: 54.67 kB / 0.5659 GB, free: 116 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.3901, allocations: 20.84 kB / 0.5659 GB, free: 92 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.3901, allocations: 7.969 kB / 0.5659 GB, free: 84 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.3903, allocations: 75.39 kB / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3903, allocations: 0 / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006251/0.391, allocations: 177.2 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.391, allocations: 59.39 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.3913, allocations: 214.7 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3913, allocations: 25.7 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.3914, allocations: 112.1 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.3914, allocations: 19.86 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.3915, allocations: 21.7 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001766/0.3916, allocations: 330.8 kB / 0.5669 GB, free: 15 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.3917, allocations: 19.98 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.3918, allocations: 37.7 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3919, allocations: 61.66 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3919, allocations: 0 / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.3921, allocations: 101.6 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3921, allocations: 8 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3921, allocations: 0 / 0.5671 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3922, allocations: 4.031 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3923, allocations: 15.94 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3923, allocations: 8.172 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.3923, allocations: 4 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3923, allocations: 7.938 kB / 0.5671 GB, free: 14.72 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.0001372/0.3925, allocations: 131.1 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.3925, allocations: 15.89 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.3928, allocations: 115.1 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3928, allocations: 15.92 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3928, allocations: 0 / 0.5674 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3928, allocations: 0 / 0.5674 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.3933, allocations: 366.3 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3933, allocations: 0 / 0.5678 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.3934, allocations: 12 kB / 0.5678 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3934, allocations: 0 / 0.5678 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3934, allocations: 7.984 kB / 0.5678 GB, free: 14 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3934, allocations: 3.938 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3934, allocations: 4.406 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3937, allocations: 200.2 kB / 0.568 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.3937, allocations: 11.95 kB / 0.568 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.3938, allocations: 4 kB / 0.568 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.3938, allocations: 11.92 kB / 0.568 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3939, allocations: 4 kB / 0.568 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.3939, allocations: 12 kB / 0.568 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.00016/0.3941, allocations: 156.3 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3941, allocations: 0 / 0.5682 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002597/0.3943, allocations: 24 kB / 0.5682 GB, free: 13.55 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.001702/0.396, allocations: 453.4 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002079/0.3962, allocations: 63.89 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3962, allocations: 0 / 0.5687 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.3963, allocations: 23.94 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3967, allocations: 31.91 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.3972, allocations: 242.8 kB / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3975, allocations: 0.7044 MB / 0.5697 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.343e-05/0.3976, allocations: 16.95 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.3976, allocations: 19.44 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of SimCode: time 3e-07/0.3976, allocations: 0 / 0.5697 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of Templates: time 0.005653/0.4033, allocations: 1.773 MB / 0.5714 GB, free: 10.37 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.129410775378346]