Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 94.41 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8372/0.8372, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.254e-05/1.256e-05, allocations: 4 kB / 0.5288 GB, free: 1.289 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5091, allocations: 82.83 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.6478, allocations: 126 MB / 0.7327 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001407/0.6479, allocations: 59.89 kB / 0.7328 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.7551/1.403, allocations: 67.43 MB / 0.7986 GB, free: 91.44 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.633e-06/1.403, allocations: 0 / 0.7986 GB, free: 91.44 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0002327/1.403, allocations: 124 kB / 0.7987 GB, free: 91.32 MB / 0.5421 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.005597/1.409, allocations: 6.483 MB / 0.8051 GB, free: 84.75 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.409, allocations: 8.031 kB / 0.8051 GB, free: 84.74 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008863/1.41, allocations: 1.138 MB / 0.8062 GB, free: 83.59 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/1.426, allocations: 11.22 MB / 0.8171 GB, free: 72.4 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/1.426, allocations: 0 / 0.8171 GB, free: 72.4 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/1.426, allocations: 36 kB / 0.8172 GB, free: 72.36 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003046/1.427, allocations: 204 kB / 0.8174 GB, free: 72.16 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/1.427, allocations: 390.7 kB / 0.8177 GB, free: 71.78 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.427, allocations: 0 / 0.8177 GB, free: 71.78 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.242e-05/1.427, allocations: 32 kB / 0.8178 GB, free: 71.75 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.427, allocations: 3.953 kB / 0.8178 GB, free: 71.74 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/1.43, allocations: 3.48 MB / 0.8212 GB, free: 68.23 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/1.431, allocations: 134.6 kB / 0.8213 GB, free: 68.09 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/1.431, allocations: 124.8 kB / 0.8214 GB, free: 67.96 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/1.431, allocations: 4 kB / 0.8214 GB, free: 67.96 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/1.431, allocations: 368.8 kB / 0.8218 GB, free: 67.58 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 2.785e-06/1.431, allocations: 0 / 0.8218 GB, free: 67.58 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.001479/1.433, allocations: 1.834 MB / 0.8236 GB, free: 65.72 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/1.433, allocations: 77.11 kB / 0.8236 GB, free: 65.63 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008711/1.441, allocations: 9.917 MB / 0.8333 GB, free: 55.82 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/1.441, allocations: 57.7 kB / 0.8334 GB, free: 55.75 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.003383/1.445, allocations: 5.298 MB / 0.8386 GB, free: 50.45 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/1.445, allocations: 55.84 kB / 0.8386 GB, free: 50.4 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/1.445, allocations: 32 kB / 0.8386 GB, free: 50.37 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 4.432e-05/1.445, allocations: 309.9 kB / 0.8389 GB, free: 50.06 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/1.445, allocations: 111.9 kB / 0.839 GB, free: 49.95 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/1.445, allocations: 108 kB / 0.8391 GB, free: 49.84 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/1.445, allocations: 120 kB / 0.8393 GB, free: 49.73 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.445, allocations: 0 / 0.8393 GB, free: 49.73 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001303/1.447, allocations: 1.835 MB / 0.8411 GB, free: 47.87 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/1.447, allocations: 33.7 kB / 0.8411 GB, free: 47.83 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.447, allocations: 0 / 0.8411 GB, free: 47.83 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.447, allocations: 3.938 kB / 0.8411 GB, free: 47.83 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/1.447, allocations: 7.984 kB / 0.8411 GB, free: 47.82 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/1.447, allocations: 3.984 kB / 0.8411 GB, free: 47.82 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007419/1.448, allocations: 36 kB / 0.8411 GB, free: 47.78 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/1.448, allocations: 440 kB / 0.8416 GB, free: 47.35 MB / 0.5421 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.448, allocations: 214.6 kB / 0.8418 GB, free: 47.13 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005648/1.449, allocations: 1.13 MB / 0.8429 GB, free: 45.98 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009778/1.45, allocations: 1.285 MB / 0.8441 GB, free: 44.7 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.45, allocations: 0 / 0.8441 GB, free: 44.7 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.45, allocations: 0 / 0.8441 GB, free: 44.7 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.45, allocations: 4 kB / 0.8441 GB, free: 44.69 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/1.452, allocations: 3.8 MB / 0.8478 GB, free: 40.86 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.452, allocations: 0 / 0.8478 GB, free: 40.86 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/1.452, allocations: 4 kB / 0.8478 GB, free: 40.85 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.452, allocations: 8 kB / 0.8478 GB, free: 40.84 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.522e-05/1.452, allocations: 103.9 kB / 0.8479 GB, free: 40.74 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.452, allocations: 0 / 0.8479 GB, free: 40.74 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.452, allocations: 0 / 0.8479 GB, free: 40.74 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/1.454, allocations: 1.942 MB / 0.8498 GB, free: 38.77 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/1.454, allocations: 1.041 MB / 0.8509 GB, free: 37.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004426/1.455, allocations: 40 kB / 0.8509 GB, free: 37.66 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/1.456, allocations: 32 kB / 0.8509 GB, free: 37.62 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/1.456, allocations: 8 kB / 0.8509 GB, free: 37.62 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/1.456, allocations: 444 kB / 0.8514 GB, free: 37.18 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.006803/1.463, allocations: 7.744 MB / 0.8589 GB, free: 29.52 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.463, allocations: 0 / 0.8589 GB, free: 29.52 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007267/1.463, allocations: 351.9 kB / 0.8593 GB, free: 29.18 MB / 0.5421 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000197/1.464, allocations: 159.1 kB / 0.8594 GB, free: 29.02 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0003861/1.464, allocations: 343.4 kB / 0.8597 GB, free: 28.67 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.464, allocations: 4 kB / 0.8597 GB, free: 28.66 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/1.464, allocations: 239.3 kB / 0.86 GB, free: 28.42 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/1.465, allocations: 0.8146 MB / 0.8608 GB, free: 27.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/1.478, allocations: 13.74 MB / 0.8742 GB, free: 13.79 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003402/1.482, allocations: 4.975 MB / 0.879 GB, free: 8.785 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.004842/1.487, allocations: 2.316 MB / 0.8813 GB, free: 6.457 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/1.487, allocations: 0.4995 MB / 0.8818 GB, free: 5.957 MB / 0.5421 GB Notification: Performance of SimCode: time 5.61e-07/1.487, allocations: 0 / 0.8818 GB, free: 5.957 MB / 0.5421 GB Notification: Performance of Templates: time 0.07774/1.565, allocations: 34.86 MB / 0.9158 GB, free: 2.977 MB / 0.5734 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches