Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001883/0.001883, 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.00288/0.00288, 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.582/1.582, 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.2721/0.2721, allocations: 44.9 MB / 353.5 MB, free: 11.8 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 497.8 MB, free: 0.9062 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4021, allocations: 64.29 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003392/0.4055, allocations: 1.913 MB / 0.5508 GB, free: 11.62 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001752/0.4073, allocations: 1.001 MB / 0.5517 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.4073, allocations: 5.625 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.4079, allocations: 254.9 kB / 0.552 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.4083, allocations: 187.1 kB / 0.5522 GB, free: 10.6 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.4088, allocations: 183.9 kB / 0.5524 GB, free: 10.47 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000362/0.4092, allocations: 262.1 kB / 0.5526 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.4093, allocations: 25.67 kB / 0.5526 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.4095, allocations: 141.1 kB / 0.5528 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.4098, allocations: 202.5 kB / 0.553 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.4098, allocations: 8.125 kB / 0.553 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.41, allocations: 65.66 kB / 0.553 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000109/0.4101, allocations: 69.08 kB / 0.5531 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.4102, allocations: 97.75 kB / 0.5532 GB, free: 9.996 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.4106, allocations: 243 kB / 0.5534 GB, free: 9.844 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4106, allocations: 1.25 kB / 0.5534 GB, free: 9.844 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.523e-06/0.4106, allocations: 0 / 0.5534 GB, free: 9.844 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.663e-06/0.4106, allocations: 0 / 0.5534 GB, free: 9.844 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0008222/0.4114, allocations: 0.5005 MB / 0.5539 GB, free: 9.387 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4114, allocations: 13.58 kB / 0.5539 GB, free: 9.383 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.4115, allocations: 33.84 kB / 0.5539 GB, free: 9.363 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.412, allocations: 223.2 kB / 0.5542 GB, free: 9.156 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.412, allocations: 11.64 kB / 0.5542 GB, free: 9.148 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.412, allocations: 10.34 kB / 0.5542 GB, free: 9.145 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.4123, allocations: 114.5 kB / 0.5543 GB, free: 9.051 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4123, allocations: 5.25 kB / 0.5543 GB, free: 9.047 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.4123, allocations: 9.219 kB / 0.5543 GB, free: 9.039 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4124, allocations: 5.266 kB / 0.5543 GB, free: 9.035 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.4125, allocations: 40.75 kB / 0.5543 GB, free: 9.02 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.4131, allocations: 442.9 kB / 0.5548 GB, free: 8.602 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.4135, allocations: 122.5 kB / 0.5549 GB, free: 8.512 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4137, allocations: 38.48 kB / 0.5549 GB, free: 8.484 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.4137, allocations: 7.234 kB / 0.5549 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.4139, allocations: 120.2 kB / 0.555 GB, free: 8.375 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.4139, allocations: 3.938 kB / 0.5551 GB, free: 8.371 MB / 398.1 MB
Notification: Performance of matching and sorting (n=22): time 0.001382/0.4153, allocations: 0.5035 MB / 0.5555 GB, free: 8.094 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.4154, allocations: 84.17 kB / 0.5556 GB, free: 7.996 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.4159, allocations: 480.6 kB / 0.5561 GB, free: 7.742 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.416, allocations: 40.06 kB / 0.5561 GB, free: 7.699 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.4161, allocations: 160.6 kB / 0.5563 GB, free: 7.555 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.4162, allocations: 65.38 kB / 0.5563 GB, free: 7.5 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.4163, allocations: 45.7 kB / 0.5564 GB, free: 7.465 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001942/0.4165, allocations: 345.6 kB / 0.5567 GB, free: 7.129 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.4166, allocations: 57.03 kB / 0.5568 GB, free: 7.102 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.4168, allocations: 94.94 kB / 0.5569 GB, free: 7.008 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.4171, allocations: 159.5 kB / 0.557 GB, free: 6.84 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4171, allocations: 3.938 kB / 0.557 GB, free: 6.836 MB / 398.1 MB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004497/0.4175, allocations: 233.3 kB / 0.5572 GB, free: 6.602 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4175, allocations: 7.938 kB / 0.5572 GB, free: 6.594 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.4175, allocations: 4.062 kB / 0.5572 GB, free: 6.59 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4176, allocations: 7.938 kB / 0.5573 GB, free: 6.582 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.4177, allocations: 47.91 kB / 0.5573 GB, free: 6.535 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4177, allocations: 4 kB / 0.5573 GB, free: 6.531 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.4178, allocations: 8 kB / 0.5573 GB, free: 6.523 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.4178, allocations: 12 kB / 0.5573 GB, free: 6.512 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (26):
 * Single equations (assignments): 26
 * 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.0001931/0.418, allocations: 174.2 kB / 0.5575 GB, free: 6.332 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.4181, allocations: 43.69 kB / 0.5575 GB, free: 6.289 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005699/0.4187, allocations: 273.2 kB / 0.5578 GB, free: 6.016 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4187, allocations: 4 kB / 0.5578 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4187, allocations: 0 / 0.5578 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4187, allocations: 0 / 0.5578 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.4197, allocations: 0.7068 MB / 0.5585 GB, free: 5.242 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4197, allocations: 0 / 0.5585 GB, free: 5.242 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.4198, allocations: 31.92 kB / 0.5585 GB, free: 5.211 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4198, allocations: 4 kB / 0.5585 GB, free: 5.207 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.4198, allocations: 7.984 kB / 0.5585 GB, free: 5.199 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4198, allocations: 0 / 0.5585 GB, free: 5.199 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4199, allocations: 4 kB / 0.5585 GB, free: 5.195 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.4204, allocations: 429.9 kB / 0.5589 GB, free: 4.746 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.4205, allocations: 35.75 kB / 0.559 GB, free: 4.711 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.4205, allocations: 8 kB / 0.559 GB, free: 4.703 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.4206, allocations: 4 kB / 0.559 GB, free: 4.699 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.4207, allocations: 27.91 kB / 0.559 GB, free: 4.672 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.4207, allocations: 11.98 kB / 0.559 GB, free: 4.66 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0004034/0.4211, allocations: 359.1 kB / 0.5594 GB, free: 4.312 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4211, allocations: 0 / 0.5594 GB, free: 4.312 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003954/0.4215, allocations: 52.11 kB / 0.5594 GB, free: 4.262 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.002011/0.4235, allocations: 0.5176 MB / 0.5599 GB, free: 3.949 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004512/0.424, allocations: 155.7 kB / 0.5601 GB, free: 3.797 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.424, allocations: 0 / 0.5601 GB, free: 3.797 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000185/0.4242, allocations: 75.84 kB / 0.5601 GB, free: 3.723 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.4248, allocations: 64.86 kB / 0.5602 GB, free: 3.668 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4259, allocations: 0.5825 MB / 0.5608 GB, free: 3.039 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.4263, allocations: 0.7829 MB / 0.5615 GB, free: 2.23 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001066/0.4265, allocations: 37.92 kB / 0.5616 GB, free: 2.195 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.4265, allocations: 27.44 kB / 0.5616 GB, free: 2.168 MB / 398.1 MB
Notification: Performance of SimCode: time 4.91e-07/0.4265, allocations: 0 / 0.5616 GB, free: 2.168 MB / 398.1 MB
Notification: Performance of Templates: time 0.007816/0.4343, allocations: 3.263 MB / 0.5648 GB, free: 14.94 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.742060856893659]