Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 106 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 189.3 kB / 24.51 MB, free: 4.047 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.241/0.241, allocations: 44.91 MB / 353.5 MB, free: 11.86 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.89 kB / 497.8 MB, free: 0.9727 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.495, allocations: 64.29 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.006108/0.5011, allocations: 1.737 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004376/0.5055, allocations: 1.59 MB / 0.5521 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.5056, allocations: 3.938 kB / 0.5521 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.5061, allocations: 37.48 kB / 0.5522 GB, free: 10.51 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.5065, allocations: 54.58 kB / 0.5522 GB, free: 10.47 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.5072, allocations: 120.1 kB / 0.5523 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003139/0.5075, allocations: 104.2 kB / 0.5524 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.5076, allocations: 7.938 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.5078, allocations: 45.89 kB / 0.5525 GB, free: 10.29 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.508, allocations: 46.08 kB / 0.5525 GB, free: 10.26 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.5081, allocations: 9.812 kB / 0.5525 GB, free: 10.26 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.5083, allocations: 68.05 kB / 0.5526 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.5084, allocations: 14.64 kB / 0.5526 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.009e-05/0.5085, allocations: 35.31 kB / 0.5526 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.5089, allocations: 133 kB / 0.5528 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5089, allocations: 0 / 0.5528 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of FrontEnd: time 3.747e-06/0.5089, allocations: 1.25 kB / 0.5528 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.826e-06/0.5089, allocations: 3.938 kB / 0.5528 GB, free: 10.11 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0009614/0.5099, allocations: 336 kB / 0.5531 GB, free: 9.781 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.51, allocations: 13.45 kB / 0.5531 GB, free: 9.777 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/0.51, allocations: 10.39 kB / 0.5531 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.5105, allocations: 156.4 kB / 0.5533 GB, free: 9.613 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.5106, allocations: 9.031 kB / 0.5533 GB, free: 9.605 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.5106, allocations: 2.531 kB / 0.5533 GB, free: 9.605 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.5109, allocations: 77.22 kB / 0.5534 GB, free: 9.535 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5109, allocations: 0 / 0.5534 GB, free: 9.535 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.5109, allocations: 1.406 kB / 0.5534 GB, free: 9.535 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.511, allocations: 5.281 kB / 0.5534 GB, free: 9.531 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.5111, allocations: 30.84 kB / 0.5534 GB, free: 9.516 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.5118, allocations: 267.7 kB / 0.5536 GB, free: 9.234 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.5121, allocations: 71.12 kB / 0.5537 GB, free: 9.184 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.5122, allocations: 21.89 kB / 0.5537 GB, free: 9.168 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.5122, allocations: 13.17 kB / 0.5537 GB, free: 9.156 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.5125, allocations: 68.86 kB / 0.5538 GB, free: 9.094 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.5125, allocations: 0 / 0.5538 GB, free: 9.094 MB / 398.1 MB
Notification: Performance of matching and sorting (n=9): time 0.001071/0.5136, allocations: 199 kB / 0.554 GB, free: 8.98 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.5137, allocations: 82.17 kB / 0.5541 GB, free: 8.883 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.514, allocations: 155.2 kB / 0.5542 GB, free: 8.754 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.514, allocations: 35.14 kB / 0.5543 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.5141, allocations: 95.94 kB / 0.5544 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.5142, allocations: 24.2 kB / 0.5544 GB, free: 8.602 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.5143, allocations: 30.33 kB / 0.5544 GB, free: 8.574 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002267/0.5145, allocations: 324.9 kB / 0.5547 GB, free: 8.25 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.5146, allocations: 25.02 kB / 0.5547 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.5148, allocations: 52.03 kB / 0.5548 GB, free: 8.195 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.515, allocations: 64.36 kB / 0.5549 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.515, allocations: 0 / 0.5549 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.000371/0.5154, allocations: 118.1 kB / 0.555 GB, free: 8.082 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5154, allocations: 4.906 kB / 0.555 GB, free: 8.082 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.5154, allocations: 1.625 kB / 0.555 GB, free: 8.082 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.5154, allocations: 13.11 kB / 0.555 GB, free: 8.07 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.5156, allocations: 14.75 kB / 0.555 GB, free: 8.07 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.5156, allocations: 5.281 kB / 0.555 GB, free: 8.066 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.5157, allocations: 2.219 kB / 0.555 GB, free: 8.066 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.5157, allocations: 3.594 kB / 0.555 GB, free: 8.066 MB / 398.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 (11):
 * Single equations (assignments): 11
 * 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.000184/0.5159, allocations: 128.6 kB / 0.5551 GB, free: 7.938 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.5159, allocations: 12.39 kB / 0.5551 GB, free: 7.93 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.5164, allocations: 131.8 kB / 0.5553 GB, free: 7.844 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.5164, allocations: 5.062 kB / 0.5553 GB, free: 7.84 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5164, allocations: 0 / 0.5553 GB, free: 7.84 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.5164, allocations: 7.984 kB / 0.5553 GB, free: 7.832 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008119/0.5172, allocations: 393.2 kB / 0.5557 GB, free: 7.465 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5172, allocations: 0 / 0.5557 GB, free: 7.465 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.5173, allocations: 12.75 kB / 0.5557 GB, free: 7.461 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5173, allocations: 1.125 kB / 0.5557 GB, free: 7.461 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.5173, allocations: 2.094 kB / 0.5557 GB, free: 7.461 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.5173, allocations: 5.203 kB / 0.5557 GB, free: 7.457 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5173, allocations: 1.031 kB / 0.5557 GB, free: 7.457 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.5177, allocations: 218.7 kB / 0.5559 GB, free: 7.273 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.5178, allocations: 7.453 kB / 0.5559 GB, free: 7.27 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.5178, allocations: 1.969 kB / 0.5559 GB, free: 7.27 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.5179, allocations: 6.109 kB / 0.5559 GB, free: 7.266 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.518, allocations: 7.469 kB / 0.5559 GB, free: 7.262 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.518, allocations: 7.484 kB / 0.5559 GB, free: 7.258 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001738/0.5182, allocations: 122.8 kB / 0.556 GB, free: 7.16 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.5e-07/0.5182, allocations: 0 / 0.556 GB, free: 7.16 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0005104/0.5187, allocations: 30.25 kB / 0.5561 GB, free: 7.152 MB / 398.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 (9):
 * Single equations (assignments): 7
 * 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.002961/0.5217, allocations: 0.4966 MB / 0.5565 GB, free: 6.914 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003853/0.5221, allocations: 65.23 kB / 0.5566 GB, free: 6.887 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.5221, allocations: 1.094 kB / 0.5566 GB, free: 6.887 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.5222, allocations: 37.75 kB / 0.5566 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.5228, allocations: 40.73 kB / 0.5567 GB, free: 6.848 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.5236, allocations: 203 kB / 0.5569 GB, free: 6.676 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.5241, allocations: 0.7034 MB / 0.5576 GB, free: 5.965 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001191/0.5243, allocations: 25.27 kB / 0.5576 GB, free: 5.953 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.5243, allocations: 16.62 kB / 0.5576 GB, free: 5.945 MB / 398.1 MB
Notification: Performance of SimCode: time 3.9e-07/0.5243, allocations: 0 / 0.5576 GB, free: 5.945 MB / 398.1 MB
Notification: Performance of Templates: time 0.00989/0.5342, allocations: 2.094 MB / 0.5597 GB, free: 4.25 MB / 398.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.69758506026119]