Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 98.7 kB / 17.73 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 194.2 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9666/0.9666, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.86 kB / 0.5716 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1474, allocations: 80.7 MB / 0.6504 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002553/0.15, allocations: 1.406 MB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1511, allocations: 0.573 MB / 0.6523 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.1511, allocations: 0 / 0.6523 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.004453/0.1556, allocations: 6.845 MB / 0.659 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.1601, allocations: 6.892 MB / 0.6657 GB, free: 13.33 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1605, allocations: 79.78 kB / 0.6658 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0134/0.1739, allocations: 17.04 MB / 0.6824 GB, free: 12.19 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 6.03e-05/0.174, allocations: 8 kB / 0.6824 GB, free: 12.18 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/0.1849, allocations: 8.458 MB / 0.6907 GB, free: 3.711 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01821/0.2032, allocations: 16.13 MB / 0.7065 GB, free: 3.551 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.00309/0.2063, allocations: 0.9805 MB / 0.7074 GB, free: 2.57 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.2085, allocations: 1.055 MB / 0.7084 GB, free: 1.516 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.04424/0.2527, allocations: 39.81 MB / 0.7473 GB, free: 9.602 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.03148/0.2842, allocations: 22.48 MB / 0.7693 GB, free: 2.895 MB / 0.6077 GB Notification: Performance of NFConvertDAE.convert: time 0.6663/0.9505, allocations: 49.4 MB / 0.8175 GB, free: 50.5 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.9506, allocations: 0 / 0.8175 GB, free: 50.5 MB / 0.6079 GB Notification: Performance of FrontEnd: time 3.727e-06/0.9506, allocations: 3.625 kB / 0.8175 GB, free: 50.5 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.003576/0.9542, allocations: 2.625 kB / 0.8175 GB, free: 50.5 MB / 0.6079 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.1281/1.082, allocations: 77.12 MB / 0.8928 GB, free: 3.562 MB / 0.6235 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.082, allocations: 8.031 kB / 0.8928 GB, free: 3.555 MB / 0.6235 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01982/1.102, allocations: 8.798 MB / 0.9014 GB, free: 10.64 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2956/1.398, allocations: 103.1 MB / 1.002 GB, free: 2.965 MB / 0.7329 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/1.398, allocations: 384 / 1.002 GB, free: 2.965 MB / 0.7329 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/1.4, allocations: 255.9 kB / 1.002 GB, free: 2.719 MB / 0.7329 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00747/1.408, allocations: 2.985 MB / 1.005 GB, free: 15.72 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/1.408, allocations: 3.938 kB / 1.005 GB, free: 15.72 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005047/1.408, allocations: 252 kB / 1.005 GB, free: 15.47 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/1.408, allocations: 0 / 1.005 GB, free: 15.47 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/1.41, allocations: 1.731 MB / 1.007 GB, free: 13.75 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06256/1.473, allocations: 27.54 MB / 1.034 GB, free: 2.137 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/1.477, allocations: 1.02 MB / 1.035 GB, free: 1.113 MB / 0.7642 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/1.478, allocations: 1.009 MB / 1.036 GB, free: 104 kB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/1.478, allocations: 1.031 kB / 1.036 GB, free: 104 kB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002499/1.481, allocations: 2.534 MB / 1.039 GB, free: 13.55 MB / 0.7798 GB Notification: Performance of pre-optimization done (n=8): time 4.218e-06/1.481, allocations: 0 / 1.039 GB, free: 13.55 MB / 0.7798 GB Notification: Performance of matching and sorting (n=8): time 0.02593/1.507, allocations: 16.51 MB / 1.055 GB, free: 12.91 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/1.507, allocations: 81.8 kB / 1.055 GB, free: 12.82 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6167/2.124, allocations: 99.07 MB / 1.151 GB, free: 207.4 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.002287/2.126, allocations: 277.7 kB / 1.152 GB, free: 207.4 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.06608/2.192, allocations: 46.97 MB / 1.198 GB, free: 162.8 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.002194/2.194, allocations: 265.2 kB / 1.198 GB, free: 162.6 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006951/2.201, allocations: 1.736 MB / 1.2 GB, free: 160.8 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/2.202, allocations: 306 kB / 1.2 GB, free: 160.5 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003949/2.206, allocations: 0.9927 MB / 1.201 GB, free: 159.5 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/2.209, allocations: 0.9967 MB / 1.202 GB, free: 158.5 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/2.211, allocations: 2.058 MB / 1.204 GB, free: 156.5 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.211, allocations: 0.9375 kB / 1.204 GB, free: 156.5 MB / 0.811 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02308/2.234, allocations: 15.51 MB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/2.235, allocations: 41.44 kB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/2.235, allocations: 0 / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/2.235, allocations: 3.062 kB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/2.235, allocations: 11.41 kB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/2.235, allocations: 4.234 kB / 1.219 GB, free: 145.8 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/2.248, allocations: 255.8 kB / 1.219 GB, free: 145.6 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006751/2.255, allocations: 3.427 MB / 1.223 GB, free: 142.1 MB / 0.811 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.03408/2.289, allocations: 19.18 MB / 1.241 GB, free: 122.9 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01635/2.305, allocations: 9.046 MB / 1.25 GB, free: 118.7 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02555/2.331, allocations: 10.22 MB / 1.26 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/2.331, allocations: 0 / 1.26 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/2.331, allocations: 3.406 kB / 1.26 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/2.331, allocations: 0 / 1.26 GB, free: 108.5 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07893/2.41, allocations: 29.99 MB / 1.289 GB, free: 78.44 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/2.41, allocations: 4 kB / 1.289 GB, free: 78.44 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/2.41, allocations: 0 / 1.289 GB, free: 78.44 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/2.41, allocations: 3.984 kB / 1.289 GB, free: 78.43 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002481/2.412, allocations: 0.7421 MB / 1.29 GB, free: 77.69 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/2.412, allocations: 1.969 kB / 1.29 GB, free: 77.69 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/2.412, allocations: 0 / 1.29 GB, free: 77.69 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/2.434, allocations: 16.14 MB / 1.306 GB, free: 61.42 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01879/2.453, allocations: 7.656 MB / 1.313 GB, free: 53.63 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01235/2.465, allocations: 267.5 kB / 1.314 GB, free: 53.37 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01493/2.48, allocations: 252 kB / 1.314 GB, free: 53.12 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/2.48, allocations: 5.078 kB / 1.314 GB, free: 53.12 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006913/2.487, allocations: 3.422 MB / 1.317 GB, free: 49.7 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1498/2.637, allocations: 68.97 MB / 1.385 GB, free: 13.37 MB / 0.8423 GB Notification: Performance of sort global known variables: time 4.71e-07/2.637, allocations: 0 / 1.385 GB, free: 13.37 MB / 0.8423 GB Notification: Performance of remove unused functions: time 0.01629/2.653, allocations: 2.476 MB / 1.387 GB, free: 10.9 MB / 0.8423 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.002506/2.656, allocations: 379.1 kB / 1.387 GB, free: 10.53 MB / 0.8423 GB Notification: Performance of simCode: created initialization part: time 0.01175/2.668, allocations: 2.331 MB / 1.39 GB, free: 8.188 MB / 0.8423 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/2.668, allocations: 0 / 1.39 GB, free: 8.188 MB / 0.8423 GB Notification: Performance of simCode: created simulation system equations: time 0.004026/2.672, allocations: 1.331 MB / 1.391 GB, free: 6.848 MB / 0.8423 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05287/2.725, allocations: 6.752 MB / 1.398 GB, free: 100 kB / 0.8423 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7318/3.457, allocations: 147.4 MB / 1.541 GB, free: 213.5 MB / 0.8579 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08338/3.54, allocations: 34.38 MB / 1.575 GB, free: 179 MB / 0.8579 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008533/3.549, allocations: 3.917 MB / 1.579 GB, free: 175.1 MB / 0.8579 GB Notification: Performance of SimCode: time 1.303e-06/3.549, allocations: 0 / 1.579 GB, free: 175.1 MB / 0.8579 GB Notification: Performance of Templates: time 79.97/83.52, allocations: 23.65 GB / 25.23 GB, free: 28.22 MB / 1.014 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches