Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001826/0.001826, 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.002957/0.002957, allocations: 186.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.598/1.598, 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.2399/0.2399, allocations: 44.91 MB / 353.5 MB, free: 11.81 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003166/0.003166, allocations: 63.91 kB / 497.8 MB, free: 0.9375 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3989, allocations: 64.3 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003482/0.4024, allocations: 1.737 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00156/0.4039, allocations: 0.8999 MB / 0.5515 GB, free: 11.09 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.404, allocations: 4 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.4043, allocations: 40.36 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.4046, allocations: 58.28 kB / 0.5516 GB, free: 11.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.4049, allocations: 112.2 kB / 0.5517 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001965/0.4051, allocations: 97.81 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4052, allocations: 3.016 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.4054, allocations: 49.61 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.4055, allocations: 37.05 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.4055, allocations: 3.75 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.4056, allocations: 47.56 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.4057, allocations: 22.67 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.4057, allocations: 27.97 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.406, allocations: 120.4 kB / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.406, allocations: 0 / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.222e-06/0.406, allocations: 0 / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.14e-06/0.406, allocations: 3.938 kB / 0.5521 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.0005838/0.4065, allocations: 347.4 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4066, allocations: 10.2 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.4066, allocations: 9.578 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.4069, allocations: 158.2 kB / 0.5526 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4069, allocations: 1.469 kB / 0.5526 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4069, allocations: 6.406 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.4071, allocations: 54.8 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4071, allocations: 0 / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4071, allocations: 5.109 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4071, allocations: 3.938 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.109e-05/0.4072, allocations: 26.92 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.4076, allocations: 254.7 kB / 0.5529 GB, free: 9.844 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.4078, allocations: 47.84 kB / 0.5529 GB, free: 9.809 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.4078, allocations: 24.03 kB / 0.553 GB, free: 9.789 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4079, allocations: 13.06 kB / 0.553 GB, free: 9.777 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.408, allocations: 65.36 kB / 0.553 GB, free: 9.715 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 3.577e-06/0.408, allocations: 3.984 kB / 0.553 GB, free: 9.711 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005594/0.4086, allocations: 178.2 kB / 0.5532 GB, free: 9.605 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.4086, allocations: 60.67 kB / 0.5533 GB, free: 9.535 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.4088, allocations: 193.2 kB / 0.5534 GB, free: 9.395 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4089, allocations: 26.64 kB / 0.5535 GB, free: 9.363 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.4089, allocations: 109.5 kB / 0.5536 GB, free: 9.258 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.409, allocations: 22.67 kB / 0.5536 GB, free: 9.238 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.409, allocations: 25.02 kB / 0.5536 GB, free: 9.215 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001528/0.4092, allocations: 330 kB / 0.5539 GB, free: 8.887 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.687e-05/0.4092, allocations: 15.12 kB / 0.554 GB, free: 8.883 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.4093, allocations: 36.42 kB / 0.554 GB, free: 8.855 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.4094, allocations: 66.73 kB / 0.5541 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4094, allocations: 384 / 0.5541 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.4096, allocations: 103 kB / 0.5542 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4097, allocations: 5.688 kB / 0.5542 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4097, allocations: 0.9062 kB / 0.5542 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4097, allocations: 1.469 kB / 0.5542 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.4098, allocations: 20.09 kB / 0.5542 GB, free: 8.734 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.4098, allocations: 1.219 kB / 0.5542 GB, free: 8.734 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.4098, allocations: 14.2 kB / 0.5542 GB, free: 8.723 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.4098, allocations: 3.375 kB / 0.5542 GB, free: 8.723 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.0001139/0.41, allocations: 127.3 kB / 0.5543 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.41, allocations: 13.78 kB / 0.5543 GB, free: 8.59 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.4103, allocations: 120.3 kB / 0.5544 GB, free: 8.504 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4103, allocations: 1.094 kB / 0.5544 GB, free: 8.504 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4103, allocations: 0 / 0.5544 GB, free: 8.504 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4103, allocations: 5.219 kB / 0.5545 GB, free: 8.5 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.4107, allocations: 364.8 kB / 0.5548 GB, free: 8.152 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.4107, allocations: 5.141 kB / 0.5548 GB, free: 8.148 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.4108, allocations: 7.094 kB / 0.5548 GB, free: 8.148 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4108, allocations: 1.125 kB / 0.5548 GB, free: 8.148 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4108, allocations: 6.375 kB / 0.5548 GB, free: 8.145 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4108, allocations: 0 / 0.5548 GB, free: 8.145 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4108, allocations: 5.094 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.4111, allocations: 208.8 kB / 0.555 GB, free: 7.961 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.4111, allocations: 12 kB / 0.555 GB, free: 7.953 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.4111, allocations: 13.34 kB / 0.555 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.4112, allocations: 2.594 kB / 0.555 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.4112, allocations: 6.672 kB / 0.5551 GB, free: 7.938 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.4112, allocations: 3.406 kB / 0.5551 GB, free: 7.938 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001382/0.4114, allocations: 154.7 kB / 0.5552 GB, free: 7.828 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4114, allocations: 5.062 kB / 0.5552 GB, free: 7.824 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002549/0.4116, allocations: 24.5 kB / 0.5552 GB, free: 7.816 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.001644/0.4133, allocations: 449.1 kB / 0.5557 GB, free: 7.609 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002079/0.4135, allocations: 64.78 kB / 0.5557 GB, free: 7.578 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4135, allocations: 0 / 0.5557 GB, free: 7.578 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.4135, allocations: 31.14 kB / 0.5558 GB, free: 7.562 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.4139, allocations: 32.41 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.0004866/0.4144, allocations: 232.1 kB / 0.556 GB, free: 7.359 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.4148, allocations: 0.7092 MB / 0.5567 GB, free: 6.645 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 4.858e-05/0.4148, allocations: 18.86 kB / 0.5567 GB, free: 6.637 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.4148, allocations: 19.12 kB / 0.5567 GB, free: 6.625 MB / 398.1 MB
Notification: Performance of SimCode: time 4.01e-07/0.4148, allocations: 0 / 0.5567 GB, free: 6.625 MB / 398.1 MB
Notification: Performance of Templates: time 0.00477/0.4196, allocations: 1.763 MB / 0.5585 GB, free: 5.469 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.535288440994918]