Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009328/0.0009328, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001046/0.001046, allocations: 169 kB / 24.91 MB, free: 8.723 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.926/0.926, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1646/0.1646, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 325.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.519e-05, allocations: 4.844 kB / 325.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002541/0.002566, allocations: 1.801 MB / 327.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.004295, allocations: 1.734 MB / 328.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.004372, allocations: 4 kB / 328.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.004616, allocations: 35.72 kB / 329 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.004909, allocations: 99.41 kB / 329.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.005101, allocations: 83.59 kB / 329.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.005242, allocations: 107.6 kB / 329.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.005315, allocations: 12 kB / 329.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.0054, allocations: 63.81 kB / 329.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.0055, allocations: 35.89 kB / 329.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.005515, allocations: 4 kB / 329.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.005682, allocations: 107.8 kB / 329.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.005726, allocations: 23.86 kB / 329.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.005758, allocations: 23.92 kB / 329.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.005971, allocations: 155.5 kB / 329.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.005975, allocations: 0 / 329.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005976, allocations: 4 kB / 329.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.00598, allocations: 4 kB / 329.7 MB, free: 12.33 MB / 314.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.0003613/0.006341, allocations: 332 kB / 330 MB, free: 11.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.00637, allocations: 12.03 kB / 330 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.006402, allocations: 8.922 kB / 330 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.00656, allocations: 144.2 kB / 330.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.006573, allocations: 384 / 330.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.00659, allocations: 4.375 kB / 330.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.006724, allocations: 112.5 kB / 330.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.006733, allocations: 3.938 kB / 330.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.00674, allocations: 0 / 330.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.006745, allocations: 8 kB / 330.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.00677, allocations: 10.83 kB / 330.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.006977, allocations: 170 kB / 330.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.007067, allocations: 81.3 kB / 330.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.007088, allocations: 16.78 kB / 330.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.0071, allocations: 4 kB / 330.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.735e-05/0.007188, allocations: 66.14 kB / 330.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.007189, allocations: 0 / 330.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002769/0.007466, allocations: 113.5 kB / 330.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.007499, allocations: 77.11 kB / 330.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.0076, allocations: 167.1 kB / 331 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.007614, allocations: 25.7 kB / 331 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.007645, allocations: 92.08 kB / 331.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.00767, allocations: 23.84 kB / 331.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.007704, allocations: 25.7 kB / 331.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.007782, allocations: 322.8 kB / 331.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.007803, allocations: 10.77 kB / 331.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.00784, allocations: 64.19 kB / 331.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.815e-05/0.007889, allocations: 52.42 kB / 331.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.00789, allocations: 0 / 331.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.991e-05/0.00797, allocations: 76.42 kB / 331.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.007981, allocations: 4 kB / 331.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.007985, allocations: 384 / 331.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.007997, allocations: 0 / 331.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.008056, allocations: 16 kB / 331.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.00806, allocations: 4 kB / 331.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.00809, allocations: 3.984 kB / 331.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.008097, allocations: 4 kB / 331.7 MB, free: 10.11 MB / 314.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.355e-05/0.008161, allocations: 128.6 kB / 331.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.008173, allocations: 7.984 kB / 331.8 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.915e-05/0.008272, allocations: 78.53 kB / 331.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.008275, allocations: 4 kB / 331.9 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.008277, allocations: 0 / 331.9 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00828, allocations: 0 / 331.9 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.008496, allocations: 291.4 kB / 332.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008497, allocations: 0 / 332.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.008522, allocations: 12 kB / 332.2 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.008524, allocations: 7.969 kB / 332.2 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.00853, allocations: 0 / 332.2 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.008533, allocations: 4 kB / 332.2 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008534, allocations: 0 / 332.2 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.008644, allocations: 215 kB / 332.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.008658, allocations: 15.89 kB / 332.4 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.008673, allocations: 0 / 332.4 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.65e-05/0.00872, allocations: 4 kB / 332.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.008745, allocations: 11.98 kB / 332.4 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.008756, allocations: 0 / 332.4 MB, free: 9.285 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.04e-05/0.008796, allocations: 46.89 kB / 332.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008796, allocations: 4 kB / 332.5 MB, free: 9.234 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.008989, allocations: 59.75 kB / 332.5 MB, free: 9.176 MB / 314.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.001497/0.01049, allocations: 0.6925 MB / 333.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.01059, allocations: 52.77 kB / 333.3 MB, free: 8.746 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.0106, allocations: 0 / 333.3 MB, free: 8.746 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.01063, allocations: 28.78 kB / 333.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.01082, allocations: 31.97 kB / 333.4 MB, free: 8.684 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.01112, allocations: 195.1 kB / 333.5 MB, free: 8.461 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.923e-05/0.01116, allocations: 71.33 kB / 333.6 MB, free: 8.371 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.01121, allocations: 17.41 kB / 333.6 MB, free: 8.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.01129, allocations: 79.28 kB / 333.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01129, allocations: 0 / 333.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of Templates: time 0.004351/0.01564, allocations: 2.769 MB / 336.5 MB, free: 5.543 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.0742358677089214]