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 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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009854/0.0009854, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.255/1.255, allocations: 223.2 MB / 240.3 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.0009421, allocations: 95.67 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.792/0.792, allocations: 120.5 MB / 463 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 12 kB / 0.5434 GB, free: 42.32 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 82.85 MB / 0.6243 GB, free: 9.141 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6615/0.8103, allocations: 126.7 MB / 0.7481 GB, free: 7.301 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001455/0.8105, allocations: 54.59 kB / 0.7481 GB, free: 7.277 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.7599/1.57, allocations: 193.5 MB / 0.9371 GB, free: 11.41 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.935e-06/1.57, allocations: 0 / 0.9371 GB, free: 11.41 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.001688/1.572, allocations: 252 kB / 0.9373 GB, free: 11.16 MB / 0.6982 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.6319/2.204, allocations: 17.55 MB / 0.9545 GB, free: 218.1 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/2.204, allocations: 10.41 kB / 0.9545 GB, free: 218.1 MB / 0.6984 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001327/2.205, allocations: 100.5 kB / 0.9546 GB, free: 218 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006401/2.212, allocations: 2.267 MB / 0.9568 GB, free: 216.8 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06756/2.279, allocations: 22.53 MB / 0.9788 GB, free: 211.5 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/2.28, allocations: 7.344 kB / 0.9788 GB, free: 211.5 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/2.28, allocations: 63 kB / 0.9789 GB, free: 211.5 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/2.281, allocations: 0.7822 MB / 0.9796 GB, free: 211.4 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/2.281, allocations: 3.703 kB / 0.9796 GB, free: 211.4 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/2.281, allocations: 63.19 kB / 0.9797 GB, free: 211.4 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/2.281, allocations: 3.953 kB / 0.9797 GB, free: 211.4 MB / 0.6984 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/2.281, allocations: 452.9 kB / 0.9801 GB, free: 211.4 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/2.295, allocations: 7.006 MB / 0.987 GB, free: 209.1 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/2.296, allocations: 290.9 kB / 0.9872 GB, free: 209.1 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/2.296, allocations: 0 / 0.9872 GB, free: 209.1 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000713/2.297, allocations: 0.7024 MB / 0.9879 GB, free: 209 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=8): time 2.545e-06/2.297, allocations: 0 / 0.9879 GB, free: 209 MB / 0.6984 GB Notification: Performance of matching and sorting (n=8): time 0.005532/2.302, allocations: 4.061 MB / 0.9919 GB, free: 207.5 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/2.302, allocations: 88.56 kB / 0.992 GB, free: 207.4 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03611/2.338, allocations: 21.33 MB / 1.013 GB, free: 202.4 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.0003694/2.339, allocations: 90.11 kB / 1.013 GB, free: 202.4 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.01024/2.349, allocations: 11.01 MB / 1.024 GB, free: 193.5 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004879/2.35, allocations: 85.44 kB / 1.024 GB, free: 193.5 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/2.35, allocations: 62.22 kB / 1.024 GB, free: 193.5 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/2.35, allocations: 311.3 kB / 1.024 GB, free: 193.2 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/2.35, allocations: 265.8 kB / 1.024 GB, free: 193.2 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/2.351, allocations: 270.5 kB / 1.025 GB, free: 193.2 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/2.351, allocations: 300 kB / 1.025 GB, free: 193.2 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.351, allocations: 0 / 1.025 GB, free: 193.2 MB / 0.6984 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005252/2.356, allocations: 3.735 MB / 1.029 GB, free: 190.4 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/2.356, allocations: 36.83 kB / 1.029 GB, free: 190.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/2.356, allocations: 2.188 kB / 1.029 GB, free: 190.4 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/2.356, allocations: 0 / 1.029 GB, free: 190.4 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/2.356, allocations: 4 kB / 1.029 GB, free: 190.4 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/2.356, allocations: 3.703 kB / 1.029 GB, free: 190.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/2.359, allocations: 79.83 kB / 1.029 GB, free: 190.3 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005431/2.36, allocations: 0.8555 MB / 1.029 GB, free: 189.4 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 () * 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.008539/2.368, allocations: 4.901 MB / 1.034 GB, free: 185.6 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003456/2.372, allocations: 2.264 MB / 1.036 GB, free: 183.3 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00678/2.379, allocations: 2.562 MB / 1.039 GB, free: 181.1 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/2.379, allocations: 4 kB / 1.039 GB, free: 181.1 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.379, allocations: 0 / 1.039 GB, free: 181.1 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/2.379, allocations: 0 / 1.039 GB, free: 181.1 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/2.397, allocations: 7.62 MB / 1.046 GB, free: 174.9 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-06/2.397, allocations: 0 / 1.046 GB, free: 174.9 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/2.397, allocations: 4 kB / 1.046 GB, free: 174.9 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/2.397, allocations: 0 / 1.046 GB, free: 174.9 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004421/2.398, allocations: 195.6 kB / 1.047 GB, free: 174.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/2.398, allocations: 0 / 1.047 GB, free: 174.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/2.398, allocations: 4.906 kB / 1.047 GB, free: 174.8 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/2.403, allocations: 3.919 MB / 1.05 GB, free: 170.8 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004459/2.408, allocations: 1.985 MB / 1.052 GB, free: 168.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00177/2.409, allocations: 64 kB / 1.052 GB, free: 168.7 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/2.411, allocations: 70.16 kB / 1.053 GB, free: 168.6 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/2.411, allocations: 4 kB / 1.053 GB, free: 168.6 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005192/2.411, allocations: 0.8577 MB / 1.053 GB, free: 167.8 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.03143/2.443, allocations: 17.18 MB / 1.07 GB, free: 152 MB / 0.6984 GB Notification: Performance of sort global known variables: time 7.12e-07/2.443, allocations: 0 / 1.07 GB, free: 152 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.004015/2.447, allocations: 0.6463 MB / 1.071 GB, free: 151.3 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) * 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.006328/2.453, allocations: 4.704 MB / 1.075 GB, free: 146.6 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.0008597/2.454, allocations: 0.6765 MB / 1.076 GB, free: 145.9 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.454, allocations: 4 kB / 1.076 GB, free: 145.9 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0004352/2.455, allocations: 422 kB / 1.076 GB, free: 145.5 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/2.46, allocations: 1.631 MB / 1.078 GB, free: 143.8 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.405/3.865, allocations: 353.2 MB / 1.423 GB, free: 58.87 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01502/3.88, allocations: 9.287 MB / 1.432 GB, free: 52.86 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.0147/3.895, allocations: 4.696 MB / 1.437 GB, free: 49.58 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01014/3.905, allocations: 9.269 MB / 1.446 GB, free: 40.83 MB / 0.714 GB Notification: Performance of SimCode: time 1.764e-06/3.905, allocations: 0 / 1.446 GB, free: 40.83 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.663/4.568, allocations: 295.6 MB / 1.734 GB, free: 21.62 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/4.568, allocations: 206.5 kB / 1.735 GB, free: 21.38 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/15.17, allocations: 3.797 kB / 1.735 GB, free: 21.38 MB / 0.714 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat does not exist to compare? outputFormat=mat