Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001727/0.001727, allocations: 104.6 kB / 21.22 MB, free: 0.5117 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.001788/0.001788, allocations: 186.5 kB / 24.52 MB, free: 3.895 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.546/1.546, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.2365/0.2365, allocations: 44.91 MB / 353.5 MB, free: 11.8 MB / 286.1 MB
"
[Timeout remaining time 180]
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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.88 kB / 497.8 MB, free: 0.9258 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4666, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003748/0.4703, allocations: 1.737 MB / 0.5506 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001864/0.4722, allocations: 0.8959 MB / 0.5514 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.611e-05/0.4723, allocations: 1.406 kB / 0.5514 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.4726, allocations: 37.25 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.4729, allocations: 53.48 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.4732, allocations: 127.8 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002168/0.4734, allocations: 91.08 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.4735, allocations: 7.422 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4737, allocations: 44.91 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.4737, allocations: 33.19 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.4738, allocations: 8.469 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.4739, allocations: 42.67 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.474, allocations: 22.38 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.474, allocations: 27.47 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.4743, allocations: 119.3 kB / 0.552 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4743, allocations: 4 kB / 0.552 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.545e-06/0.4743, allocations: 0 / 0.552 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.115e-06/0.4743, allocations: 0 / 0.552 GB, free: 10.69 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.0008282/0.4752, allocations: 349 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.4752, allocations: 10.48 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.4753, allocations: 9.766 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.4756, allocations: 141.6 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4756, allocations: 1.469 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.4757, allocations: 10.62 kB / 0.5525 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4758, allocations: 53.86 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.4759, allocations: 3.984 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4759, allocations: 5.25 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4759, allocations: 1.094 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.476, allocations: 22.52 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.4765, allocations: 260.8 kB / 0.5529 GB, free: 9.844 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.4767, allocations: 52.38 kB / 0.5529 GB, free: 9.805 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.4767, allocations: 20.66 kB / 0.5529 GB, free: 9.789 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.4768, allocations: 5.062 kB / 0.5529 GB, free: 9.785 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.4769, allocations: 65.48 kB / 0.553 GB, free: 9.723 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.4769, allocations: 0 / 0.553 GB, free: 9.723 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0007234/0.4776, allocations: 177.5 kB / 0.5532 GB, free: 9.617 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.4777, allocations: 52.44 kB / 0.5532 GB, free: 9.555 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.4779, allocations: 176.5 kB / 0.5534 GB, free: 9.426 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.478, allocations: 35.16 kB / 0.5534 GB, free: 9.387 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.478, allocations: 96.98 kB / 0.5535 GB, free: 9.293 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.4781, allocations: 27.25 kB / 0.5535 GB, free: 9.27 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.4781, allocations: 19.66 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001927/0.4783, allocations: 330.3 kB / 0.5539 GB, free: 8.922 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.4784, allocations: 27.58 kB / 0.5539 GB, free: 8.906 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.4785, allocations: 34.61 kB / 0.5539 GB, free: 8.879 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.4786, allocations: 63.56 kB / 0.554 GB, free: 8.836 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.4786, allocations: 4.312 kB / 0.554 GB, free: 8.832 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000239/0.4789, allocations: 107.3 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4789, allocations: 5.75 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4789, allocations: 4.031 kB / 0.5541 GB, free: 8.758 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4789, allocations: 1.062 kB / 0.5541 GB, free: 8.758 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.479, allocations: 21.7 kB / 0.5541 GB, free: 8.75 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.479, allocations: 1.062 kB / 0.5541 GB, free: 8.75 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.4791, allocations: 10.28 kB / 0.5541 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.4791, allocations: 6.234 kB / 0.5542 GB, free: 8.738 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.0001745/0.4793, allocations: 130 kB / 0.5543 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.4793, allocations: 13.84 kB / 0.5543 GB, free: 8.605 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.4796, allocations: 118.3 kB / 0.5544 GB, free: 8.523 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4796, allocations: 1.281 kB / 0.5544 GB, free: 8.523 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4796, allocations: 0 / 0.5544 GB, free: 8.523 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.4796, allocations: 5.094 kB / 0.5544 GB, free: 8.52 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.4802, allocations: 360.4 kB / 0.5548 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4802, allocations: 1.5 kB / 0.5548 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.4802, allocations: 6.812 kB / 0.5548 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4803, allocations: 1.156 kB / 0.5548 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4803, allocations: 9.094 kB / 0.5548 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4803, allocations: 1.094 kB / 0.5548 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4803, allocations: 1.219 kB / 0.5548 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.4806, allocations: 208.2 kB / 0.555 GB, free: 7.988 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.4806, allocations: 11.19 kB / 0.555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.4807, allocations: 6.188 kB / 0.555 GB, free: 7.977 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.4807, allocations: 6.094 kB / 0.555 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.4808, allocations: 10.27 kB / 0.555 GB, free: 7.965 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.4808, allocations: 4.281 kB / 0.555 GB, free: 7.965 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001549/0.481, allocations: 144.3 kB / 0.5551 GB, free: 7.859 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.481, allocations: 1.062 kB / 0.5551 GB, free: 7.859 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002758/0.4813, allocations: 24.53 kB / 0.5552 GB, free: 7.852 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.00185/0.4831, allocations: 468.3 kB / 0.5556 GB, free: 7.625 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002272/0.4833, allocations: 59.86 kB / 0.5557 GB, free: 7.598 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4833, allocations: 1.469 kB / 0.5557 GB, free: 7.598 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.872e-05/0.4834, allocations: 26.52 kB / 0.5557 GB, free: 7.586 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4838, allocations: 32.56 kB / 0.5557 GB, free: 7.57 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.4844, allocations: 225.8 kB / 0.5559 GB, free: 7.383 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.4848, allocations: 0.7046 MB / 0.5566 GB, free: 6.672 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.315e-05/0.4849, allocations: 10.2 kB / 0.5566 GB, free: 6.672 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.4849, allocations: 19.73 kB / 0.5567 GB, free: 6.66 MB / 398.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.4849, allocations: 4 kB / 0.5567 GB, free: 6.656 MB / 398.1 MB
Notification: Performance of Templates: time 0.005825/0.4908, allocations: 1.755 MB / 0.5584 GB, free: 5.527 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.527756378985941]