Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009988/0.0009988, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.038/1.038, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2829/0.2829, allocations: 34.86 MB / 296.6 MB, free: 404 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.392e-05, allocations: 6.5 kB / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004594/0.004628, allocations: 2.356 MB / 328.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.00761, allocations: 1.392 MB / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.007805, allocations: 7.938 kB / 329.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.008522, allocations: 286.8 kB / 330.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.009209, allocations: 342.4 kB / 330.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.009685, allocations: 227.4 kB / 330.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006783/0.01036, allocations: 0.573 MB / 331.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.01054, allocations: 41.23 kB / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.01101, allocations: 307.1 kB / 331.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.01133, allocations: 223.4 kB / 331.8 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.01138, allocations: 20 kB / 331.8 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.01152, allocations: 63.91 kB / 331.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.01166, allocations: 123.5 kB / 332 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.01179, allocations: 107.5 kB / 332.1 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.0122, allocations: 322.6 kB / 332.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.0122, allocations: 0 / 332.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.0122, allocations: 4 kB / 332.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.01221, allocations: 0 / 332.4 MB, free: 0.6406 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009828/0.01319, allocations: 0.7106 MB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.01324, allocations: 8.031 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.01343, allocations: 44.89 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.01392, allocations: 329.8 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.01396, allocations: 8.875 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.014, allocations: 20.3 kB / 333.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.01433, allocations: 186.4 kB / 333.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.01435, allocations: 192 / 333.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.01437, allocations: 8.375 kB / 333.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.01438, allocations: 7.938 kB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.0145, allocations: 61.97 kB / 333.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.01507, allocations: 0.615 MB / 334.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.01535, allocations: 430.3 kB / 334.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.01542, allocations: 72.23 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.01543, allocations: 8 kB / 334.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.01565, allocations: 198.2 kB / 335.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.01565, allocations: 0 / 335.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007071/0.01636, allocations: 456.6 kB / 335.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.01644, allocations: 166.2 kB / 335.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.01679, allocations: 0.4968 MB / 336.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.01682, allocations: 41.69 kB / 336.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.01688, allocations: 150.3 kB / 336.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.01697, allocations: 127 kB / 336.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.01704, allocations: 78.16 kB / 336.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003599/0.0174, allocations: 378.6 kB / 336.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.01746, allocations: 39.81 kB / 337 MB, free: 11.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.01756, allocations: 121.5 kB / 337.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.01774, allocations: 210.8 kB / 337.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01775, allocations: 8 kB / 337.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002413/0.01799, allocations: 239.5 kB / 337.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.01801, allocations: 9.25 kB / 337.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01802, allocations: 0 / 337.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01803, allocations: 4 kB / 337.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.01821, allocations: 83.89 kB / 337.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01822, allocations: 7.938 kB / 337.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.01832, allocations: 36.02 kB / 337.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.01834, allocations: 8 kB / 337.7 MB, free: 10.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001194/0.01846, allocations: 147.2 kB / 337.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.01851, allocations: 47.95 kB / 337.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.01882, allocations: 269.7 kB / 338.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01882, allocations: 4 kB / 338.1 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01883, allocations: 8 kB / 338.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.01883, allocations: 0 / 338.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.01957, allocations: 1.1 MB / 339.2 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01957, allocations: 0 / 339.2 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.01968, allocations: 59.84 kB / 339.3 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.01969, allocations: 4 kB / 339.3 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.0197, allocations: 23.92 kB / 339.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01971, allocations: 4 kB / 339.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01971, allocations: 4 kB / 339.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.0201, allocations: 0.8503 MB / 340.2 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.02015, allocations: 59.53 kB / 340.2 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.02019, allocations: 16 kB / 340.3 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.02036, allocations: 15.98 kB / 340.3 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.02042, allocations: 39.88 kB / 340.3 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.02045, allocations: 19.98 kB / 340.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.02063, allocations: 243.2 kB / 340.6 MB, free: 7.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02063, allocations: 0 / 340.6 MB, free: 7.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.02096, allocations: 99.81 kB / 340.7 MB, free: 7.875 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00145/0.02241, allocations: 0.5811 MB / 341.3 MB, free: 7.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.02263, allocations: 193.6 kB / 341.4 MB, free: 7.379 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.02264, allocations: 8 kB / 341.5 MB, free: 7.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.02274, allocations: 109.8 kB / 341.6 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.02331, allocations: 157.4 kB / 341.7 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.02454, allocations: 0.8238 MB / 342.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.02465, allocations: 133.9 kB / 342.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.02479, allocations: 83.38 kB / 342.7 MB, free: 6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.02499, allocations: 155.3 kB / 342.9 MB, free: 5.848 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02499, allocations: 0 / 342.9 MB, free: 5.848 MB / 314.7 MB Notification: Performance of Templates: time 0.008677/0.03366, allocations: 6.781 MB / 349.7 MB, free: 15.2 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1565772276371717]