Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.00129/0.00129, allocations: 100.6 kB / 21.22 MB, free: 0.6562 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.001369/0.001369, allocations: 185.2 kB / 24.51 MB, free: 4.016 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.501/1.501, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.2364/0.2364, allocations: 44.9 MB / 353.5 MB, free: 11.93 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 67.89 kB / 497.8 MB, free: 0.9766 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4523, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003869/0.4561, allocations: 1.732 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00187/0.458, allocations: 0.9007 MB / 0.5515 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.4581, allocations: 5.156 kB / 0.5515 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.4585, allocations: 45.94 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.4588, allocations: 68.72 kB / 0.5516 GB, free: 11.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.4591, allocations: 106.9 kB / 0.5517 GB, free: 10.95 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002039/0.4593, allocations: 105.9 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4594, allocations: 4.922 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.4596, allocations: 44.97 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.643e-05/0.4597, allocations: 33.53 kB / 0.5519 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.4597, allocations: 3.5 kB / 0.5519 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.4598, allocations: 42.33 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.4599, allocations: 32.3 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.4599, allocations: 47.81 kB / 0.552 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.4602, allocations: 128.9 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4602, allocations: 1.219 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.4602, allocations: 0 / 0.5521 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.153e-06/0.4602, allocations: 0 / 0.5521 GB, free: 10.68 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.0006929/0.4609, allocations: 362.4 kB / 0.5524 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4609, allocations: 10.2 kB / 0.5525 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.461, allocations: 22.39 kB / 0.5525 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.4613, allocations: 160.1 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4614, allocations: 1.625 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.4614, allocations: 14.31 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.4616, allocations: 50.11 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4616, allocations: 1.062 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.4616, allocations: 7.938 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4616, allocations: 1.156 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.45e-05/0.4617, allocations: 18.39 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.4622, allocations: 266.6 kB / 0.553 GB, free: 9.805 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.4624, allocations: 56.56 kB / 0.553 GB, free: 9.762 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.4624, allocations: 19.94 kB / 0.553 GB, free: 9.746 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4624, allocations: 5.359 kB / 0.553 GB, free: 9.742 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.4626, allocations: 68.67 kB / 0.5531 GB, free: 9.676 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4626, allocations: 0 / 0.5531 GB, free: 9.676 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006236/0.4632, allocations: 180.9 kB / 0.5533 GB, free: 9.57 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.4633, allocations: 52.53 kB / 0.5533 GB, free: 9.508 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.4636, allocations: 263.7 kB / 0.5536 GB, free: 9.332 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.4636, allocations: 26.86 kB / 0.5536 GB, free: 9.301 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.4637, allocations: 110.8 kB / 0.5537 GB, free: 9.195 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.4637, allocations: 35.98 kB / 0.5538 GB, free: 9.164 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.4638, allocations: 27.7 kB / 0.5538 GB, free: 9.137 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000157/0.4639, allocations: 332.4 kB / 0.5541 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.464, allocations: 25.92 kB / 0.5541 GB, free: 8.793 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.4641, allocations: 36.36 kB / 0.5542 GB, free: 8.766 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.4642, allocations: 55.34 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4642, allocations: 0 / 0.5542 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002195/0.4644, allocations: 112.7 kB / 0.5543 GB, free: 8.656 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4644, allocations: 5.344 kB / 0.5543 GB, free: 8.656 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4645, allocations: 5.062 kB / 0.5543 GB, free: 8.652 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.4645, allocations: 1.094 kB / 0.5543 GB, free: 8.652 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.4646, allocations: 16.89 kB / 0.5543 GB, free: 8.648 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4646, allocations: 1.094 kB / 0.5543 GB, free: 8.648 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.4647, allocations: 6.656 kB / 0.5544 GB, free: 8.645 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.4647, allocations: 2.469 kB / 0.5544 GB, free: 8.645 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.0001436/0.4648, allocations: 145.1 kB / 0.5545 GB, free: 8.508 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4648, allocations: 14.62 kB / 0.5545 GB, free: 8.5 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.4651, allocations: 117.7 kB / 0.5546 GB, free: 8.422 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4651, allocations: 1.344 kB / 0.5546 GB, free: 8.422 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4651, allocations: 1.125 kB / 0.5546 GB, free: 8.422 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4651, allocations: 3.938 kB / 0.5546 GB, free: 8.418 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.4657, allocations: 370.2 kB / 0.555 GB, free: 8.07 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4657, allocations: 5.219 kB / 0.555 GB, free: 8.066 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.4657, allocations: 15.88 kB / 0.555 GB, free: 8.059 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4657, allocations: 1.125 kB / 0.555 GB, free: 8.059 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4657, allocations: 5 kB / 0.555 GB, free: 8.055 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4657, allocations: 1.188 kB / 0.555 GB, free: 8.055 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4657, allocations: 1.062 kB / 0.555 GB, free: 8.055 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.466, allocations: 209 kB / 0.5552 GB, free: 7.875 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.466, allocations: 16.22 kB / 0.5552 GB, free: 7.863 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4661, allocations: 6.094 kB / 0.5552 GB, free: 7.859 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.4661, allocations: 2.062 kB / 0.5552 GB, free: 7.859 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.4662, allocations: 11.27 kB / 0.5552 GB, free: 7.852 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4662, allocations: 3.312 kB / 0.5552 GB, free: 7.852 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002099/0.4664, allocations: 195.1 kB / 0.5554 GB, free: 7.73 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.4664, allocations: 0 / 0.5554 GB, free: 7.73 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002837/0.4667, allocations: 30.42 kB / 0.5555 GB, free: 7.719 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.001842/0.4685, allocations: 475.6 kB / 0.5559 GB, free: 7.484 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002124/0.4687, allocations: 51.34 kB / 0.556 GB, free: 7.465 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.4687, allocations: 5.188 kB / 0.556 GB, free: 7.461 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.4688, allocations: 23.84 kB / 0.556 GB, free: 7.453 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.4692, allocations: 35.16 kB / 0.556 GB, free: 7.434 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.4698, allocations: 281.9 kB / 0.5563 GB, free: 7.227 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.4702, allocations: 0.7268 MB / 0.557 GB, free: 6.504 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.361e-05/0.4703, allocations: 17.16 kB / 0.557 GB, free: 6.492 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.4704, allocations: 16.09 kB / 0.557 GB, free: 6.484 MB / 398.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.4704, allocations: 0 / 0.557 GB, free: 6.484 MB / 398.1 MB
Notification: Performance of Templates: time 0.005573/0.4759, allocations: 1.788 MB / 0.5588 GB, free: 5.133 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.4513393910601735]