Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001346/0.001346, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009685/0.0009685, allocations: 169.9 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.9992/0.9992, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2664/0.2664, allocations: 34.26 MB / 296.1 MB, free: 0.6602 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.962e-05, allocations: 3.516 kB / 325.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002319/0.002338, allocations: 1.803 MB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003549, allocations: 1.01 MB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.003621, allocations: 3.938 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.003877, allocations: 35.77 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.004113, allocations: 99.47 kB / 328.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.00426, allocations: 79.61 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.004394, allocations: 103.6 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.594e-05/0.00447, allocations: 15.98 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.004604, allocations: 51.83 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.961e-05/0.004674, allocations: 27.91 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.004687, allocations: 4 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/0.004758, allocations: 47.92 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.004801, allocations: 27.84 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.004831, allocations: 15.94 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.004974, allocations: 103.6 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004976, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004977, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.00498, allocations: 0 / 328.8 MB, free: 4.078 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.0003232/0.005303, allocations: 329.5 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.005331, allocations: 11.97 kB / 329.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.005359, allocations: 12.92 kB / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.005503, allocations: 146.6 kB / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005518, allocations: 8.312 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.005533, allocations: 4.375 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/0.005625, allocations: 57.77 kB / 329.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.005635, allocations: 7.938 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.005642, allocations: 3.984 kB / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.005647, allocations: 4 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.005671, allocations: 8 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.005854, allocations: 169.9 kB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.005932, allocations: 85.23 kB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.005951, allocations: 16.92 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.00596, allocations: 0 / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.96e-05/0.00604, allocations: 66.14 kB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006041, allocations: 0 / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002533/0.006294, allocations: 113.5 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.006318, allocations: 55.41 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.006424, allocations: 184.2 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.006436, allocations: 29.7 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.006466, allocations: 100.1 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.006489, allocations: 23.78 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.006517, allocations: 21.7 kB / 330.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.006586, allocations: 330.8 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.006603, allocations: 10.83 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.006623, allocations: 25.64 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.006666, allocations: 44.52 kB / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006667, allocations: 0 / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.2e-05/0.006739, allocations: 72.38 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.006751, allocations: 10.97 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006755, allocations: 0 / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.006767, allocations: 0 / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.006824, allocations: 15.98 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.006826, allocations: 0 / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.006852, allocations: 12 kB / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.006856, allocations: 3.938 kB / 330.7 MB, free: 1.953 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.002e-05/0.006916, allocations: 127.5 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.006929, allocations: 15.92 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.239e-05/0.007022, allocations: 75.06 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.007025, allocations: 3.984 kB / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.007027, allocations: 4 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00703, allocations: 0 / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.007223, allocations: 295.6 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007225, allocations: 4 kB / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.007249, allocations: 11.98 kB / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.007252, allocations: 4.031 kB / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.007256, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.007259, allocations: 4 kB / 331.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.00726, allocations: 0 / 331.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.00736, allocations: 219 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.007372, allocations: 15.89 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.007386, allocations: 4 kB / 331.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.007423, allocations: 4.375 kB / 331.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.007445, allocations: 7.984 kB / 331.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.007456, allocations: 4 kB / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.007498, allocations: 56.69 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007498, allocations: 4 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.00764, allocations: 23.94 kB / 331.6 MB, free: 1.02 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.001116/0.008756, allocations: 0.5692 MB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.324e-05/0.008839, allocations: 44.77 kB / 332.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.008843, allocations: 4 kB / 332.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.008869, allocations: 20.8 kB / 332.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.00904, allocations: 38.91 kB / 332.3 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.009318, allocations: 223.6 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.009356, allocations: 79.25 kB / 332.6 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.009391, allocations: 17.41 kB / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.009453, allocations: 67.36 kB / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009453, allocations: 0 / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of Templates: time 0.003292/0.01275, allocations: 2.026 MB / 334.7 MB, free: 14.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.9662996400147676]