Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009536/0.0009537, allocations: 178.6 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 221.3 MB / 235.5 MB, free: 2.898 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.0008533/0.0008534, allocations: 101.4 kB / 286.5 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8353/0.8353, allocations: 120.5 MB / 457.9 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.295e-05, allocations: 0 / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4809, allocations: 82.83 MB / 0.6166 GB, free: 9.328 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.6105, allocations: 126.7 MB / 0.7403 GB, free: 10.54 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001283/0.6107, allocations: 47.98 kB / 0.7403 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.781/1.392, allocations: 67.65 MB / 0.8064 GB, free: 84.74 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.402e-06/1.392, allocations: 0 / 0.8064 GB, free: 84.74 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0005352/1.392, allocations: 131.9 kB / 0.8065 GB, free: 84.61 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.0074/1.4, allocations: 6.483 MB / 0.8129 GB, free: 78.05 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.4, allocations: 16.02 kB / 0.8129 GB, free: 78.03 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/1.401, allocations: 1.134 MB / 0.814 GB, free: 76.88 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01749/1.419, allocations: 11.2 MB / 0.8249 GB, free: 65.57 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/1.419, allocations: 11.94 kB / 0.8249 GB, free: 65.56 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/1.419, allocations: 32 kB / 0.825 GB, free: 65.53 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/1.419, allocations: 425.3 kB / 0.8254 GB, free: 65.11 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.419, allocations: 0 / 0.8254 GB, free: 65.11 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/1.42, allocations: 32 kB / 0.8254 GB, free: 65.08 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.42, allocations: 7.984 kB / 0.8254 GB, free: 65.07 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/1.42, allocations: 236 kB / 0.8256 GB, free: 64.84 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/1.422, allocations: 3.576 MB / 0.8291 GB, free: 61.22 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/1.423, allocations: 174.5 kB / 0.8293 GB, free: 61.04 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/1.423, allocations: 152.9 kB / 0.8294 GB, free: 60.89 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/1.423, allocations: 0 / 0.8294 GB, free: 60.89 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/1.423, allocations: 408.8 kB / 0.8298 GB, free: 60.47 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/1.423, allocations: 3.938 kB / 0.8298 GB, free: 60.46 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.001438/1.424, allocations: 1.918 MB / 0.8317 GB, free: 58.52 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/1.425, allocations: 85.09 kB / 0.8318 GB, free: 58.42 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008787/1.433, allocations: 10.59 MB / 0.8421 GB, free: 47.93 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/1.433, allocations: 61.64 kB / 0.8422 GB, free: 47.86 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.003104/1.436, allocations: 5.298 MB / 0.8474 GB, free: 42.56 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/1.437, allocations: 51.73 kB / 0.8474 GB, free: 42.51 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/1.437, allocations: 36 kB / 0.8474 GB, free: 42.48 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 3.755e-05/1.437, allocations: 306 kB / 0.8477 GB, free: 42.17 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/1.437, allocations: 140 kB / 0.8479 GB, free: 42.04 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/1.437, allocations: 143.9 kB / 0.848 GB, free: 41.89 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/1.437, allocations: 177.7 kB / 0.8482 GB, free: 41.71 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.437, allocations: 0 / 0.8482 GB, free: 41.71 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001408/1.439, allocations: 1.926 MB / 0.8501 GB, free: 39.76 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/1.439, allocations: 43.25 kB / 0.8501 GB, free: 39.71 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.439, allocations: 0 / 0.8501 GB, free: 39.71 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.439, allocations: 0 / 0.8501 GB, free: 39.71 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/1.439, allocations: 4 kB / 0.8501 GB, free: 39.71 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.439, allocations: 0 / 0.8501 GB, free: 39.71 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/1.439, allocations: 36 kB / 0.8501 GB, free: 39.68 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/1.44, allocations: 448 kB / 0.8506 GB, free: 39.24 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.0001467/1.44, allocations: 211.9 kB / 0.8508 GB, free: 39.02 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/1.44, allocations: 1.134 MB / 0.8519 GB, free: 37.88 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009344/1.441, allocations: 1.285 MB / 0.8531 GB, free: 36.59 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.441, allocations: 0 / 0.8531 GB, free: 36.59 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.441, allocations: 0 / 0.8531 GB, free: 36.59 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/1.441, allocations: 0 / 0.8531 GB, free: 36.59 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/1.444, allocations: 3.896 MB / 0.8569 GB, free: 32.65 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.444, allocations: 0 / 0.8569 GB, free: 32.65 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/1.444, allocations: 0 / 0.8569 GB, free: 32.65 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.444, allocations: 3.938 kB / 0.8569 GB, free: 32.64 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/1.444, allocations: 108 kB / 0.857 GB, free: 32.54 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.444, allocations: 0 / 0.857 GB, free: 32.54 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.444, allocations: 3.938 kB / 0.857 GB, free: 32.54 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.445, allocations: 2.037 MB / 0.859 GB, free: 30.46 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008558/1.446, allocations: 1.037 MB / 0.86 GB, free: 29.39 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/1.447, allocations: 36.09 kB / 0.8601 GB, free: 29.36 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/1.447, allocations: 39.92 kB / 0.8601 GB, free: 29.32 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/1.447, allocations: 8 kB / 0.8601 GB, free: 29.31 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/1.447, allocations: 440 kB / 0.8605 GB, free: 28.88 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.007548/1.455, allocations: 8.415 MB / 0.8688 GB, free: 20.54 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.51e-07/1.455, allocations: 0 / 0.8688 GB, free: 20.54 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006603/1.456, allocations: 348 kB / 0.8691 GB, free: 20.2 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.0001925/1.456, allocations: 162 kB / 0.8692 GB, free: 20.04 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.000487/1.456, allocations: 419.3 kB / 0.8696 GB, free: 19.61 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.456, allocations: 0 / 0.8696 GB, free: 19.61 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/1.457, allocations: 267.4 kB / 0.8699 GB, free: 19.34 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/1.458, allocations: 0.8223 MB / 0.8707 GB, free: 18.52 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.47, allocations: 13.78 MB / 0.8842 GB, free: 4.668 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003306/1.474, allocations: 4.972 MB / 0.889 GB, free: 15.66 MB / 0.5578 GB Notification: Performance of simCode: alias equations: time 0.005069/1.479, allocations: 2.32 MB / 0.8913 GB, free: 13.33 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/1.479, allocations: 0.4955 MB / 0.8918 GB, free: 12.83 MB / 0.5578 GB Notification: Performance of SimCode: time 1.103e-06/1.479, allocations: 4 kB / 0.8918 GB, free: 12.83 MB / 0.5578 GB Notification: Performance of Templates: time 0.09195/1.571, allocations: 40.7 MB / 0.9315 GB, free: 4 MB / 0.589 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches