Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 171.3 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9575/0.9575, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.245/0.245, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.346e-05, allocations: 3.516 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002423/0.002447, allocations: 1.766 MB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003637, allocations: 1.01 MB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.003702, allocations: 4 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.003982, allocations: 51.67 kB / 328.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.00424, allocations: 99.55 kB / 328.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.00439, allocations: 87.53 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.004543, allocations: 103.7 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.004626, allocations: 15.92 kB / 328.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.004707, allocations: 51.84 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.00478, allocations: 31.89 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.004797, allocations: 4 kB / 328.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.495e-05/0.004871, allocations: 43.92 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.004915, allocations: 23.86 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.004946, allocations: 28.42 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.005092, allocations: 115.5 kB / 328.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.005093, allocations: 0 / 328.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.2e-07/0.005094, allocations: 0 / 328.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.005097, allocations: 0 / 328.8 MB, free: 4.172 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000326/0.005423, allocations: 345.3 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.005453, allocations: 8.031 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.005478, allocations: 12.92 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005618, allocations: 162.4 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.00563, allocations: 384 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.005646, allocations: 8.375 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.00575, allocations: 65.7 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.005761, allocations: 7.922 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.00577, allocations: 3.984 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.005776, allocations: 3.984 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.224e-05/0.005798, allocations: 8 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.005983, allocations: 166 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.956e-05/0.006063, allocations: 93.16 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.006084, allocations: 16.92 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.006096, allocations: 4 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.166e-05/0.006167, allocations: 58.16 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006168, allocations: 0 / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000259/0.006427, allocations: 117.5 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.006458, allocations: 55.39 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.006577, allocations: 212 kB / 330.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.006593, allocations: 29.7 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.006625, allocations: 100.1 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.00665, allocations: 27.77 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.006679, allocations: 25.72 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.006752, allocations: 326.8 kB / 330.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.006766, allocations: 10.81 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.00679, allocations: 30.02 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.006831, allocations: 48.52 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.006832, allocations: 0 / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.625e-05/0.006898, allocations: 80.36 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.006908, allocations: 4 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.006911, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.006923, allocations: 8.031 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.006975, allocations: 15.98 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.006978, allocations: 0 / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.007002, allocations: 0 / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.00701, allocations: 8 kB / 330.8 MB, free: 1.969 MB / 298.7 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 6.032e-05/0.00707, allocations: 116.6 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.007083, allocations: 19.92 kB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.007174, allocations: 71.12 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007176, allocations: 0 / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007177, allocations: 0 / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.007184, allocations: 8 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.007506, allocations: 299.5 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007507, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.00753, allocations: 15.92 kB / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007532, allocations: 0 / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.007538, allocations: 4 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007539, allocations: 3.938 kB / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00754, allocations: 80 / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.565e-05/0.007636, allocations: 227 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.007647, allocations: 11.91 kB / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.007661, allocations: 4.031 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.007699, allocations: 8 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.00772, allocations: 7.984 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.007728, allocations: 0 / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.24e-05/0.00778, allocations: 80.77 kB / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00778, allocations: 0 / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000134/0.007914, allocations: 27.94 kB / 331.7 MB, free: 1.008 MB / 298.7 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 (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.00113/0.009044, allocations: 0.5731 MB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.232e-05/0.009117, allocations: 44.77 kB / 332.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.009119, allocations: 0 / 332.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.009152, allocations: 28.78 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.009311, allocations: 38 kB / 332.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.009604, allocations: 264.4 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.009644, allocations: 75.31 kB / 332.7 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.942e-05/0.009673, allocations: 13.28 kB / 332.7 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.009731, allocations: 67.36 kB / 332.8 MB, free: 164 kB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009732, allocations: 0 / 332.8 MB, free: 164 kB / 298.7 MB Notification: Performance of Templates: time 0.003175/0.01291, allocations: 2.034 MB / 334.8 MB, free: 14.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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: 2.897502960637212]