Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001661/0.001661, 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.002065/0.002065, allocations: 212 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.484/1.484, allocations: 230.3 MB / 258 MB, free: 8.266 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.225/0.225, allocations: 46.9 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 83.86 kB / 0.4971 GB, free: 7.52 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3278, allocations: 66.03 MB / 0.5616 GB, free: 4.578 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00345/0.3312, allocations: 1.942 MB / 0.5635 GB, free: 2.625 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001986/0.3332, allocations: 1.15 MB / 0.5646 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.3333, allocations: 7.938 kB / 0.5646 GB, free: 1.461 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.3337, allocations: 159.5 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000423/0.3341, allocations: 183.3 kB / 0.565 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.3344, allocations: 123.6 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003167/0.3347, allocations: 251.3 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3348, allocations: 17.62 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.335, allocations: 127.5 kB / 0.5655 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.3352, allocations: 139.5 kB / 0.5656 GB, free: 492 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.3352, allocations: 8 kB / 0.5656 GB, free: 484 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3353, allocations: 59.98 kB / 0.5657 GB, free: 424 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.225e-05/0.3354, allocations: 59.7 kB / 0.5657 GB, free: 364 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.607e-05/0.3355, allocations: 83.36 kB / 0.5658 GB, free: 280 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.3359, allocations: 221.9 kB / 0.566 GB, free: 60 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3359, allocations: 0 / 0.566 GB, free: 60 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.342e-06/0.3359, allocations: 3.938 kB / 0.566 GB, free: 56 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.721e-06/0.3359, allocations: 0 / 0.566 GB, free: 56 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0007768/0.3367, allocations: 484.7 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3367, allocations: 8.031 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.3368, allocations: 28.75 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.3371, allocations: 226.5 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3372, allocations: 8.375 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3372, allocations: 8.375 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3374, allocations: 111.7 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3374, allocations: 0 / 0.5668 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3375, allocations: 0 / 0.5668 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3375, allocations: 7.938 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3376, allocations: 51.89 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.3382, allocations: 439.9 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.3385, allocations: 117.2 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3386, allocations: 49.77 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3387, allocations: 0 / 0.5675 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.3389, allocations: 129 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.3389, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of matching and sorting (n=22): time 0.001293/0.3402, allocations: 497 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.3402, allocations: 81.11 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.3406, allocations: 368.5 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.3407, allocations: 37.69 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3408, allocations: 144.5 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/0.3408, allocations: 79.36 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.3409, allocations: 45.64 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001558/0.3411, allocations: 342.8 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.3412, allocations: 59.97 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.3414, allocations: 95.33 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.3416, allocations: 159.5 kB / 0.5694 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3416, allocations: 0 / 0.5694 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003937/0.342, allocations: 229.3 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.342, allocations: 10.03 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3421, allocations: 3.984 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3421, allocations: 7.938 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3422, allocations: 39.92 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3422, allocations: 4 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.3423, allocations: 12.06 kB / 0.5697 GB, free: 12 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.3423, allocations: 11.98 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (26):
 * Single equations (assignments): 26
 * 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.0001642/0.3425, allocations: 162.7 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.3425, allocations: 27.81 kB / 0.5699 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.343, allocations: 264.2 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.343, allocations: 8 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.343, allocations: 0 / 0.5702 GB, free: 11.52 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.343, allocations: 3.984 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000922/0.344, allocations: 0.6911 MB / 0.5708 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.344, allocations: 3.984 kB / 0.5708 GB, free: 10.76 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.3441, allocations: 27.94 kB / 0.5709 GB, free: 10.73 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3441, allocations: 4 kB / 0.5709 GB, free: 10.73 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3441, allocations: 16.11 kB / 0.5709 GB, free: 10.71 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3441, allocations: 0 / 0.5709 GB, free: 10.71 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3441, allocations: 4 kB / 0.5709 GB, free: 10.71 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.3446, allocations: 429.3 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.3446, allocations: 19.86 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.3446, allocations: 8 kB / 0.5713 GB, free: 10.24 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3448, allocations: 11.98 kB / 0.5713 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.3448, allocations: 27.84 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.3449, allocations: 8 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002841/0.3451, allocations: 279 kB / 0.5716 GB, free: 9.918 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3451, allocations: 4 kB / 0.5717 GB, free: 9.914 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003442/0.3455, allocations: 51.92 kB / 0.5717 GB, free: 9.863 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.001884/0.3474, allocations: 0.5079 MB / 0.5722 GB, free: 9.531 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003487/0.3477, allocations: 147.8 kB / 0.5723 GB, free: 9.387 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3477, allocations: 0 / 0.5723 GB, free: 9.387 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.3479, allocations: 76.16 kB / 0.5724 GB, free: 9.312 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.3484, allocations: 63.05 kB / 0.5725 GB, free: 9.254 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.3493, allocations: 0.4963 MB / 0.573 GB, free: 8.711 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.3497, allocations: 0.7636 MB / 0.5737 GB, free: 7.918 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.000108/0.3498, allocations: 41.92 kB / 0.5737 GB, free: 7.879 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.3499, allocations: 31.42 kB / 0.5738 GB, free: 7.848 MB / 414.1 MB
Notification: Performance of SimCode: time 2.71e-07/0.3499, allocations: 0 / 0.5738 GB, free: 7.848 MB / 414.1 MB
Notification: Performance of Templates: time 0.00748/0.3574, allocations: 3.249 MB / 0.5769 GB, free: 4.617 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.101927196606994]