Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.002076/0.002076, allocations: 104.8 kB / 21.22 MB, free: 0.6758 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.002191/0.002191, allocations: 189.2 kB / 24.51 MB, free: 4.047 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.549/1.549, allocations: 225.6 MB / 253.3 MB, free: 13 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.2534/0.2534, allocations: 44.9 MB / 353.5 MB, free: 11.79 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002981/0.002981, allocations: 75.86 kB / 497.8 MB, free: 0.8945 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.482, allocations: 64.28 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.005024/0.487, allocations: 1.73 MB / 0.5506 GB, free: 11.76 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003678/0.4907, allocations: 1.581 MB / 0.5521 GB, free: 10.52 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.4908, allocations: 1.125 kB / 0.5521 GB, free: 10.52 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000525/0.4914, allocations: 40.3 kB / 0.5522 GB, free: 10.49 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.4917, allocations: 57.86 kB / 0.5522 GB, free: 10.45 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.4921, allocations: 120.1 kB / 0.5523 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000207/0.4923, allocations: 98.77 kB / 0.5524 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4925, allocations: 11.66 kB / 0.5524 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.4926, allocations: 45.09 kB / 0.5525 GB, free: 10.27 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.4928, allocations: 37.31 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.4928, allocations: 4.25 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.4929, allocations: 68.8 kB / 0.5526 GB, free: 10.21 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.493, allocations: 16.59 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.4931, allocations: 30.52 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.4933, allocations: 129.9 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4933, allocations: 1.094 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.265e-06/0.4933, allocations: 0 / 0.5527 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.177e-05/0.4933, allocations: 0 / 0.5527 GB, free: 10.1 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.0007247/0.4941, allocations: 337.9 kB / 0.5531 GB, free: 9.77 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4941, allocations: 9.641 kB / 0.5531 GB, free: 9.77 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.4942, allocations: 13.14 kB / 0.5531 GB, free: 9.762 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.4945, allocations: 144.4 kB / 0.5532 GB, free: 9.609 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.4946, allocations: 1.469 kB / 0.5532 GB, free: 9.609 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.4946, allocations: 10.31 kB / 0.5532 GB, free: 9.602 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.4948, allocations: 69.75 kB / 0.5533 GB, free: 9.535 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.4949, allocations: 5.047 kB / 0.5533 GB, free: 9.531 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.4949, allocations: 4 kB / 0.5533 GB, free: 9.527 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4949, allocations: 1.25 kB / 0.5533 GB, free: 9.527 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.495, allocations: 18.48 kB / 0.5533 GB, free: 9.52 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.4954, allocations: 259.9 kB / 0.5536 GB, free: 9.242 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.4956, allocations: 51.58 kB / 0.5536 GB, free: 9.203 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.4957, allocations: 21.06 kB / 0.5537 GB, free: 9.188 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.4957, allocations: 1.125 kB / 0.5537 GB, free: 9.188 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.4959, allocations: 69.17 kB / 0.5537 GB, free: 9.121 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.4959, allocations: 0 / 0.5537 GB, free: 9.121 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.000632/0.4965, allocations: 172.7 kB / 0.5539 GB, free: 9.02 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.4966, allocations: 82.3 kB / 0.554 GB, free: 8.922 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.4968, allocations: 146.5 kB / 0.5541 GB, free: 8.801 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.4968, allocations: 30.92 kB / 0.5541 GB, free: 8.766 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.4969, allocations: 95.72 kB / 0.5542 GB, free: 8.672 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.497, allocations: 27.28 kB / 0.5542 GB, free: 8.648 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.497, allocations: 28.91 kB / 0.5543 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002208/0.4972, allocations: 326 kB / 0.5546 GB, free: 8.297 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.849e-05/0.4973, allocations: 15.25 kB / 0.5546 GB, free: 8.293 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.4974, allocations: 48.8 kB / 0.5546 GB, free: 8.25 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4975, allocations: 50.84 kB / 0.5547 GB, free: 8.219 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4975, allocations: 1.094 kB / 0.5547 GB, free: 8.219 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002478/0.4978, allocations: 110.6 kB / 0.5548 GB, free: 8.145 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4978, allocations: 5.594 kB / 0.5548 GB, free: 8.145 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4978, allocations: 0 / 0.5548 GB, free: 8.145 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4978, allocations: 5 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.498, allocations: 21.09 kB / 0.5548 GB, free: 8.133 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.498, allocations: 1.188 kB / 0.5548 GB, free: 8.133 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.498, allocations: 10.45 kB / 0.5548 GB, free: 8.125 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.498, allocations: 7.359 kB / 0.5549 GB, free: 8.121 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.0001415/0.4982, allocations: 128.5 kB / 0.555 GB, free: 7.992 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.4982, allocations: 12.47 kB / 0.555 GB, free: 7.984 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.4985, allocations: 108.9 kB / 0.5551 GB, free: 7.91 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4985, allocations: 6.344 kB / 0.5551 GB, free: 7.906 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4985, allocations: 0 / 0.5551 GB, free: 7.906 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4985, allocations: 3.938 kB / 0.5551 GB, free: 7.902 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.499, allocations: 362.3 kB / 0.5554 GB, free: 7.555 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.499, allocations: 1.031 kB / 0.5554 GB, free: 7.555 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.4991, allocations: 14.86 kB / 0.5555 GB, free: 7.547 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4991, allocations: 1.062 kB / 0.5555 GB, free: 7.547 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4991, allocations: 6.5 kB / 0.5555 GB, free: 7.543 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4991, allocations: 1.406 kB / 0.5555 GB, free: 7.543 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4991, allocations: 0 / 0.5555 GB, free: 7.543 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4994, allocations: 195.9 kB / 0.5557 GB, free: 7.375 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.4994, allocations: 11.17 kB / 0.5557 GB, free: 7.367 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.4994, allocations: 10.05 kB / 0.5557 GB, free: 7.359 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.4995, allocations: 6.25 kB / 0.5557 GB, free: 7.355 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4995, allocations: 10.11 kB / 0.5557 GB, free: 7.348 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.4996, allocations: 4.438 kB / 0.5557 GB, free: 7.348 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001163/0.4997, allocations: 121.7 kB / 0.5558 GB, free: 7.25 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4997, allocations: 0 / 0.5558 GB, free: 7.25 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002966/0.5, allocations: 28.59 kB / 0.5558 GB, free: 7.242 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.001988/0.502, allocations: 0.5065 MB / 0.5563 GB, free: 6.996 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000236/0.5022, allocations: 52.05 kB / 0.5564 GB, free: 6.977 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5022, allocations: 0 / 0.5564 GB, free: 6.977 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.5023, allocations: 24.3 kB / 0.5564 GB, free: 6.969 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.5027, allocations: 29.77 kB / 0.5564 GB, free: 6.953 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.5032, allocations: 203.3 kB / 0.5566 GB, free: 6.773 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.5036, allocations: 0.7012 MB / 0.5573 GB, free: 6.062 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.897e-05/0.5037, allocations: 11.42 kB / 0.5573 GB, free: 6.059 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.5038, allocations: 20.27 kB / 0.5573 GB, free: 6.047 MB / 398.1 MB
Notification: Performance of SimCode: time 3.91e-07/0.5038, allocations: 0 / 0.5573 GB, free: 6.047 MB / 398.1 MB
Notification: Performance of Templates: time 0.005888/0.5097, allocations: 2.016 MB / 0.5593 GB, free: 4.562 MB / 398.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.720345055684447]