Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001734/0.001734, 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.00222/0.00222, allocations: 213.2 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.561/1.561, allocations: 230.3 MB / 258 MB, free: 8.18 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2522/0.2522, allocations: 46.93 MB / 361.3 MB, free: 4.473 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 83.86 kB / 0.4972 GB, free: 7.426 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4196, allocations: 66.04 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003765/0.4234, allocations: 1.943 MB / 0.5636 GB, free: 2.555 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002076/0.4254, allocations: 1.154 MB / 0.5648 GB, free: 1.395 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4255, allocations: 7.938 kB / 0.5648 GB, free: 1.387 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004395/0.426, allocations: 163.5 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.4264, allocations: 175.3 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.4267, allocations: 123.5 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003332/0.427, allocations: 251.3 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4272, allocations: 25.61 kB / 0.5655 GB, free: 0.6641 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.4273, allocations: 115.5 kB / 0.5656 GB, free: 0.5508 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.4276, allocations: 143.5 kB / 0.5657 GB, free: 420 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.4276, allocations: 8 kB / 0.5657 GB, free: 412 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.4278, allocations: 63.98 kB / 0.5658 GB, free: 348 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4279, allocations: 59.75 kB / 0.5658 GB, free: 288 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.428, allocations: 83.3 kB / 0.5659 GB, free: 204 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000388/0.4284, allocations: 217.9 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.4284, allocations: 4 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.234e-06/0.4284, allocations: 4 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 8.716e-06/0.4284, allocations: 0 / 0.5661 GB, free: 15.98 MB / 414.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.001001/0.4294, allocations: 486.8 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4295, allocations: 12.03 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.4296, allocations: 28.75 kB / 0.5666 GB, free: 15.44 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.43, allocations: 214.6 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.43, allocations: 4.375 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.4301, allocations: 16.36 kB / 0.5669 GB, free: 15.19 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.4304, allocations: 115.6 kB / 0.567 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.4304, allocations: 4 kB / 0.567 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.4304, allocations: 0 / 0.567 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4304, allocations: 0 / 0.567 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.4306, allocations: 51.95 kB / 0.567 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009115/0.4315, allocations: 443.8 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/0.432, allocations: 113.2 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.4321, allocations: 45.75 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.4322, allocations: 11.94 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.4325, allocations: 125 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.4325, allocations: 0 / 0.5677 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of matching and sorting (n=22): time 0.001667/0.4342, allocations: 0.4928 MB / 0.5682 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.4343, allocations: 77.11 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.4348, allocations: 376.5 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.4348, allocations: 29.7 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.435, allocations: 144.5 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4351, allocations: 79.36 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.4352, allocations: 45.66 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002747/0.4355, allocations: 342.8 kB / 0.5693 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.4356, allocations: 59.97 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.4358, allocations: 96.22 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.4362, allocations: 155.5 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4362, allocations: 4 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004561/0.4366, allocations: 233.3 kB / 0.5698 GB, free: 12 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4366, allocations: 6.5 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4367, allocations: 4 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.4367, allocations: 3.938 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.4368, allocations: 43.92 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.4368, allocations: 5.156 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.4369, allocations: 8 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.437, allocations: 12.06 kB / 0.5699 GB, free: 11.92 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.000219/0.4372, allocations: 158.3 kB / 0.57 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.4372, allocations: 31.81 kB / 0.57 GB, free: 11.72 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.4379, allocations: 263.2 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4379, allocations: 0 / 0.5703 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.4379, allocations: 4 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4379, allocations: 0 / 0.5703 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.439, allocations: 0.695 MB / 0.571 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.439, allocations: 4.188 kB / 0.571 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.4391, allocations: 31.92 kB / 0.571 GB, free: 10.66 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4391, allocations: 3.938 kB / 0.571 GB, free: 10.66 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.4391, allocations: 8 kB / 0.571 GB, free: 10.65 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.4391, allocations: 4.125 kB / 0.571 GB, free: 10.65 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4391, allocations: 4 kB / 0.571 GB, free: 10.64 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.4397, allocations: 433.3 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.4397, allocations: 23.86 kB / 0.5715 GB, free: 10.17 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.4398, allocations: 11.98 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.4399, allocations: 8 kB / 0.5715 GB, free: 10.15 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.44, allocations: 19.91 kB / 0.5715 GB, free: 10.13 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.44, allocations: 12 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003011/0.4403, allocations: 279 kB / 0.5718 GB, free: 9.848 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4403, allocations: 0 / 0.5718 GB, free: 9.848 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003552/0.4407, allocations: 47.94 kB / 0.5718 GB, free: 9.801 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.002184/0.4429, allocations: 0.5094 MB / 0.5723 GB, free: 9.465 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003907/0.4433, allocations: 147.8 kB / 0.5725 GB, free: 9.32 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4433, allocations: 4 kB / 0.5725 GB, free: 9.316 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.4434, allocations: 75.83 kB / 0.5725 GB, free: 9.242 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.444, allocations: 72.73 kB / 0.5726 GB, free: 9.172 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.4449, allocations: 0.4924 MB / 0.5731 GB, free: 8.633 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4453, allocations: 0.7636 MB / 0.5738 GB, free: 7.84 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001057/0.4454, allocations: 37.94 kB / 0.5739 GB, free: 7.805 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.4455, allocations: 35.42 kB / 0.5739 GB, free: 7.77 MB / 414.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.4455, allocations: 0 / 0.5739 GB, free: 7.77 MB / 414.1 MB
Notification: Performance of Templates: time 0.008127/0.4536, allocations: 3.238 MB / 0.5771 GB, free: 4.551 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.594095578417182]