Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001492/0.001492, allocations: 102 kB / 21.22 MB, free: 0.6562 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.001554/0.001554, allocations: 185.2 kB / 24.51 MB, free: 4.016 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.64/1.64, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.251/0.251, allocations: 44.91 MB / 353.5 MB, free: 11.84 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.89 kB / 497.8 MB, free: 0.9688 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4698, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004008/0.4738, allocations: 1.729 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002011/0.4758, allocations: 0.9115 MB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.4759, allocations: 0.9688 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.4762, allocations: 33.8 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000272/0.4765, allocations: 52.64 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.4769, allocations: 116.2 kB / 0.5517 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002104/0.4771, allocations: 92.83 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.4772, allocations: 16.36 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.4773, allocations: 41.08 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.4774, allocations: 29.39 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.4775, allocations: 8.156 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.4776, allocations: 47.59 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.581e-05/0.4777, allocations: 17.58 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.549e-05/0.4778, allocations: 35.83 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.478, allocations: 108.9 kB / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.478, allocations: 0 / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.064e-06/0.478, allocations: 0 / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.723e-06/0.4781, allocations: 1.375 kB / 0.552 GB, free: 10.7 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.0007831/0.4788, allocations: 333.4 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4789, allocations: 17.92 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.4789, allocations: 13.69 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.4793, allocations: 151.5 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4793, allocations: 1.625 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.4793, allocations: 6.375 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4795, allocations: 54.8 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4795, allocations: 0 / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4795, allocations: 1.125 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4795, allocations: 0 / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.4796, allocations: 26.92 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.4801, allocations: 256.4 kB / 0.5529 GB, free: 9.863 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.4803, allocations: 55.7 kB / 0.5529 GB, free: 9.82 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.4803, allocations: 20.92 kB / 0.5529 GB, free: 9.805 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.4804, allocations: 5.078 kB / 0.5529 GB, free: 9.801 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.4806, allocations: 73.64 kB / 0.553 GB, free: 9.73 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.4806, allocations: 0 / 0.553 GB, free: 9.73 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006211/0.4813, allocations: 168.6 kB / 0.5532 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.4813, allocations: 57.36 kB / 0.5532 GB, free: 9.566 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.4815, allocations: 167.7 kB / 0.5534 GB, free: 9.438 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.4815, allocations: 30.92 kB / 0.5534 GB, free: 9.402 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.4816, allocations: 100.8 kB / 0.5535 GB, free: 9.305 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.4817, allocations: 32.11 kB / 0.5535 GB, free: 9.277 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.4817, allocations: 23.94 kB / 0.5536 GB, free: 9.254 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001776/0.4819, allocations: 326.1 kB / 0.5539 GB, free: 8.93 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.482, allocations: 18.36 kB / 0.5539 GB, free: 8.922 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.886e-05/0.482, allocations: 35.61 kB / 0.5539 GB, free: 8.895 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.4822, allocations: 66.7 kB / 0.554 GB, free: 8.848 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4822, allocations: 0.9062 kB / 0.554 GB, free: 8.848 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002607/0.4824, allocations: 95.33 kB / 0.5541 GB, free: 8.789 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4825, allocations: 4.938 kB / 0.5541 GB, free: 8.789 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.4825, allocations: 1.125 kB / 0.5541 GB, free: 8.789 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4825, allocations: 0.9062 kB / 0.5541 GB, free: 8.789 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4826, allocations: 20.39 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.4826, allocations: 1.125 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.4826, allocations: 6.281 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.4826, allocations: 6.75 kB / 0.5541 GB, free: 8.773 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.000126/0.4828, allocations: 132.7 kB / 0.5542 GB, free: 8.645 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.4828, allocations: 13.25 kB / 0.5543 GB, free: 8.637 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.4831, allocations: 122.7 kB / 0.5544 GB, free: 8.551 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4831, allocations: 1.156 kB / 0.5544 GB, free: 8.551 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4831, allocations: 0 / 0.5544 GB, free: 8.551 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4831, allocations: 5.062 kB / 0.5544 GB, free: 8.547 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.4837, allocations: 359.9 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4837, allocations: 0 / 0.5547 GB, free: 8.203 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.4837, allocations: 7.406 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4837, allocations: 5.031 kB / 0.5547 GB, free: 8.199 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4837, allocations: 6.5 kB / 0.5547 GB, free: 8.195 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.4837, allocations: 1.125 kB / 0.5547 GB, free: 8.195 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4837, allocations: 3.984 kB / 0.5547 GB, free: 8.191 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.4841, allocations: 212.1 kB / 0.5549 GB, free: 8.008 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.4842, allocations: 15.27 kB / 0.555 GB, free: 7.996 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.4842, allocations: 6.344 kB / 0.555 GB, free: 7.992 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.4843, allocations: 5.219 kB / 0.555 GB, free: 7.988 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.4843, allocations: 7.516 kB / 0.555 GB, free: 7.984 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.4843, allocations: 3.5 kB / 0.555 GB, free: 7.984 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001341/0.4845, allocations: 133.3 kB / 0.5551 GB, free: 7.887 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4845, allocations: 0 / 0.5551 GB, free: 7.887 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002832/0.4847, allocations: 33.23 kB / 0.5551 GB, free: 7.871 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.001815/0.4866, allocations: 450.2 kB / 0.5556 GB, free: 7.66 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000239/0.4868, allocations: 60.47 kB / 0.5556 GB, free: 7.633 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4868, allocations: 0 / 0.5556 GB, free: 7.633 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.4869, allocations: 27.41 kB / 0.5557 GB, free: 7.621 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.4873, allocations: 28.84 kB / 0.5557 GB, free: 7.605 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.4878, allocations: 211.1 kB / 0.5559 GB, free: 7.43 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.4882, allocations: 0.7047 MB / 0.5566 GB, free: 6.719 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.737e-05/0.4882, allocations: 17.42 kB / 0.5566 GB, free: 6.707 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.4883, allocations: 18.94 kB / 0.5566 GB, free: 6.695 MB / 398.1 MB
Notification: Performance of SimCode: time 2.61e-07/0.4883, allocations: 1.375 kB / 0.5566 GB, free: 6.695 MB / 398.1 MB
Notification: Performance of Templates: time 0.006102/0.4944, allocations: 1.749 MB / 0.5583 GB, free: 5.617 MB / 398.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.5509926825761795]