Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001471/0.001471, allocations: 80.8 kB / 21.5 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.001066/0.001066, allocations: 170.3 kB / 24.91 MB, free: 8.77 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2584/0.2584, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.476e-05, allocations: 8.109 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00266/0.002685, allocations: 1.809 MB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003992, allocations: 1.014 MB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.004062, allocations: 0 / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.004354, allocations: 31.72 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.004624, allocations: 99.47 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.004813, allocations: 79.61 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.004984, allocations: 103.7 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.00509, allocations: 11.98 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.005208, allocations: 51.77 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.979e-05/0.005297, allocations: 27.91 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.005314, allocations: 8 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.005404, allocations: 43.92 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.005459, allocations: 23.92 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.005502, allocations: 28.34 kB / 328.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.005677, allocations: 103.6 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.00568, allocations: 0 / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005681, allocations: 0 / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.005684, allocations: 0 / 328.8 MB, free: 4.129 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.0003837/0.006068, allocations: 313.6 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.006099, allocations: 12.03 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.006127, allocations: 4.938 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.006281, allocations: 155.4 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.006295, allocations: 4.375 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.006309, allocations: 384 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.006416, allocations: 69.7 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.006426, allocations: 7.875 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.006432, allocations: 0 / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.006437, allocations: 0 / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.006461, allocations: 11.98 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.006654, allocations: 162 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.541e-05/0.006739, allocations: 89.28 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.006759, allocations: 16.84 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.006769, allocations: 0 / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.924e-05/0.006858, allocations: 70.09 kB / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.00686, allocations: 0 / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002969/0.007157, allocations: 113.5 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.007182, allocations: 51.41 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.007281, allocations: 177.3 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.007295, allocations: 29.7 kB / 330.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.007325, allocations: 100.1 kB / 330.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.007351, allocations: 27.78 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.007383, allocations: 25.7 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.007457, allocations: 322.8 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.007473, allocations: 10.83 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.007497, allocations: 21.7 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.007538, allocations: 44.83 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.007539, allocations: 0 / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.567e-05/0.007615, allocations: 76.38 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.007626, allocations: 10.22 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007631, allocations: 8 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.007643, allocations: 0 / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.007703, allocations: 15.98 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.007706, allocations: 0 / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.007731, allocations: 8 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.007736, allocations: 0 / 330.7 MB, free: 2.035 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.069e-05/0.007797, allocations: 120.7 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.00781, allocations: 15.88 kB / 330.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.00791, allocations: 75.12 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.007913, allocations: 4 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.007914, allocations: 0 / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.007919, allocations: 4 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.00813, allocations: 303.5 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008131, allocations: 0 / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.00816, allocations: 19.92 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008161, allocations: 0 / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.008167, allocations: 0 / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.008168, allocations: 0 / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.00817, allocations: 7.984 kB / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.596e-05/0.008266, allocations: 215 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.008279, allocations: 15.94 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.008294, allocations: 3.984 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.008334, allocations: 4 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.008358, allocations: 7.984 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.00837, allocations: 4 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.001e-05/0.00841, allocations: 47.64 kB / 331.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00841, allocations: 0 / 331.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.008552, allocations: 23.94 kB / 331.6 MB, free: 1.109 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.00131/0.009862, allocations: 0.5766 MB / 332.2 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.344e-05/0.009955, allocations: 36.78 kB / 332.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.009959, allocations: 4 kB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.009991, allocations: 36.83 kB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.01017, allocations: 35.66 kB / 332.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.01047, allocations: 211.7 kB / 332.5 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.01051, allocations: 67.34 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.692e-05/0.01055, allocations: 17.27 kB / 332.6 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.01061, allocations: 71.36 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01061, allocations: 0 / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of Templates: time 0.003499/0.01411, allocations: 2.016 MB / 334.6 MB, free: 14.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.9584058662876487]