Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001499/0.001499, allocations: 108.5 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.001456/0.001456, allocations: 186.4 kB / 24.51 MB, free: 4.031 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.518/1.518, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.2604/0.2604, 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 497.8 MB, free: 0.9492 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3988, allocations: 64.29 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004123/0.4029, allocations: 1.947 MB / 0.5508 GB, free: 11.62 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001891/0.4048, allocations: 0.9405 MB / 0.5517 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.4049, allocations: 1.281 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.4053, allocations: 41.2 kB / 0.5517 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.4056, allocations: 60.8 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.4059, allocations: 127.8 kB / 0.5519 GB, free: 10.72 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002537/0.4062, allocations: 142.4 kB / 0.552 GB, free: 10.63 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.4063, allocations: 27.48 kB / 0.5521 GB, free: 10.61 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.4064, allocations: 58.58 kB / 0.5521 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4065, allocations: 49.34 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.4066, allocations: 7.156 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.4067, allocations: 45.98 kB / 0.5522 GB, free: 10.52 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.4068, allocations: 34.78 kB / 0.5523 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.4069, allocations: 51.42 kB / 0.5523 GB, free: 10.46 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.4072, allocations: 138.2 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4072, allocations: 1.344 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.493e-06/0.4072, allocations: 0 / 0.5524 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.921e-06/0.4072, allocations: 0 / 0.5524 GB, free: 10.37 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.0007812/0.4079, allocations: 419.9 kB / 0.5528 GB, free: 9.969 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.408, allocations: 9.734 kB / 0.5529 GB, free: 9.969 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.408, allocations: 16.44 kB / 0.5529 GB, free: 9.961 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.4084, allocations: 166.8 kB / 0.553 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4084, allocations: 3.062 kB / 0.553 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.4085, allocations: 13.44 kB / 0.553 GB, free: 9.785 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.4088, allocations: 113.5 kB / 0.5532 GB, free: 9.691 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4088, allocations: 0 / 0.5532 GB, free: 9.691 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.4088, allocations: 5.188 kB / 0.5532 GB, free: 9.688 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4088, allocations: 1.188 kB / 0.5532 GB, free: 9.688 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.409, allocations: 51.31 kB / 0.5532 GB, free: 9.664 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.4097, allocations: 486 kB / 0.5537 GB, free: 9.184 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.4101, allocations: 88.66 kB / 0.5538 GB, free: 9.125 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4102, allocations: 33.94 kB / 0.5538 GB, free: 9.105 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4102, allocations: 1.344 kB / 0.5538 GB, free: 9.105 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.4104, allocations: 89.66 kB / 0.5539 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.4104, allocations: 0 / 0.5539 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0004265/0.4108, allocations: 142.8 kB / 0.554 GB, free: 8.945 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.4109, allocations: 64.2 kB / 0.5541 GB, free: 8.871 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.4111, allocations: 187.7 kB / 0.5543 GB, free: 8.723 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4111, allocations: 26.95 kB / 0.5543 GB, free: 8.691 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.4112, allocations: 114.1 kB / 0.5544 GB, free: 8.582 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4112, allocations: 32.81 kB / 0.5544 GB, free: 8.555 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.4113, allocations: 26.12 kB / 0.5544 GB, free: 8.531 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001924/0.4115, allocations: 330.6 kB / 0.5548 GB, free: 8.203 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/0.4116, allocations: 27.58 kB / 0.5548 GB, free: 8.191 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.4117, allocations: 64.92 kB / 0.5548 GB, free: 8.133 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.4119, allocations: 101.6 kB / 0.5549 GB, free: 8.055 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4119, allocations: 0 / 0.5549 GB, free: 8.055 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002932/0.4122, allocations: 138.3 kB / 0.5551 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4123, allocations: 9.938 kB / 0.5551 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4123, allocations: 1.344 kB / 0.5551 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4123, allocations: 6.25 kB / 0.5551 GB, free: 7.965 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.4124, allocations: 26.23 kB / 0.5551 GB, free: 7.957 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4124, allocations: 6.219 kB / 0.5551 GB, free: 7.953 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.4125, allocations: 17.05 kB / 0.5551 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4125, allocations: 3.219 kB / 0.5551 GB, free: 7.941 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (14):
 * Single equations (assignments): 14
 * 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.0001309/0.4126, allocations: 135.4 kB / 0.5553 GB, free: 7.809 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.4126, allocations: 13.97 kB / 0.5553 GB, free: 7.801 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.413, allocations: 129.7 kB / 0.5554 GB, free: 7.715 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.413, allocations: 3.938 kB / 0.5554 GB, free: 7.711 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.413, allocations: 5.375 kB / 0.5554 GB, free: 7.707 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.413, allocations: 0 / 0.5554 GB, free: 7.707 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.4132, allocations: 180.6 kB / 0.5556 GB, free: 7.512 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4132, allocations: 1.188 kB / 0.5556 GB, free: 7.512 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.4132, allocations: 13.7 kB / 0.5556 GB, free: 7.508 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4133, allocations: 0 / 0.5556 GB, free: 7.508 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4133, allocations: 2.25 kB / 0.5556 GB, free: 7.508 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4133, allocations: 3.938 kB / 0.5556 GB, free: 7.504 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4133, allocations: 4 kB / 0.5556 GB, free: 7.5 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.4137, allocations: 177.1 kB / 0.5558 GB, free: 7.379 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.4137, allocations: 16.12 kB / 0.5558 GB, free: 7.367 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.4137, allocations: 9.078 kB / 0.5558 GB, free: 7.359 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.4138, allocations: 8.469 kB / 0.5558 GB, free: 7.355 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.4138, allocations: 7.078 kB / 0.5558 GB, free: 7.352 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4138, allocations: 10.41 kB / 0.5558 GB, free: 7.344 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001295/0.414, allocations: 144.1 kB / 0.556 GB, free: 7.238 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.414, allocations: 0 / 0.556 GB, free: 7.238 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002385/0.4142, allocations: 27.66 kB / 0.556 GB, free: 7.23 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (err1.y)
 * 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 (9):
 * Single equations (assignments): 7
 * 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.001511/0.4157, allocations: 414.6 kB / 0.5564 GB, free: 7.023 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002717/0.416, allocations: 81.7 kB / 0.5565 GB, free: 6.988 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.416, allocations: 0 / 0.5565 GB, free: 6.988 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.4161, allocations: 35.83 kB / 0.5565 GB, free: 6.973 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.4165, allocations: 41.2 kB / 0.5565 GB, free: 6.953 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.4171, allocations: 252.6 kB / 0.5568 GB, free: 6.754 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.4175, allocations: 0.7186 MB / 0.5575 GB, free: 6.035 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 7.685e-05/0.4176, allocations: 19.31 kB / 0.5575 GB, free: 6.027 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.4176, allocations: 23.58 kB / 0.5575 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of SimCode: time 6.81e-07/0.4176, allocations: 0 / 0.5575 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of Templates: time 0.006062/0.4237, allocations: 1.948 MB / 0.5594 GB, free: 4.387 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.391186765395105]