Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001409/0.001409, 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.001514/0.001514, allocations: 187.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.538/1.538, 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.2429/0.2429, 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.89 kB / 497.8 MB, free: 0.9453 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4681, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003898/0.472, allocations: 1.686 MB / 0.5505 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001784/0.4737, allocations: 0.8788 MB / 0.5514 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.4738, allocations: 5.094 kB / 0.5514 GB, free: 11.13 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.4742, allocations: 50.53 kB / 0.5514 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000275/0.4745, allocations: 64.75 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.4749, allocations: 105.5 kB / 0.5516 GB, free: 10.98 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002094/0.4751, allocations: 103.3 kB / 0.5517 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.669e-05/0.4752, allocations: 2.094 kB / 0.5517 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4753, allocations: 51.48 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.4754, allocations: 37.66 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.4754, allocations: 6.906 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.4755, allocations: 35.33 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.4756, allocations: 21.47 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.4757, allocations: 22.78 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.4759, allocations: 105.4 kB / 0.552 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4759, allocations: 0 / 0.552 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.363e-06/0.4759, allocations: 0 / 0.552 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.532e-06/0.4759, allocations: 0 / 0.552 GB, free: 10.76 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0006333/0.4766, allocations: 320.4 kB / 0.5523 GB, free: 10.44 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4766, allocations: 14.17 kB / 0.5523 GB, free: 10.44 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.4767, allocations: 17.5 kB / 0.5523 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.477, allocations: 140.3 kB / 0.5524 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.477, allocations: 1.688 kB / 0.5524 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.4771, allocations: 5.375 kB / 0.5524 GB, free: 10.27 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.4772, allocations: 58.75 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4772, allocations: 0 / 0.5525 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4773, allocations: 1.156 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4773, allocations: 0 / 0.5525 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.4773, allocations: 13.22 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.4776, allocations: 153.2 kB / 0.5527 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.4778, allocations: 53.05 kB / 0.5527 GB, free: 9.992 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.4778, allocations: 19.89 kB / 0.5527 GB, free: 9.977 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.4778, allocations: 4.984 kB / 0.5527 GB, free: 9.973 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.478, allocations: 71.89 kB / 0.5528 GB, free: 9.902 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.478, allocations: 1.062 kB / 0.5528 GB, free: 9.902 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0003602/0.4784, allocations: 90.78 kB / 0.5529 GB, free: 9.844 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.4784, allocations: 52.5 kB / 0.5529 GB, free: 9.781 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.4787, allocations: 169.1 kB / 0.5531 GB, free: 9.652 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.4787, allocations: 26.83 kB / 0.5531 GB, free: 9.621 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.4788, allocations: 99.56 kB / 0.5532 GB, free: 9.523 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.4789, allocations: 27.2 kB / 0.5532 GB, free: 9.5 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.4789, allocations: 22.25 kB / 0.5533 GB, free: 9.477 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0003122/0.4792, allocations: 322.1 kB / 0.5536 GB, free: 9.156 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.4793, allocations: 15.67 kB / 0.5536 GB, free: 9.148 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.4794, allocations: 27.52 kB / 0.5536 GB, free: 9.125 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.4795, allocations: 39.44 kB / 0.5537 GB, free: 9.098 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4795, allocations: 4 kB / 0.5537 GB, free: 9.094 MB / 398.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001855/0.4797, allocations: 91.28 kB / 0.5537 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.4797, allocations: 5.469 kB / 0.5537 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4797, allocations: 0 / 0.5537 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4797, allocations: 1.844 kB / 0.5538 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.4798, allocations: 8.844 kB / 0.5538 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4798, allocations: 0.9062 kB / 0.5538 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.4799, allocations: 10.2 kB / 0.5538 GB, free: 9.02 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4799, allocations: 2.031 kB / 0.5538 GB, free: 9.02 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 (7):
 * Single equations (assignments): 7
 * 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.000231/0.4801, allocations: 132.6 kB / 0.5539 GB, free: 8.887 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.4802, allocations: 12.81 kB / 0.5539 GB, free: 8.879 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.4804, allocations: 85.33 kB / 0.554 GB, free: 8.812 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4804, allocations: 5.078 kB / 0.554 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4804, allocations: 0 / 0.554 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4804, allocations: 0 / 0.554 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.4806, allocations: 159.8 kB / 0.5541 GB, free: 8.625 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4806, allocations: 0 / 0.5541 GB, free: 8.625 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.4806, allocations: 3.625 kB / 0.5542 GB, free: 8.625 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4806, allocations: 4 kB / 0.5542 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4806, allocations: 1.062 kB / 0.5542 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.4806, allocations: 5.094 kB / 0.5542 GB, free: 8.617 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4806, allocations: 0 / 0.5542 GB, free: 8.617 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.4808, allocations: 113.8 kB / 0.5543 GB, free: 8.52 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.4809, allocations: 6.578 kB / 0.5543 GB, free: 8.516 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.4809, allocations: 5.141 kB / 0.5543 GB, free: 8.512 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.4809, allocations: 5.656 kB / 0.5543 GB, free: 8.508 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.481, allocations: 2.625 kB / 0.5543 GB, free: 8.508 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.481, allocations: 5.375 kB / 0.5543 GB, free: 8.504 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001372/0.4811, allocations: 137.3 kB / 0.5544 GB, free: 8.402 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4811, allocations: 1.062 kB / 0.5544 GB, free: 8.402 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002301/0.4813, allocations: 12.19 kB / 0.5544 GB, free: 8.402 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 (5):
 * Single equations (assignments): 3
 * 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.001639/0.483, allocations: 422.5 kB / 0.5548 GB, free: 8.191 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002117/0.4832, allocations: 41.92 kB / 0.5549 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4832, allocations: 1.156 kB / 0.5549 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.4833, allocations: 18.73 kB / 0.5549 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.4836, allocations: 23.42 kB / 0.5549 GB, free: 8.152 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.4842, allocations: 186.2 kB / 0.5551 GB, free: 7.996 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.4846, allocations: 0.7127 MB / 0.5558 GB, free: 7.273 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.344e-05/0.4846, allocations: 20.39 kB / 0.5558 GB, free: 7.262 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.4847, allocations: 13.06 kB / 0.5558 GB, free: 7.254 MB / 398.1 MB
Notification: Performance of SimCode: time 8.31e-07/0.4847, allocations: 0 / 0.5558 GB, free: 7.254 MB / 398.1 MB
Notification: Performance of Templates: time 0.005834/0.4905, allocations: 1.493 MB / 0.5573 GB, free: 6.496 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.537614175118506]