Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001432, allocations: 175.5 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.264/1.264, 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.0009065/0.0009066, allocations: 85.95 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8297/0.8297, allocations: 120.5 MB / 457.9 MB, free: 7.031 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.235e-05, allocations: 4 kB / 0.5357 GB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4845, allocations: 82.84 MB / 0.6166 GB, free: 9.352 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.6177, allocations: 126.7 MB / 0.7403 GB, free: 10.56 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001278/0.6178, allocations: 55.91 kB / 0.7403 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 3.755/4.373, allocations: 0.6143 GB / 1.355 GB, free: 180.6 MB / 0.6984 GB Notification: Performance of FrontEnd: time 1.773e-06/4.373, allocations: 0 / 1.355 GB, free: 180.6 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 0.001494/4.374, allocations: 0.495 MB / 1.355 GB, free: 180.1 MB / 0.6984 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.02739/4.402, allocations: 24.83 MB / 1.379 GB, free: 158.4 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/4.402, allocations: 12.03 kB / 1.379 GB, free: 158.4 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/4.407, allocations: 4.523 MB / 1.384 GB, free: 153.9 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09436/4.501, allocations: 44.61 MB / 1.427 GB, free: 111.6 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/4.501, allocations: 4 kB / 1.427 GB, free: 111.6 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/4.501, allocations: 132 kB / 1.427 GB, free: 111.5 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/4.503, allocations: 1.508 MB / 1.429 GB, free: 109.9 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/4.503, allocations: 0 / 1.429 GB, free: 109.9 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/4.503, allocations: 128 kB / 1.429 GB, free: 109.8 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/4.503, allocations: 0 / 1.429 GB, free: 109.8 MB / 0.6984 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008619/4.504, allocations: 0.8828 MB / 1.43 GB, free: 108.9 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02013/4.524, allocations: 13.84 MB / 1.443 GB, free: 95.02 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/4.525, allocations: 0.5337 MB / 1.444 GB, free: 94.48 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/4.526, allocations: 0.5165 MB / 1.444 GB, free: 93.96 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/4.526, allocations: 3.984 kB / 1.444 GB, free: 93.96 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009087/4.526, allocations: 1.316 MB / 1.446 GB, free: 92.62 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=8): time 2.374e-06/4.526, allocations: 3.938 kB / 1.446 GB, free: 92.62 MB / 0.6984 GB Notification: Performance of matching and sorting (n=8): time 0.007272/4.534, allocations: 7.32 MB / 1.453 GB, free: 85.23 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/4.534, allocations: 97.03 kB / 1.453 GB, free: 85.11 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06335/4.597, allocations: 42.08 MB / 1.494 GB, free: 43.46 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.000481/4.598, allocations: 153.7 kB / 1.494 GB, free: 43.3 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.02355/4.621, allocations: 22.91 MB / 1.517 GB, free: 20.38 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005311/4.622, allocations: 143.8 kB / 1.517 GB, free: 20.24 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/4.622, allocations: 124 kB / 1.517 GB, free: 20.12 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/4.622, allocations: 310.6 kB / 1.517 GB, free: 19.81 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/4.623, allocations: 0.5039 MB / 1.518 GB, free: 19.3 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/4.623, allocations: 0.5 MB / 1.518 GB, free: 18.8 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/4.624, allocations: 0.5446 MB / 1.519 GB, free: 18.25 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/4.624, allocations: 0 / 1.519 GB, free: 18.25 MB / 0.6984 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007922/4.632, allocations: 7.331 MB / 1.526 GB, free: 10.85 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/4.632, allocations: 33.69 kB / 1.526 GB, free: 10.81 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/4.632, allocations: 4 kB / 1.526 GB, free: 10.81 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/4.632, allocations: 0 / 1.526 GB, free: 10.81 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/4.632, allocations: 4 kB / 1.526 GB, free: 10.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/4.632, allocations: 0 / 1.526 GB, free: 10.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004165/4.636, allocations: 128 kB / 1.526 GB, free: 10.68 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001341/4.638, allocations: 1.719 MB / 1.528 GB, free: 8.961 MB / 0.6984 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.0004664/4.638, allocations: 397.2 kB / 1.528 GB, free: 8.562 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005743/4.644, allocations: 4.52 MB / 1.532 GB, free: 3.984 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3385/4.982, allocations: 5.113 MB / 1.537 GB, free: 188.5 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/4.982, allocations: 1.469 kB / 1.537 GB, free: 188.5 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/4.982, allocations: 0 / 1.537 GB, free: 188.5 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/4.982, allocations: 0.5938 kB / 1.537 GB, free: 188.5 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02909/5.011, allocations: 15.08 MB / 1.552 GB, free: 185.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/5.011, allocations: 0 / 1.552 GB, free: 185.2 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/5.012, allocations: 5.719 kB / 1.552 GB, free: 185.2 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/5.012, allocations: 2.906 kB / 1.552 GB, free: 185.2 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005999/5.012, allocations: 378.2 kB / 1.553 GB, free: 185.2 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/5.012, allocations: 3.969 kB / 1.553 GB, free: 185.2 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/5.012, allocations: 0 / 1.553 GB, free: 185.2 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006829/5.019, allocations: 7.66 MB / 1.56 GB, free: 184.8 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006452/5.025, allocations: 3.873 MB / 1.564 GB, free: 182.3 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002444/5.028, allocations: 132.1 kB / 1.564 GB, free: 182.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/5.031, allocations: 127.3 kB / 1.564 GB, free: 182.2 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/5.031, allocations: 7.234 kB / 1.564 GB, free: 182.2 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009297/5.032, allocations: 1.711 MB / 1.566 GB, free: 182 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.05552/5.087, allocations: 33.88 MB / 1.599 GB, free: 173.2 MB / 0.6984 GB Notification: Performance of sort global known variables: time 6.61e-07/5.087, allocations: 0 / 1.599 GB, free: 173.2 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.003672/5.091, allocations: 1.265 MB / 1.6 GB, free: 173.2 MB / 0.6984 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.0003586/5.091, allocations: 249 kB / 1.6 GB, free: 173.1 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.00148/5.093, allocations: 1.228 MB / 1.602 GB, free: 173 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/5.093, allocations: 0 / 1.602 GB, free: 173 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0008204/5.094, allocations: 0.7202 MB / 1.602 GB, free: 173 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005503/5.099, allocations: 3.251 MB / 1.605 GB, free: 170.8 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07653/5.176, allocations: 57.83 MB / 1.662 GB, free: 135.3 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02272/5.198, allocations: 18.07 MB / 1.68 GB, free: 117.2 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.02661/5.225, allocations: 9.379 MB / 1.689 GB, free: 107.8 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/5.227, allocations: 1.964 MB / 1.691 GB, free: 105.8 MB / 0.6984 GB Notification: Performance of SimCode: time 1.162e-06/5.227, allocations: 0 / 1.691 GB, free: 105.8 MB / 0.6984 GB Notification: Performance of Templates: time 0.728/5.955, allocations: 165.9 MB / 1.853 GB, free: 173.7 MB / 0.714 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches