Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.001982/0.001982, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002498/0.002498, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.557/1.557, allocations: 230.3 MB / 258 MB, free: 8.395 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.2877/0.2877, allocations: 46.94 MB / 361.4 MB, free: 4.445 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2") [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.002441/0.002441, allocations: 75.88 kB / 0.4972 GB, free: 7.484 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4297, allocations: 66.05 MB / 0.5617 GB, free: 4.535 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003291/0.4329, allocations: 1.733 MB / 0.5634 GB, free: 2.789 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001917/0.4349, allocations: 1.053 MB / 0.5644 GB, free: 1.73 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.4349, allocations: 4 kB / 0.5645 GB, free: 1.727 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.4353, allocations: 35.77 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.4356, allocations: 99.53 kB / 0.5646 GB, free: 1.594 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.4358, allocations: 79.67 kB / 0.5647 GB, free: 1.516 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001964/0.436, allocations: 103.8 kB / 0.5648 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.4361, allocations: 11.92 kB / 0.5648 GB, free: 1.402 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4362, allocations: 43.8 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.731e-05/0.4363, allocations: 39.77 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.4363, allocations: 4 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.4365, allocations: 39.98 kB / 0.5649 GB, free: 1.277 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.4365, allocations: 15.94 kB / 0.5649 GB, free: 1.262 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.4366, allocations: 35.72 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.4368, allocations: 122 kB / 0.5651 GB, free: 1.113 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4368, allocations: 4 kB / 0.5651 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.292e-06/0.4368, allocations: 0 / 0.5651 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.092e-06/0.4368, allocations: 4 kB / 0.5651 GB, free: 1.105 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.0006468/0.4375, allocations: 333.6 kB / 0.5654 GB, free: 0.75 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4375, allocations: 12.02 kB / 0.5654 GB, free: 0.7383 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.4376, allocations: 8.891 kB / 0.5654 GB, free: 0.7305 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.4379, allocations: 142.4 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4379, allocations: 384 / 0.5655 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.438, allocations: 8.375 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.4381, allocations: 61.98 kB / 0.5656 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4381, allocations: 0 / 0.5656 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4382, allocations: 4 kB / 0.5656 GB, free: 500 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4382, allocations: 0 / 0.5656 GB, free: 500 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.4382, allocations: 23.92 kB / 0.5656 GB, free: 476 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.4386, allocations: 263.8 kB / 0.5659 GB, free: 168 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.4388, allocations: 62.66 kB / 0.5659 GB, free: 96 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.4389, allocations: 20.8 kB / 0.566 GB, free: 72 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.4389, allocations: 0 / 0.566 GB, free: 72 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.4391, allocations: 67.41 kB / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4391, allocations: 0 / 0.566 GB, free: 15.99 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005986/0.4397, allocations: 177.4 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.4398, allocations: 59.41 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.44, allocations: 166.2 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.44, allocations: 33.69 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.4401, allocations: 100.1 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.4401, allocations: 27.78 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.4402, allocations: 17.72 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002804/0.4405, allocations: 330.8 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.4405, allocations: 23.92 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.4406, allocations: 37.7 kB / 0.567 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.4407, allocations: 65.56 kB / 0.567 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4407, allocations: 0 / 0.567 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.4409, allocations: 97.58 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.441, allocations: 4 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.441, allocations: 4 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.441, allocations: 3.938 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.4411, allocations: 20.02 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4411, allocations: 0 / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.4411, allocations: 8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4411, allocations: 4 kB / 0.5672 GB, free: 14.76 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.0001271/0.4413, allocations: 124.6 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.4413, allocations: 11.95 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.4416, allocations: 114.3 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.4416, allocations: 3.984 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4416, allocations: 4 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4416, allocations: 384 / 0.5674 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.4421, allocations: 366.3 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.4421, allocations: 4 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.4421, allocations: 8 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4421, allocations: 0 / 0.5678 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4422, allocations: 0 / 0.5678 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.4422, allocations: 11.88 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4422, allocations: 4.031 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.4424, allocations: 208.6 kB / 0.568 GB, free: 13.83 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.4425, allocations: 11.91 kB / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.4425, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.4426, allocations: 7.938 kB / 0.568 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.4426, allocations: 7.984 kB / 0.568 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.4426, allocations: 8 kB / 0.568 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001248/0.4427, allocations: 127.2 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4427, allocations: 0 / 0.5681 GB, free: 13.67 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002836/0.443, allocations: 31.92 kB / 0.5682 GB, free: 13.64 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.001826/0.4449, allocations: 454.6 kB / 0.5686 GB, free: 13.35 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001996/0.4451, allocations: 55.91 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4451, allocations: 3.938 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.4451, allocations: 27.94 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4455, allocations: 31.34 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.446, allocations: 215.3 kB / 0.5689 GB, free: 13 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4464, allocations: 0.7002 MB / 0.5696 GB, free: 12.27 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.788e-05/0.4464, allocations: 13.28 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.4465, allocations: 23.42 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.4465, allocations: 0 / 0.5696 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of Templates: time 0.005514/0.452, allocations: 1.763 MB / 0.5714 GB, free: 10.48 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.502530349418521]