Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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.0009852/0.0009852, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009644/0.0009644, allocations: 165 kB / 24.56 MB, free: 12 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.8634/0.8634, allocations: 177.1 MB / 205 MB, free: 5.617 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.5937/0.5937, allocations: 88.08 MB / 349.6 MB, free: 14.3 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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 451.6 MB, free: 33.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.847e-05, allocations: 6.312 kB / 451.6 MB, free: 33.29 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.00241/0.002439, allocations: 1.459 MB / 453 MB, free: 32.31 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.003349, allocations: 0.5821 MB / 453.6 MB, free: 31.94 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.003404, allocations: 0 / 453.6 MB, free: 31.94 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005573/0.008976, allocations: 13.69 MB / 467.3 MB, free: 29.48 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007365/0.01634, allocations: 13.73 MB / 481 MB, free: 25.27 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.01668, allocations: 87.84 kB / 481.1 MB, free: 25.21 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.02047/0.03715, allocations: 34 MB / 0.5031 GB, free: 9.141 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.03721, allocations: 7.984 kB / 0.5031 GB, free: 9.133 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1507/0.1879, allocations: 131.3 MB / 0.6313 GB, free: 5.613 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3207/0.5087, allocations: 17.1 MB / 0.648 GB, free: 133.4 MB / 0.5419 GB Notification: Performance of NFPackage.collectConstants: time 0.0104/0.5191, allocations: 9.766 kB / 0.648 GB, free: 133.4 MB / 0.5419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00842/0.5275, allocations: 72.88 kB / 0.6481 GB, free: 133.4 MB / 0.5419 GB Notification: Performance of NFScalarize.scalarize: time 0.05596/0.5834, allocations: 81.31 MB / 0.7275 GB, free: 102 MB / 0.5419 GB Notification: Performance of NFVerifyModel.verify: time 0.02618/0.6096, allocations: 15.02 MB / 0.7421 GB, free: 86.87 MB / 0.5419 GB Notification: Performance of NFConvertDAE.convert: time 0.05742/0.667, allocations: 80.9 MB / 0.8211 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.667, allocations: 0 / 0.8211 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.265e-06/0.667, allocations: 0 / 0.8211 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.003878/0.6709, allocations: 3.219 kB / 0.8212 GB, free: 5.535 MB / 0.5419 GB 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.4844/1.155, allocations: 166.3 MB / 0.9836 GB, free: 21.04 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.155, allocations: 12.03 kB / 0.9836 GB, free: 21.03 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/1.169, allocations: 18.56 MB / 1.002 GB, free: 2.34 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5782/1.747, allocations: 121.1 MB / 1.12 GB, free: 172.2 MB / 0.6833 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/1.747, allocations: 384 / 1.12 GB, free: 172.2 MB / 0.6833 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/1.749, allocations: 4 kB / 1.12 GB, free: 172.2 MB / 0.6833 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009791/1.759, allocations: 6.67 MB / 1.126 GB, free: 171.8 MB / 0.6833 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.759, allocations: 192 / 1.126 GB, free: 171.8 MB / 0.6833 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001088/1.76, allocations: 1.688 kB / 1.126 GB, free: 171.8 MB / 0.6833 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/1.76, allocations: 3.875 kB / 1.126 GB, free: 171.8 MB / 0.6833 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008573/1.768, allocations: 4.447 MB / 1.131 GB, free: 170.3 MB / 0.6833 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/1.87, allocations: 72.18 MB / 1.201 GB, free: 133.4 MB / 0.6833 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004625/1.875, allocations: 2.264 MB / 1.204 GB, free: 132.6 MB / 0.6833 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/1.878, allocations: 2.251 MB / 1.206 GB, free: 131.8 MB / 0.6833 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/1.878, allocations: 4.812 kB / 1.206 GB, free: 131.8 MB / 0.6833 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006028/1.884, allocations: 6.712 MB / 1.212 GB, free: 128 MB / 0.6833 GB Notification: Performance of pre-optimization done (n=8): time 4.268e-06/1.884, allocations: 2.875 kB / 1.212 GB, free: 128 MB / 0.6833 GB Notification: Performance of matching and sorting (n=8): time 0.04818/1.933, allocations: 38.53 MB / 1.25 GB, free: 106.3 MB / 0.6833 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/1.933, allocations: 86.77 kB / 1.25 GB, free: 106.2 MB / 0.6833 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4966/2.429, allocations: 176 MB / 1.422 GB, free: 108.3 MB / 0.7145 GB Notification: Performance of collectPreVariables (initialization): time 0.001603/2.431, allocations: 25.7 kB / 1.422 GB, free: 108.2 MB / 0.7145 GB Notification: Performance of collectInitialEqns (initialization): time 0.08157/2.512, allocations: 107.3 MB / 1.527 GB, free: 35.18 MB / 0.7145 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/2.514, allocations: 20.53 kB / 1.527 GB, free: 35.18 MB / 0.7145 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005376/2.519, allocations: 4.42 MB / 1.531 GB, free: 35 MB / 0.7145 GB Notification: Performance of setup shared object (initialization): time 4.949e-05/2.519, allocations: 487.4 kB / 1.531 GB, free: 34.52 MB / 0.7145 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/2.522, allocations: 2.242 MB / 1.534 GB, free: 33.75 MB / 0.7145 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/2.526, allocations: 2.239 MB / 1.536 GB, free: 32.98 MB / 0.7145 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006327/2.532, allocations: 4.494 MB / 1.54 GB, free: 31.42 MB / 0.7145 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/2.532, allocations: 3.688 kB / 1.54 GB, free: 31.42 MB / 0.7145 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.03767/2.57, allocations: 36.29 MB / 1.576 GB, free: 25.42 MB / 0.7145 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/2.57, allocations: 42.66 kB / 1.576 GB, free: 25.38 MB / 0.7145 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/2.57, allocations: 0 / 1.576 GB, free: 25.38 MB / 0.7145 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/2.57, allocations: 0 / 1.576 GB, free: 25.38 MB / 0.7145 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/2.57, allocations: 6.812 kB / 1.576 GB, free: 25.38 MB / 0.7145 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/2.57, allocations: 0 / 1.576 GB, free: 25.38 MB / 0.7145 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/2.589, allocations: 7.531 kB / 1.576 GB, free: 25.38 MB / 0.7145 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01532/2.605, allocations: 11.48 MB / 1.587 GB, free: 23.67 MB / 0.7145 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.02199/2.627, allocations: 189.5 kB / 1.587 GB, free: 23.47 MB / 0.7145 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02316/2.65, allocations: 18.57 MB / 1.605 GB, free: 12.61 MB / 0.7145 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03575/2.685, allocations: 14.58 MB / 1.62 GB, free: 3.871 MB / 0.7145 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/2.685, allocations: 0 / 1.62 GB, free: 3.871 MB / 0.7145 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/2.685, allocations: 0 / 1.62 GB, free: 3.871 MB / 0.7145 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/2.685, allocations: 0 / 1.62 GB, free: 3.871 MB / 0.7145 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3895/3.075, allocations: 74.14 MB / 1.692 GB, free: 206.7 MB / 0.7614 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/3.075, allocations: 2.531 kB / 1.692 GB, free: 206.7 MB / 0.7614 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/3.075, allocations: 3.906 kB / 1.692 GB, free: 206.7 MB / 0.7614 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/3.075, allocations: 0.5469 kB / 1.692 GB, free: 206.7 MB / 0.7614 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003292/3.078, allocations: 2.202 MB / 1.694 GB, free: 206.7 MB / 0.7614 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/3.078, allocations: 5.875 kB / 1.694 GB, free: 206.7 MB / 0.7614 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/3.078, allocations: 2.109 kB / 1.694 GB, free: 206.7 MB / 0.7614 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05347/3.132, allocations: 38.2 MB / 1.731 GB, free: 204.4 MB / 0.7614 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0273/3.159, allocations: 16.13 MB / 1.747 GB, free: 193.6 MB / 0.7614 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01193/3.171, allocations: 5.469 kB / 1.747 GB, free: 193.6 MB / 0.7614 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01406/3.185, allocations: 2.594 kB / 1.747 GB, free: 193.6 MB / 0.7614 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/3.185, allocations: 10.02 kB / 1.747 GB, free: 193.5 MB / 0.7614 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01424/3.199, allocations: 11.48 MB / 1.758 GB, free: 192.8 MB / 0.7614 GB Notification: Performance of sorting global known variables: time 0.1474/3.347, allocations: 117.2 MB / 1.873 GB, free: 102.5 MB / 0.7614 GB Notification: Performance of sort global known variables: time 1.7e-07/3.347, allocations: 0 / 1.873 GB, free: 102.5 MB / 0.7614 GB Notification: Performance of remove unused functions: time 0.01593/3.363, allocations: 3.935 MB / 1.877 GB, free: 98.54 MB / 0.7614 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.002934/3.366, allocations: 125.8 kB / 1.877 GB, free: 98.41 MB / 0.7614 GB Notification: Performance of simCode: created initialization part: time 0.01044/3.376, allocations: 4.569 MB / 1.881 GB, free: 93.8 MB / 0.7614 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/3.376, allocations: 0 / 1.881 GB, free: 93.8 MB / 0.7614 GB Notification: Performance of simCode: created simulation system equations: time 0.00574/3.382, allocations: 2.316 MB / 1.884 GB, free: 91.46 MB / 0.7614 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05354/3.435, allocations: 14.72 MB / 1.898 GB, free: 76.74 MB / 0.7614 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4985/3.934, allocations: 254.9 MB / 2.147 GB, free: 110.9 MB / 0.7614 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03335/3.967, allocations: 30.41 MB / 2.176 GB, free: 82.39 MB / 0.7614 GB Notification: Performance of simCode: alias equations: time 0.0577/4.025, allocations: 31.79 MB / 2.208 GB, free: 51.06 MB / 0.7614 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008076/4.033, allocations: 7.821 MB / 2.215 GB, free: 43.24 MB / 0.7614 GB Notification: Performance of SimCode: time 2.244e-06/4.033, allocations: 4 kB / 2.215 GB, free: 43.24 MB / 0.7614 GB Notification: Performance of Templates: time 2.21/6.243, allocations: 0.6873 GB / 2.902 GB, free: 118.5 MB / 0.8249 GB " [Timeout remaining time 294] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_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: 148.8252323414199]