Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001005, allocations: 176.9 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.4 MB / 223.5 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007087/0.0007086, allocations: 88.98 kB / 271.9 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8828/0.8828, allocations: 120.4 MB / 440.6 MB, free: 4.086 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 16 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 80 MB / 0.5969 GB, free: 9.141 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6243/0.7498, allocations: 125.9 MB / 0.7199 GB, free: 18.43 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001545/0.7501, allocations: 51.86 kB / 0.7199 GB, free: 18.43 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.6996/1.45, allocations: 193.5 MB / 0.9089 GB, free: 7.438 MB / 0.6671 GB Notification: Performance of FrontEnd: time 1.944e-06/1.45, allocations: 4 kB / 0.9089 GB, free: 7.434 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.001016/1.451, allocations: 252 kB / 0.9091 GB, free: 7.188 MB / 0.6671 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.02635/1.477, allocations: 17.31 MB / 0.926 GB, free: 6.656 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.477, allocations: 12.02 kB / 0.926 GB, free: 6.645 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/1.48, allocations: 2.264 MB / 0.9283 GB, free: 4.352 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2818/1.762, allocations: 23.74 MB / 0.9514 GB, free: 217.8 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/1.762, allocations: 1.531 kB / 0.9514 GB, free: 217.8 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/1.762, allocations: 66 kB / 0.9515 GB, free: 217.8 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009331/1.763, allocations: 0.7873 MB / 0.9523 GB, free: 217.8 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/1.763, allocations: 0.9375 kB / 0.9523 GB, free: 217.8 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/1.763, allocations: 63.09 kB / 0.9523 GB, free: 217.8 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/1.763, allocations: 1.25 kB / 0.9523 GB, free: 217.8 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/1.764, allocations: 464.3 kB / 0.9528 GB, free: 217.8 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/1.779, allocations: 6.996 MB / 0.9596 GB, free: 216.4 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/1.78, allocations: 284.4 kB / 0.9599 GB, free: 216.4 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/1.781, allocations: 285 kB / 0.9601 GB, free: 216.4 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/1.781, allocations: 1.344 kB / 0.9602 GB, free: 216.4 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007279/1.782, allocations: 0.7025 MB / 0.9608 GB, free: 216.3 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=8): time 2.885e-06/1.782, allocations: 0 / 0.9608 GB, free: 216.3 MB / 0.6828 GB Notification: Performance of matching and sorting (n=8): time 0.008423/1.79, allocations: 4.234 MB / 0.965 GB, free: 214.9 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.79, allocations: 90.03 kB / 0.9651 GB, free: 214.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03686/1.827, allocations: 24.78 MB / 0.9893 GB, free: 208.7 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0005794/1.828, allocations: 87.83 kB / 0.9893 GB, free: 208.6 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.01016/1.838, allocations: 11.01 MB / 1 GB, free: 199.8 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.000683/1.839, allocations: 87.97 kB / 1 GB, free: 199.8 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.839, allocations: 63.56 kB / 1 GB, free: 199.8 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 4.891e-05/1.839, allocations: 310.6 kB / 1.001 GB, free: 199.5 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/1.839, allocations: 268.8 kB / 1.001 GB, free: 199.5 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/1.84, allocations: 262.7 kB / 1.001 GB, free: 199.5 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/1.84, allocations: 0.5891 MB / 1.002 GB, free: 199.4 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.84, allocations: 0 / 1.002 GB, free: 199.4 MB / 0.6828 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005508/1.846, allocations: 3.976 MB / 1.005 GB, free: 198 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/1.846, allocations: 40.14 kB / 1.006 GB, free: 198 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.846, allocations: 0.625 kB / 1.006 GB, free: 198 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.846, allocations: 0 / 1.006 GB, free: 198 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/1.846, allocations: 13 kB / 1.006 GB, free: 198 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.846, allocations: 3.438 kB / 1.006 GB, free: 198 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/1.85, allocations: 70.8 kB / 1.006 GB, free: 198 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006025/1.85, allocations: 0.8576 MB / 1.006 GB, free: 197.9 MB / 0.6828 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008518/1.859, allocations: 4.908 MB / 1.011 GB, free: 197.2 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00404/1.863, allocations: 2.263 MB / 1.013 GB, free: 196 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007462/1.87, allocations: 2.562 MB / 1.016 GB, free: 195.3 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.87, allocations: 6.188 kB / 1.016 GB, free: 195.3 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.87, allocations: 1.75 kB / 1.016 GB, free: 195.3 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.87, allocations: 3.562 kB / 1.016 GB, free: 195.3 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02075/1.891, allocations: 7.618 MB / 1.023 GB, free: 190.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.891, allocations: 4 kB / 1.023 GB, free: 190.1 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/1.891, allocations: 3.969 kB / 1.023 GB, free: 190.1 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.891, allocations: 0 / 1.023 GB, free: 190.1 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000655/1.892, allocations: 194.2 kB / 1.024 GB, free: 189.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.892, allocations: 3.938 kB / 1.024 GB, free: 189.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.892, allocations: 240 / 1.024 GB, free: 189.9 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006096/1.898, allocations: 4.152 MB / 1.028 GB, free: 185.7 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003641/1.902, allocations: 1.984 MB / 1.03 GB, free: 183.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002034/1.904, allocations: 68 kB / 1.03 GB, free: 183.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/1.906, allocations: 77.91 kB / 1.03 GB, free: 183.6 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/1.906, allocations: 12.91 kB / 1.03 GB, free: 183.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005037/1.906, allocations: 0.8555 MB / 1.031 GB, free: 182.7 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.02793/1.934, allocations: 17.18 MB / 1.047 GB, free: 166.6 MB / 0.6828 GB Notification: Performance of sort global known variables: time 4.31e-07/1.934, allocations: 0 / 1.047 GB, free: 166.6 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.003795/1.938, allocations: 0.6513 MB / 1.048 GB, free: 165.9 MB / 0.6828 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 (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.0006051/1.939, allocations: 187.6 kB / 1.048 GB, free: 165.7 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.001387/1.94, allocations: 0.6869 MB / 1.049 GB, free: 165 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.94, allocations: 0 / 1.049 GB, free: 165 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/1.941, allocations: 421 kB / 1.049 GB, free: 164.6 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008761/1.95, allocations: 1.693 MB / 1.051 GB, free: 162.9 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04157/1.991, allocations: 36.82 MB / 1.087 GB, free: 126.1 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01108/2.002, allocations: 8.917 MB / 1.096 GB, free: 117.1 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.01175/2.014, allocations: 4.696 MB / 1.1 GB, free: 112.4 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/2.015, allocations: 0.9838 MB / 1.101 GB, free: 111.4 MB / 0.6828 GB Notification: Performance of SimCode: time 8.72e-07/2.015, allocations: 0 / 1.101 GB, free: 111.4 MB / 0.6828 GB Notification: Performance of Templates: time 0.1794/2.195, allocations: 81.7 MB / 1.181 GB, free: 29.61 MB / 0.6828 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches