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.001334/0.001334, allocations: 175.1 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.539/1.539, allocations: 221.3 MB / 235.5 MB, free: 2.895 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.0009622/0.0009622, allocations: 90.61 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.127/1.127, allocations: 120.5 MB / 457.9 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.926e-05, allocations: 4 kB / 0.5358 GB, free: 12.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7963, allocations: 82.82 MB / 0.6167 GB, free: 9.332 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.9778, allocations: 126.7 MB / 0.7404 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.9781, allocations: 51.92 kB / 0.7404 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.523/2.501, allocations: 193.5 MB / 0.9294 GB, free: 6.531 MB / 0.589 GB Notification: Performance of FrontEnd: time 3.457e-06/2.501, allocations: 0 / 0.9294 GB, free: 6.531 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.002456/2.504, allocations: 252 kB / 0.9296 GB, free: 6.285 MB / 0.589 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.03576/2.54, allocations: 12.6 MB / 0.9419 GB, free: 9.562 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/2.54, allocations: 8.031 kB / 0.9419 GB, free: 9.555 MB / 0.6046 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002724/2.542, allocations: 94.56 kB / 0.942 GB, free: 9.453 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005947/2.548, allocations: 2.271 MB / 0.9442 GB, free: 7.156 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06521/2.614, allocations: 22.35 MB / 0.9661 GB, free: 0.6367 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/2.614, allocations: 0 / 0.9661 GB, free: 0.6367 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/2.614, allocations: 68 kB / 0.9661 GB, free: 0.5703 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/2.615, allocations: 0.7744 MB / 0.9669 GB, free: 15.79 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/2.615, allocations: 4 kB / 0.9669 GB, free: 15.79 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/2.615, allocations: 60 kB / 0.967 GB, free: 15.73 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/2.615, allocations: 7.781 kB / 0.967 GB, free: 15.72 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/2.616, allocations: 456 kB / 0.9674 GB, free: 15.28 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01718/2.633, allocations: 7.003 MB / 0.9742 GB, free: 8.223 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/2.634, allocations: 290.5 kB / 0.9745 GB, free: 7.93 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/2.634, allocations: 280.9 kB / 0.9748 GB, free: 7.652 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/2.634, allocations: 0 / 0.9748 GB, free: 7.652 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008544/2.635, allocations: 0.7074 MB / 0.9755 GB, free: 6.926 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/2.635, allocations: 3.938 kB / 0.9755 GB, free: 6.922 MB / 0.6359 GB Notification: Performance of matching and sorting (n=8): time 0.006145/2.641, allocations: 3.724 MB / 0.9791 GB, free: 3.156 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/2.641, allocations: 81.09 kB / 0.9792 GB, free: 3.059 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5891/3.231, allocations: 21.08 MB / 0.9998 GB, free: 175.9 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0006702/3.231, allocations: 93.39 kB / 0.9999 GB, free: 175.9 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.02016/3.251, allocations: 11.01 MB / 1.011 GB, free: 169.6 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009127/3.252, allocations: 80.19 kB / 1.011 GB, free: 169.6 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/3.253, allocations: 64.28 kB / 1.011 GB, free: 169.6 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/3.253, allocations: 316.4 kB / 1.011 GB, free: 169.3 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/3.253, allocations: 265.2 kB / 1.011 GB, free: 169.3 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/3.254, allocations: 264.6 kB / 1.012 GB, free: 169.3 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/3.254, allocations: 298.1 kB / 1.012 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/3.254, allocations: 3.906 kB / 1.012 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01027/3.264, allocations: 3.724 MB / 1.015 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 9.11e-05/3.264, allocations: 38.09 kB / 1.016 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/3.265, allocations: 0 / 1.016 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-05/3.265, allocations: 0 / 1.016 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/3.265, allocations: 3.625 kB / 1.016 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/3.265, allocations: 3.781 kB / 1.016 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/3.268, allocations: 73.88 kB / 1.016 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007441/3.269, allocations: 0.8578 MB / 1.016 GB, free: 169 MB / 0.6515 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.0004543/3.269, allocations: 273.4 kB / 1.017 GB, free: 168.9 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003868/3.273, allocations: 2.263 MB / 1.019 GB, free: 167.6 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/3.285, allocations: 2.565 MB / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/3.285, allocations: 3.094 kB / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/3.285, allocations: 0 / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/3.285, allocations: 3.953 kB / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03457/3.32, allocations: 7.616 MB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/3.32, allocations: 96 / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/3.32, allocations: 8.578 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/3.32, allocations: 1.969 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009669/3.321, allocations: 196.6 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/3.321, allocations: 0.8438 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/3.321, allocations: 3.75 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008321/3.329, allocations: 3.908 MB / 1.033 GB, free: 162.8 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00594/3.335, allocations: 1.988 MB / 1.035 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002837/3.338, allocations: 62.81 kB / 1.035 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/3.341, allocations: 73 kB / 1.035 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/3.341, allocations: 4.812 kB / 1.035 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008788/3.342, allocations: 0.8595 MB / 1.036 GB, free: 161.3 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.05135/3.393, allocations: 16.93 MB / 1.052 GB, free: 157 MB / 0.6515 GB Notification: Performance of sort global known variables: time 1.383e-06/3.393, allocations: 0 / 1.052 GB, free: 157 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.004682/3.398, allocations: 0.6453 MB / 1.053 GB, free: 157 MB / 0.6515 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.008574/3.407, allocations: 4.699 MB / 1.058 GB, free: 155 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.001185/3.408, allocations: 0.6825 MB / 1.058 GB, free: 154.9 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/3.408, allocations: 0 / 1.058 GB, free: 154.9 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/3.409, allocations: 426 kB / 1.059 GB, free: 154.8 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006351/3.415, allocations: 1.629 MB / 1.06 GB, free: 153.7 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07433/3.489, allocations: 32.46 MB / 1.092 GB, free: 132.8 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0201/3.51, allocations: 9.283 MB / 1.101 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01714/3.527, allocations: 4.691 MB / 1.106 GB, free: 122.5 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01287/3.54, allocations: 9.275 MB / 1.115 GB, free: 113.2 MB / 0.6515 GB Notification: Performance of SimCode: time 3.777e-06/3.54, allocations: 4 kB / 1.115 GB, free: 113.2 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9969/4.537, allocations: 280 MB / 1.388 GB, free: 89.79 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/4.537, allocations: 189.3 kB / 1.388 GB, free: 89.55 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/21.37, allocations: 4.062 kB / 1.388 GB, free: 89.55 MB / 0.6828 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