Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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.001005/0.001005, allocations: 91.58 kB / 21.19 MB, free: 3.371 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.0009158/0.0009158, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.9564/0.9564, allocations: 177.1 MB / 205 MB, free: 5.609 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.5867/0.5867, allocations: 88.08 MB / 349.6 MB, free: 14.29 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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.096e-05, allocations: 9.156 kB / 451.6 MB, free: 33.3 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.001856/0.001887, allocations: 1.461 MB / 453 MB, free: 32.33 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000714/0.002601, allocations: 0.5839 MB / 453.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.002653, allocations: 0 / 453.6 MB, free: 31.95 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.002907, allocations: 228.7 kB / 453.9 MB, free: 31.91 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.003259, allocations: 279.6 kB / 454.1 MB, free: 31.86 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.003466, allocations: 83.91 kB / 454.2 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.003772, allocations: 0.5948 MB / 454.8 MB, free: 31.7 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.003808, allocations: 2.969 kB / 454.8 MB, free: 31.7 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.005225, allocations: 2.133 MB / 456.9 MB, free: 31.45 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.005422, allocations: 294.8 kB / 457.2 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.00547, allocations: 3.062 kB / 457.2 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.005593, allocations: 68.78 kB / 457.3 MB, free: 31.41 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006886/0.006281, allocations: 1.28 MB / 458.6 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.006434, allocations: 254.8 kB / 458.8 MB, free: 30.92 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000649/0.007083, allocations: 1.354 MB / 460.2 MB, free: 30.39 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.007085, allocations: 4 kB / 460.2 MB, free: 30.38 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007086, allocations: 0 / 460.2 MB, free: 30.38 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.0071, allocations: 0 / 460.2 MB, free: 30.38 MB / 410.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.001348/0.008448, allocations: 2.981 MB / 463.2 MB, free: 28.2 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.008484, allocations: 11.59 kB / 463.2 MB, free: 28.2 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.008656, allocations: 301.7 kB / 463.5 MB, free: 28.02 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.009967, allocations: 1.902 MB / 465.4 MB, free: 26.99 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.009979, allocations: 384 / 465.4 MB, free: 26.99 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.01, allocations: 2.969 kB / 465.4 MB, free: 26.99 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.01018, allocations: 181 kB / 465.6 MB, free: 26.93 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.01019, allocations: 4.188 kB / 465.6 MB, free: 26.92 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.01021, allocations: 4.312 kB / 465.6 MB, free: 26.92 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.01022, allocations: 3.938 kB / 465.6 MB, free: 26.91 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.634e-05/0.01032, allocations: 117.6 kB / 465.7 MB, free: 26.88 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007636/0.01108, allocations: 1.233 MB / 466.9 MB, free: 26.27 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.497e-05/0.01117, allocations: 104.3 kB / 467 MB, free: 26.2 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.01125, allocations: 86.73 kB / 467.1 MB, free: 26.15 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.01125, allocations: 6.672 kB / 467.1 MB, free: 26.14 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.01141, allocations: 234.1 kB / 467.3 MB, free: 26.02 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.01141, allocations: 4 kB / 467.3 MB, free: 26.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0005946/0.01201, allocations: 0.8002 MB / 468.1 MB, free: 25.7 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.01204, allocations: 83.67 kB / 468.2 MB, free: 25.6 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.01364, allocations: 2.882 MB / 471.1 MB, free: 24.52 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.01366, allocations: 25.7 kB / 471.1 MB, free: 24.49 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/0.01429, allocations: 1.433 MB / 472.6 MB, free: 23.38 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.01433, allocations: 17.44 kB / 472.6 MB, free: 23.36 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.01441, allocations: 100.2 kB / 472.7 MB, free: 23.34 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.01447, allocations: 484.4 kB / 473.2 MB, free: 22.86 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.01454, allocations: 79.38 kB / 473.2 MB, free: 22.82 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.0146, allocations: 80.27 kB / 473.3 MB, free: 22.79 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.01475, allocations: 172.2 kB / 473.5 MB, free: 22.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01475, allocations: 0 / 473.5 MB, free: 22.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005208/0.01527, allocations: 0.7207 MB / 474.2 MB, free: 22.41 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.0153, allocations: 40.41 kB / 474.2 MB, free: 22.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.01531, allocations: 4 kB / 474.2 MB, free: 22.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01532, allocations: 0.9062 kB / 474.2 MB, free: 22.38 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.01538, allocations: 11.08 kB / 474.3 MB, free: 22.37 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01538, allocations: 0.9062 kB / 474.3 MB, free: 22.37 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01551, allocations: 2.781 kB / 474.3 MB, free: 22.37 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.01566, allocations: 185.6 kB / 474.4 MB, free: 22.36 MB / 410.8 MB 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.0001748/0.01584, allocations: 202.6 kB / 474.6 MB, free: 22.15 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.01604, allocations: 313.1 kB / 474.9 MB, free: 21.98 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.01622, allocations: 239.8 kB / 475.2 MB, free: 21.88 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01622, allocations: 0.9062 kB / 475.2 MB, free: 21.88 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01623, allocations: 3.938 kB / 475.2 MB, free: 21.88 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01623, allocations: 0.9375 kB / 475.2 MB, free: 21.88 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/0.0171, allocations: 1.272 MB / 476.5 MB, free: 21.26 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.0171, allocations: 1.281 kB / 476.5 MB, free: 21.26 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.01712, allocations: 2.531 kB / 476.5 MB, free: 21.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01712, allocations: 0 / 476.5 MB, free: 21.26 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.01716, allocations: 43.72 kB / 476.5 MB, free: 21.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01716, allocations: 0 / 476.5 MB, free: 21.25 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01716, allocations: 1.281 kB / 476.5 MB, free: 21.25 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.01773, allocations: 0.8088 MB / 477.3 MB, free: 20.89 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.01793, allocations: 273.1 kB / 477.6 MB, free: 20.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.01802, allocations: 2.531 kB / 477.6 MB, free: 20.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.01812, allocations: 2.531 kB / 477.6 MB, free: 20.71 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.01816, allocations: 10.47 kB / 477.6 MB, free: 20.71 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.01828, allocations: 188.6 kB / 477.8 MB, free: 20.69 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001171/0.01945, allocations: 1.558 MB / 479.3 MB, free: 20.17 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01945, allocations: 0 / 479.3 MB, free: 20.17 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002548/0.0197, allocations: 97.66 kB / 479.4 MB, free: 20.16 MB / 410.8 MB 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.0001576/0.01986, allocations: 122.4 kB / 479.5 MB, free: 20.07 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.02012, allocations: 249.4 kB / 479.8 MB, free: 19.92 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.02012, allocations: 0 / 479.8 MB, free: 19.92 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.02024, allocations: 161 kB / 479.9 MB, free: 19.8 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.02071, allocations: 241.9 kB / 480.2 MB, free: 19.67 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.02337, allocations: 3.588 MB / 483.8 MB, free: 17.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.02374, allocations: 0.508 MB / 484.3 MB, free: 17.8 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0006117/0.02435, allocations: 0.4901 MB / 484.8 MB, free: 17.65 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.02448, allocations: 142.8 kB / 484.9 MB, free: 17.64 MB / 410.8 MB Notification: Performance of SimCode: time 7.12e-07/0.02448, allocations: 1.125 kB / 484.9 MB, free: 17.64 MB / 410.8 MB Notification: Performance of Templates: time 0.01968/0.04416, allocations: 11.57 MB / 496.5 MB, free: 11.43 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_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: 3.774310457985848]