Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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.001316/0.001316, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001017/0.001017, allocations: 166 kB / 24.82 MB, free: 9.266 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.9063/0.9063, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.64/0.64, allocations: 88.08 MB / 349.9 MB, free: 14.16 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 2.844 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.827e-05, allocations: 4.5 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002684/0.002712, allocations: 1.452 MB / 453.5 MB, free: 32.13 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.003714, allocations: 0.5795 MB / 454.1 MB, free: 31.75 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.003782, allocations: 4 kB / 454.1 MB, free: 31.75 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.005639, allocations: 3.427 MB / 457.5 MB, free: 31.13 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.007643, allocations: 3.48 MB / 461 MB, free: 30.5 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.00803, allocations: 80.94 kB / 461.1 MB, free: 30.46 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.006843/0.01487, allocations: 8.547 MB / 469.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.01492, allocations: 5.875 kB / 469.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03953/0.05445, allocations: 33.13 MB / 0.491 GB, free: 5.672 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.05644, allocations: 4.292 MB / 0.4952 GB, free: 1.371 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004407/0.05688, allocations: 8 kB / 0.4952 GB, free: 1.363 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.05742, allocations: 67.94 kB / 0.4952 GB, free: 1.297 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01317/0.07059, allocations: 20.46 MB / 0.5152 GB, free: 12.79 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002781/0.07337, allocations: 3.768 MB / 0.5189 GB, free: 8.992 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.08434, allocations: 20.29 MB / 0.5387 GB, free: 4.594 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.08435, allocations: 0 / 0.5387 GB, free: 4.594 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.944e-06/0.08435, allocations: 0 / 0.5387 GB, free: 4.594 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0007856/0.08514, allocations: 0 / 0.5387 GB, free: 4.594 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03529/0.1204, allocations: 42.75 MB / 0.5804 GB, free: 9.453 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.1205, allocations: 12.03 kB / 0.5805 GB, free: 9.441 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/0.125, allocations: 4.645 MB / 0.585 GB, free: 4.766 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0407/0.1657, allocations: 30.25 MB / 0.6145 GB, free: 6.254 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1658, allocations: 4.375 kB / 0.6145 GB, free: 6.25 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.166, allocations: 384 / 0.6145 GB, free: 6.25 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.1675, allocations: 1.723 MB / 0.6162 GB, free: 4.512 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1675, allocations: 1.625 kB / 0.6162 GB, free: 4.512 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.1677, allocations: 4.125 kB / 0.6162 GB, free: 4.508 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1677, allocations: 0 / 0.6162 GB, free: 4.508 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1687, allocations: 1.141 MB / 0.6173 GB, free: 3.359 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.1814, allocations: 10.22 MB / 0.6273 GB, free: 9.102 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.1824, allocations: 0.6171 MB / 0.6279 GB, free: 8.465 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000731/0.1831, allocations: 0.6061 MB / 0.6285 GB, free: 7.848 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.1831, allocations: 0 / 0.6285 GB, free: 7.848 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.1843, allocations: 1.774 MB / 0.6302 GB, free: 6.043 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=8): time 2.355e-06/0.1843, allocations: 0 / 0.6302 GB, free: 6.043 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8): time 0.3632/0.5475, allocations: 9.77 MB / 0.6398 GB, free: 132 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5476, allocations: 84.02 kB / 0.6399 GB, free: 131.9 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06142/0.609, allocations: 44.24 MB / 0.6831 GB, free: 118.9 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003844/0.6094, allocations: 25.7 kB / 0.6831 GB, free: 118.8 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.01784/0.6272, allocations: 24.77 MB / 0.7073 GB, free: 99.22 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.6276, allocations: 19.39 kB / 0.7073 GB, free: 99.21 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009631/0.6286, allocations: 1.123 MB / 0.7084 GB, free: 99.05 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.6287, allocations: 496 kB / 0.7089 GB, free: 98.56 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.6293, allocations: 0.5865 MB / 0.7094 GB, free: 98.34 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.6299, allocations: 0.5903 MB / 0.71 GB, free: 98.12 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.6311, allocations: 1.189 MB / 0.7112 GB, free: 97.67 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6311, allocations: 3.406 kB / 0.7112 GB, free: 97.67 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007548/0.6387, allocations: 9.188 MB / 0.7202 GB, free: 94.25 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.6387, allocations: 40.69 kB / 0.7202 GB, free: 94.21 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6387, allocations: 1.375 kB / 0.7202 GB, free: 94.21 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6387, allocations: 5.094 kB / 0.7202 GB, free: 94.21 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.6388, allocations: 9.25 kB / 0.7202 GB, free: 94.21 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.6388, allocations: 0 / 0.7202 GB, free: 94.21 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.6418, allocations: 6.453 kB / 0.7202 GB, free: 94.21 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/0.6435, allocations: 2.869 MB / 0.723 GB, free: 91.97 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.003725/0.6473, allocations: 198.1 kB / 0.7232 GB, free: 91.77 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004405/0.6517, allocations: 4.648 MB / 0.7277 GB, free: 87.09 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006096/0.6578, allocations: 3.658 MB / 0.7313 GB, free: 83.42 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6578, allocations: 6.156 kB / 0.7313 GB, free: 83.42 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.6578, allocations: 0 / 0.7313 GB, free: 83.42 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6578, allocations: 0 / 0.7313 GB, free: 83.42 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.6716, allocations: 11.69 MB / 0.7427 GB, free: 71.69 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6716, allocations: 2.625 kB / 0.7427 GB, free: 71.69 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.6716, allocations: 4 kB / 0.7427 GB, free: 71.68 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6716, allocations: 3.984 kB / 0.7427 GB, free: 71.68 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004887/0.6721, allocations: 0.5578 MB / 0.7433 GB, free: 71.12 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6721, allocations: 0 / 0.7433 GB, free: 71.12 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6721, allocations: 3.312 kB / 0.7433 GB, free: 71.12 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00776/0.6799, allocations: 9.7 MB / 0.7528 GB, free: 61.35 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004745/0.6846, allocations: 4.046 MB / 0.7567 GB, free: 57.28 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00229/0.6869, allocations: 3.938 kB / 0.7567 GB, free: 57.27 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/0.6894, allocations: 4 kB / 0.7567 GB, free: 57.27 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.6895, allocations: 4 kB / 0.7567 GB, free: 57.27 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001323/0.6908, allocations: 2.874 MB / 0.7595 GB, free: 54.39 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.02866/0.7195, allocations: 29.29 MB / 0.7881 GB, free: 25.39 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7195, allocations: 0 / 0.7881 GB, free: 25.39 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.004204/0.7237, allocations: 1.01 MB / 0.7891 GB, free: 24.39 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0007048/0.7244, allocations: 124.2 kB / 0.7892 GB, free: 24.26 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.7263, allocations: 1.27 MB / 0.7905 GB, free: 22.96 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7263, allocations: 0 / 0.7905 GB, free: 22.96 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.7271, allocations: 0.6633 MB / 0.7911 GB, free: 22.28 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008964/0.7361, allocations: 3.691 MB / 0.7947 GB, free: 18.58 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05853/0.7946, allocations: 60.9 MB / 0.8542 GB, free: 5.781 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.321/1.116, allocations: 7.627 MB / 0.8617 GB, free: 160.9 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.01098/1.127, allocations: 6.048 MB / 0.8676 GB, free: 159 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01291/1.139, allocations: 6.922 MB / 0.8743 GB, free: 157.5 MB / 0.589 GB Notification: Performance of SimCode: time 2.705e-06/1.139, allocations: 0 / 0.8743 GB, free: 157.5 MB / 0.589 GB Notification: Performance of Templates: time 0.2521/1.392, allocations: 117.5 MB / 0.9891 GB, free: 80.97 MB / 0.589 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.382260050624609]