Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.002404/0.002404, allocations: 102 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.002508/0.002508, 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.494/1.494, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.236/0.236, 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 59.91 kB / 497.8 MB, free: 0.9375 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4059, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003397/0.4093, allocations: 1.744 MB / 0.5506 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001884/0.4112, allocations: 0.9005 MB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.4113, allocations: 3.938 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000366/0.4117, allocations: 40.17 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.412, allocations: 57.88 kB / 0.5516 GB, free: 11 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.4124, allocations: 112.2 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002299/0.4126, allocations: 101.2 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4127, allocations: 8.797 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.4128, allocations: 44.06 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.4129, allocations: 34.47 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.413, allocations: 3.656 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.4131, allocations: 47.2 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.653e-05/0.4132, allocations: 18.61 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.4132, allocations: 31.56 kB / 0.5519 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.4135, allocations: 120.5 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4135, allocations: 0 / 0.5521 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.523e-06/0.4135, allocations: 3.938 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.147e-05/0.4135, allocations: 1.125 kB / 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.000658/0.4142, allocations: 340.1 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.4142, allocations: 10.7 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.4143, allocations: 13.2 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.4146, allocations: 154.8 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4146, allocations: 3.031 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.4147, allocations: 9.547 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.4149, allocations: 54.23 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4149, allocations: 4 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4149, allocations: 1.5 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4149, allocations: 0 / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.415, allocations: 22.67 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.4154, allocations: 258.4 kB / 0.5529 GB, free: 9.836 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.4156, allocations: 48.38 kB / 0.5529 GB, free: 9.801 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.4156, allocations: 24.28 kB / 0.553 GB, free: 9.781 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.4157, allocations: 1.156 kB / 0.553 GB, free: 9.781 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.4159, allocations: 64.48 kB / 0.553 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4159, allocations: 4.875 kB / 0.553 GB, free: 9.715 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006122/0.4165, allocations: 182 kB / 0.5532 GB, free: 9.605 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.4165, allocations: 52.47 kB / 0.5532 GB, free: 9.543 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.4167, allocations: 208.8 kB / 0.5534 GB, free: 9.387 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.4168, allocations: 30.98 kB / 0.5535 GB, free: 9.352 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.4168, allocations: 104.6 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.4169, allocations: 24.33 kB / 0.5536 GB, free: 9.23 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.4169, allocations: 24.42 kB / 0.5536 GB, free: 9.207 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001632/0.4171, allocations: 330.2 kB / 0.5539 GB, free: 8.879 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.4172, allocations: 15.56 kB / 0.554 GB, free: 8.875 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.4172, allocations: 38.73 kB / 0.554 GB, free: 8.844 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.4174, allocations: 62.83 kB / 0.5541 GB, free: 8.801 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4174, allocations: 5.281 kB / 0.5541 GB, free: 8.797 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002227/0.4176, allocations: 102.9 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4176, allocations: 5.375 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4176, allocations: 1.094 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4176, allocations: 1.062 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.4177, allocations: 24.59 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4177, allocations: 1.594 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.4178, allocations: 10.17 kB / 0.5542 GB, free: 8.711 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.4178, allocations: 2.562 kB / 0.5542 GB, free: 8.711 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.0001144/0.4179, allocations: 127.2 kB / 0.5543 GB, free: 8.586 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.418, allocations: 13.75 kB / 0.5543 GB, free: 8.578 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.4182, allocations: 116.8 kB / 0.5544 GB, free: 8.496 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4182, allocations: 1.156 kB / 0.5544 GB, free: 8.496 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4182, allocations: 4 kB / 0.5544 GB, free: 8.492 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.4182, allocations: 7.922 kB / 0.5545 GB, free: 8.484 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.4187, allocations: 361.8 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4187, allocations: 1.312 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.4188, allocations: 7.156 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.4188, allocations: 5.297 kB / 0.5548 GB, free: 8.137 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.4188, allocations: 9.156 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4188, allocations: 1.062 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4188, allocations: 1.125 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4191, allocations: 200.9 kB / 0.555 GB, free: 7.957 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.4191, allocations: 11.34 kB / 0.555 GB, free: 7.949 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.4191, allocations: 12.97 kB / 0.555 GB, free: 7.938 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.4192, allocations: 6.219 kB / 0.555 GB, free: 7.934 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.4192, allocations: 7.391 kB / 0.5551 GB, free: 7.93 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.4193, allocations: 7.344 kB / 0.5551 GB, free: 7.926 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001464/0.4194, allocations: 152 kB / 0.5552 GB, free: 7.82 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.21e-07/0.4194, allocations: 192 / 0.5552 GB, free: 7.82 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002821/0.4197, allocations: 24.34 kB / 0.5552 GB, free: 7.812 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.4215, allocations: 464.8 kB / 0.5557 GB, free: 7.59 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002268/0.4218, allocations: 56.31 kB / 0.5557 GB, free: 7.566 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4218, allocations: 0 / 0.5557 GB, free: 7.566 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.074e-05/0.4218, allocations: 24.27 kB / 0.5557 GB, free: 7.559 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.4222, allocations: 25.02 kB / 0.5558 GB, free: 7.547 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.4228, allocations: 243.2 kB / 0.556 GB, free: 7.348 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4232, allocations: 0.7058 MB / 0.5567 GB, free: 6.637 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.872e-05/0.4232, allocations: 23.02 kB / 0.5567 GB, free: 6.625 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.4233, allocations: 18.72 kB / 0.5567 GB, free: 6.613 MB / 398.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.4233, allocations: 0 / 0.5567 GB, free: 6.613 MB / 398.1 MB
Notification: Performance of Templates: time 0.005617/0.4289, allocations: 1.758 MB / 0.5585 GB, free: 5.461 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.483143520541489]