Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001533/0.001533, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001624/0.001624, allocations: 187.4 kB / 24.51 MB, free: 4.035 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.545/1.545, 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.2362/0.2362, allocations: 44.9 MB / 353.5 MB, free: 11.82 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 497.8 MB, free: 0.9258 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4587, allocations: 64.29 MB / 0.5489 GB, free: 13.31 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.004201/0.4629, allocations: 1.732 MB / 0.5506 GB, free: 11.95 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001746/0.4647, allocations: 0.9082 MB / 0.5515 GB, free: 11.25 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.4648, allocations: 1.719 kB / 0.5515 GB, free: 11.25 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.4651, allocations: 42.03 kB / 0.5515 GB, free: 11.22 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.4654, allocations: 58.89 kB / 0.5516 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.4657, allocations: 116 kB / 0.5517 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002076/0.4659, allocations: 93.95 kB / 0.5518 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.4661, allocations: 16.48 kB / 0.5518 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.4662, allocations: 40.17 kB / 0.5518 GB, free: 11.01 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.4663, allocations: 30.17 kB / 0.5518 GB, free: 10.99 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.4663, allocations: 4 kB / 0.5518 GB, free: 10.99 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.4664, allocations: 47.03 kB / 0.5519 GB, free: 10.97 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.4665, allocations: 25.17 kB / 0.5519 GB, free: 10.95 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.4666, allocations: 42.83 kB / 0.552 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.4669, allocations: 119.2 kB / 0.5521 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4669, allocations: 0 / 0.5521 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.873e-06/0.4669, allocations: 3.938 kB / 0.5521 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.043e-06/0.4669, allocations: 1.094 kB / 0.5521 GB, free: 10.84 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.0006819/0.4676, allocations: 354.1 kB / 0.5524 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4676, allocations: 9.859 kB / 0.5524 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.4677, allocations: 9.859 kB / 0.5524 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.468, allocations: 156.3 kB / 0.5526 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.468, allocations: 5.531 kB / 0.5526 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.4681, allocations: 10.23 kB / 0.5526 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4682, allocations: 53.89 kB / 0.5526 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4683, allocations: 0 / 0.5526 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4683, allocations: 1.469 kB / 0.5526 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4683, allocations: 0 / 0.5526 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.4684, allocations: 22.95 kB / 0.5527 GB, free: 10.27 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.4688, allocations: 263.3 kB / 0.5529 GB, free: 9.988 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.469, allocations: 56.86 kB / 0.553 GB, free: 9.945 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.4691, allocations: 16.23 kB / 0.553 GB, free: 9.934 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.4691, allocations: 1.281 kB / 0.553 GB, free: 9.934 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.4693, allocations: 68.8 kB / 0.5531 GB, free: 9.867 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.4693, allocations: 4 kB / 0.5531 GB, free: 9.863 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006307/0.4699, allocations: 187.7 kB / 0.5532 GB, free: 9.75 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.47, allocations: 52.69 kB / 0.5533 GB, free: 9.688 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.4702, allocations: 227.4 kB / 0.5535 GB, free: 9.523 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.4703, allocations: 26.8 kB / 0.5535 GB, free: 9.492 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.4704, allocations: 105.7 kB / 0.5536 GB, free: 9.391 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.4704, allocations: 24.33 kB / 0.5537 GB, free: 9.371 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.4705, allocations: 27.45 kB / 0.5537 GB, free: 9.344 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001791/0.4706, allocations: 335.3 kB / 0.554 GB, free: 9.012 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.4707, allocations: 22.58 kB / 0.554 GB, free: 9 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/0.4708, allocations: 35.52 kB / 0.5541 GB, free: 8.973 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.4709, allocations: 59.34 kB / 0.5541 GB, free: 8.934 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4709, allocations: 0 / 0.5541 GB, free: 8.934 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.00022/0.4711, allocations: 112.5 kB / 0.5542 GB, free: 8.859 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4712, allocations: 5 kB / 0.5542 GB, free: 8.859 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4712, allocations: 1.719 kB / 0.5542 GB, free: 8.859 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4712, allocations: 1.219 kB / 0.5542 GB, free: 8.859 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.4713, allocations: 16.44 kB / 0.5542 GB, free: 8.855 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4713, allocations: 9.578 kB / 0.5543 GB, free: 8.848 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.4713, allocations: 5.094 kB / 0.5543 GB, free: 8.844 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4714, allocations: 7.406 kB / 0.5543 GB, free: 8.84 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 (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.0001356/0.4715, allocations: 134.2 kB / 0.5544 GB, free: 8.711 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4715, allocations: 17.47 kB / 0.5544 GB, free: 8.699 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.4718, allocations: 116.9 kB / 0.5545 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4718, allocations: 1.125 kB / 0.5545 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4718, allocations: 1.031 kB / 0.5545 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4718, allocations: 3.938 kB / 0.5545 GB, free: 8.617 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.4723, allocations: 364.5 kB / 0.5549 GB, free: 8.273 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4723, allocations: 0 / 0.5549 GB, free: 8.273 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.4723, allocations: 11.84 kB / 0.5549 GB, free: 8.27 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.4723, allocations: 5.109 kB / 0.5549 GB, free: 8.266 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4724, allocations: 5 kB / 0.5549 GB, free: 8.262 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4724, allocations: 1 kB / 0.5549 GB, free: 8.262 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4724, allocations: 1.188 kB / 0.5549 GB, free: 8.262 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.4726, allocations: 204.9 kB / 0.5551 GB, free: 8.086 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.4726, allocations: 7.578 kB / 0.5551 GB, free: 8.082 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.4727, allocations: 18.47 kB / 0.5551 GB, free: 8.066 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.4727, allocations: 5.172 kB / 0.5551 GB, free: 8.062 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.4728, allocations: 3.812 kB / 0.5551 GB, free: 8.062 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.4728, allocations: 2.719 kB / 0.5551 GB, free: 8.062 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001722/0.473, allocations: 170.5 kB / 0.5553 GB, free: 7.949 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.473, allocations: 0 / 0.5553 GB, free: 7.949 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002603/0.4732, allocations: 25.14 kB / 0.5553 GB, free: 7.941 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 (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.001737/0.475, allocations: 475.1 kB / 0.5558 GB, free: 7.711 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002059/0.4752, allocations: 51.8 kB / 0.5558 GB, free: 7.691 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4752, allocations: 0 / 0.5558 GB, free: 7.691 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.4753, allocations: 28.39 kB / 0.5558 GB, free: 7.68 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.4756, allocations: 35.62 kB / 0.5559 GB, free: 7.66 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.4762, allocations: 269.3 kB / 0.5561 GB, free: 7.453 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.4766, allocations: 0.707 MB / 0.5568 GB, free: 6.742 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.559e-05/0.4767, allocations: 26 kB / 0.5568 GB, free: 6.727 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.4767, allocations: 14.97 kB / 0.5569 GB, free: 6.719 MB / 398.1 MB
Notification: Performance of SimCode: time 3e-07/0.4767, allocations: 1.219 kB / 0.5569 GB, free: 6.719 MB / 398.1 MB
Notification: Performance of Templates: time 0.005906/0.4826, allocations: 1.763 MB / 0.5586 GB, free: 5.469 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.601751481182873]