Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001347/0.001347, 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.001577/0.001577, 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.498/1.498, 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.2487/0.2487, 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 64.03 kB / 497.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.494, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004058/0.4981, allocations: 1.75 MB / 0.5506 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.5001, allocations: 0.9061 MB / 0.5515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.5002, allocations: 5.094 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.5008, allocations: 102.3 kB / 0.5516 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.5011, allocations: 87.14 kB / 0.5517 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.5015, allocations: 115.7 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.5018, allocations: 121.3 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.502, allocations: 8.391 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.5021, allocations: 60.98 kB / 0.552 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.5023, allocations: 69.56 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.5023, allocations: 7.406 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.5025, allocations: 65.77 kB / 0.5521 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.089e-05/0.5026, allocations: 21.2 kB / 0.5521 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.788e-05/0.5027, allocations: 41.12 kB / 0.5522 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.5031, allocations: 144.9 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5031, allocations: 0 / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5031, allocations: 1.219 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.5031, allocations: 0 / 0.5523 GB, free: 10.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008443/0.5039, allocations: 374.1 kB / 0.5527 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.504, allocations: 13.27 kB / 0.5527 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.504, allocations: 15.69 kB / 0.5527 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.5044, allocations: 160.5 kB / 0.5528 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5044, allocations: 1.438 kB / 0.5528 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.5045, allocations: 11.38 kB / 0.5528 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.5047, allocations: 60.12 kB / 0.5529 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5047, allocations: 1.125 kB / 0.5529 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5047, allocations: 0 / 0.5529 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.5047, allocations: 1.125 kB / 0.5529 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.5048, allocations: 28.36 kB / 0.5529 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.5053, allocations: 277.3 kB / 0.5532 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.5055, allocations: 59.7 kB / 0.5533 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.5056, allocations: 17.58 kB / 0.5533 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.5056, allocations: 4.969 kB / 0.5533 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.5058, allocations: 78.94 kB / 0.5534 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.5058, allocations: 0 / 0.5534 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008676/0.5067, allocations: 236 kB / 0.5536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.5067, allocations: 56.53 kB / 0.5536 GB, free: 9.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.5071, allocations: 248.8 kB / 0.5539 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.5071, allocations: 27.8 kB / 0.5539 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.5072, allocations: 117.9 kB / 0.554 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.5073, allocations: 41.27 kB / 0.554 GB, free: 9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.5074, allocations: 26.41 kB / 0.5541 GB, free: 8.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.5076, allocations: 323.5 kB / 0.5544 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.5077, allocations: 31.27 kB / 0.5544 GB, free: 8.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.5078, allocations: 48.14 kB / 0.5545 GB, free: 8.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.508, allocations: 80.89 kB / 0.5545 GB, free: 8.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.508, allocations: 0 / 0.5545 GB, free: 8.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002989/0.5083, allocations: 126.6 kB / 0.5547 GB, free: 8.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5083, allocations: 8.969 kB / 0.5547 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.5083, allocations: 5.453 kB / 0.5547 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.5083, allocations: 1.062 kB / 0.5547 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.5084, allocations: 21.11 kB / 0.5547 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.5084, allocations: 9.297 kB / 0.5547 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.5085, allocations: 5.375 kB / 0.5547 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.5085, allocations: 7.469 kB / 0.5547 GB, free: 8.453 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 (13): * Single equations (assignments): 13 * 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.000168/0.5087, allocations: 143.4 kB / 0.5548 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.5087, allocations: 14.78 kB / 0.5549 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.5091, allocations: 141.2 kB / 0.555 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5091, allocations: 1.125 kB / 0.555 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5091, allocations: 5.562 kB / 0.555 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5091, allocations: 0 / 0.555 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.5098, allocations: 429.4 kB / 0.5554 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5098, allocations: 1.656 kB / 0.5554 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.5099, allocations: 11.59 kB / 0.5554 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5099, allocations: 1.094 kB / 0.5554 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.5099, allocations: 10.16 kB / 0.5554 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.5099, allocations: 2.219 kB / 0.5554 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.5099, allocations: 0 / 0.5554 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.5102, allocations: 243.8 kB / 0.5557 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.5103, allocations: 16.27 kB / 0.5557 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.5103, allocations: 2 kB / 0.5557 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.5104, allocations: 10.17 kB / 0.5557 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.5104, allocations: 12.45 kB / 0.5557 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.5104, allocations: 4.594 kB / 0.5557 GB, free: 7.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.5106, allocations: 189.3 kB / 0.5559 GB, free: 7.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5106, allocations: 0.5625 kB / 0.5559 GB, free: 7.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.5109, allocations: 29.44 kB / 0.5559 GB, free: 7.461 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001968/0.5129, allocations: 0.5152 MB / 0.5564 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.5131, allocations: 71.06 kB / 0.5565 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.5131, allocations: 0 / 0.5565 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.5132, allocations: 41.86 kB / 0.5565 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.5136, allocations: 32.19 kB / 0.5566 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.5143, allocations: 294.7 kB / 0.5568 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.5147, allocations: 0.7208 MB / 0.5575 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.931e-05/0.5148, allocations: 20.31 kB / 0.5576 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.5149, allocations: 16.62 kB / 0.5576 GB, free: 6.195 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5149, allocations: 3.938 kB / 0.5576 GB, free: 6.191 MB / 398.1 MB Notification: Performance of Templates: time 0.006199/0.5211, allocations: 2.033 MB / 0.5596 GB, free: 4.355 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.495457302778959]