Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.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.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",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.0009216/0.0009217, allocations: 180.4 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.148/1.148, 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.0009094/0.0009095, allocations: 84.22 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.6467/0.6467, allocations: 120.5 MB / 463 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 8 kB / 0.5434 GB, free: 42.31 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1194, allocations: 82.85 MB / 0.6243 GB, free: 9.137 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5505/0.6699, allocations: 128.2 MB / 0.7495 GB, free: 5.578 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.6701, allocations: 74.67 kB / 0.7496 GB, free: 5.543 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 1.021/1.691, allocations: 268.8 MB / 1.012 GB, free: 116.1 MB / 0.6828 GB Notification: Performance of FrontEnd: time 2.605e-06/1.691, allocations: 3.938 kB / 1.012 GB, free: 116.1 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.001148/1.692, allocations: 441.3 kB / 1.013 GB, free: 116 MB / 0.6828 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4055 * Number of variables: 4055 Notification: Performance of Generate backend data structure: time 0.04022/1.732, allocations: 21.47 MB / 1.033 GB, free: 110.5 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.733, allocations: 11.12 kB / 1.034 GB, free: 110.5 MB / 0.6828 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00472/1.737, allocations: 2.303 MB / 1.036 GB, free: 110.4 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/1.741, allocations: 1.985 MB / 1.038 GB, free: 109.4 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01828/1.76, allocations: 10.06 MB / 1.048 GB, free: 107.6 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008743/1.761, allocations: 1.148 MB / 1.049 GB, free: 107.5 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00344/1.764, allocations: 1.485 MB / 1.05 GB, free: 107.5 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03306/1.797, allocations: 24.04 MB / 1.074 GB, free: 107.1 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000218/1.797, allocations: 0 / 1.074 GB, free: 107.1 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/1.799, allocations: 0.7037 MB / 1.074 GB, free: 107.1 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/1.799, allocations: 379.8 kB / 1.075 GB, free: 107.1 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0283/1.828, allocations: 24.65 MB / 1.099 GB, free: 102.2 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1147/1.942, allocations: 76.57 MB / 1.173 GB, free: 39.51 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02049/1.963, allocations: 22.15 MB / 1.195 GB, free: 17.44 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004712/1.963, allocations: 125.5 kB / 1.195 GB, free: 17.31 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/1.964, allocations: 267.2 kB / 1.195 GB, free: 17.04 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=1218): time 1.273e-05/1.964, allocations: 0 / 1.195 GB, free: 17.04 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1218): time 0.295/2.259, allocations: 29.85 MB / 1.225 GB, free: 100.1 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/2.259, allocations: 179 kB / 1.225 GB, free: 100.1 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01895/2.278, allocations: 15.44 MB / 1.24 GB, free: 99.58 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.002024/2.28, allocations: 298.2 kB / 1.24 GB, free: 99.55 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.003752/2.284, allocations: 7.199 MB / 1.247 GB, free: 98.26 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.002758/2.286, allocations: 4.112 MB / 1.251 GB, free: 96.03 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009608/2.287, allocations: 283.3 kB / 1.251 GB, free: 96.03 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.000448/2.288, allocations: 0.9418 MB / 1.252 GB, free: 95.7 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009627/2.297, allocations: 9.821 MB / 1.262 GB, free: 95.67 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/2.308, allocations: 11.89 MB / 1.274 GB, free: 93.93 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/2.319, allocations: 11.91 MB / 1.285 GB, free: 93.71 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/2.319, allocations: 11.59 kB / 1.285 GB, free: 93.71 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.03945/2.358, allocations: 32.64 MB / 1.317 GB, free: 90.62 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 8.517e-05/2.359, allocations: 37.11 kB / 1.317 GB, free: 90.61 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.202e-05/2.359, allocations: 42.75 kB / 1.317 GB, free: 90.61 MB / 0.6828 GB Notification: Tearing is skipped for strong component 1 because system size of 811 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.000116/2.359, allocations: 89.34 kB / 1.317 GB, free: 90.61 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00762/2.366, allocations: 2.211 MB / 1.319 GB, free: 90.44 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001341/2.367, allocations: 111.1 kB / 1.32 GB, free: 90.42 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01486/2.381, allocations: 3.285 MB / 1.323 GB, free: 89.36 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001755/2.383, allocations: 458 kB / 1.323 GB, free: 89.25 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1011): * Single equations (assignments): 1010 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009295/2.392, allocations: 6.162 MB / 1.329 GB, free: 87.72 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004035/2.396, allocations: 1.397 MB / 1.331 GB, free: 87.05 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/2.401, allocations: 2.163 MB / 1.333 GB, free: 85.67 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/2.401, allocations: 113 kB / 1.333 GB, free: 85.67 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003562/2.401, allocations: 114.4 kB / 1.333 GB, free: 85.67 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/2.401, allocations: 56.72 kB / 1.333 GB, free: 85.67 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/2.422, allocations: 15.37 MB / 1.348 GB, free: 81.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.322e-05/2.422, allocations: 0 / 1.348 GB, free: 81.3 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/2.425, allocations: 0.9287 MB / 1.349 GB, free: 81.24 MB / 0.6828 GB Notification: Tearing is skipped for strong component 2 because system size of 811 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 7.298e-05/2.425, allocations: 11.62 kB / 1.349 GB, free: 81.24 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007278/2.426, allocations: 193.2 kB / 1.349 GB, free: 81.09 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/2.426, allocations: 15.14 kB / 1.349 GB, free: 81.09 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/2.426, allocations: 0 / 1.349 GB, free: 81.09 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03001/2.456, allocations: 24.2 MB / 1.373 GB, free: 69.01 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006222/2.462, allocations: 2.254 MB / 1.375 GB, free: 66.85 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002561/2.465, allocations: 192.5 kB / 1.375 GB, free: 66.66 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01557/2.48, allocations: 4.259 MB / 1.379 GB, free: 64.2 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002695/2.483, allocations: 1.236 MB / 1.38 GB, free: 63.56 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001566/2.485, allocations: 356 kB / 1.381 GB, free: 63.21 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.01327/2.498, allocations: 11.49 MB / 1.392 GB, free: 53.76 MB / 0.6828 GB Notification: Performance of sort global known variables: time 5.61e-07/2.498, allocations: 0 / 1.392 GB, free: 53.76 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01134/2.509, allocations: 5.356 MB / 1.397 GB, free: 48.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (408): * Single equations (assignments): 407 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02985/2.539, allocations: 25.21 MB / 1.422 GB, free: 27.04 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.02435/2.563, allocations: 21.12 MB / 1.442 GB, free: 9.285 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.938e-05/2.564, allocations: 27.19 kB / 1.443 GB, free: 9.258 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/2.575, allocations: 9.679 MB / 1.452 GB, free: 1.184 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01421/2.59, allocations: 3.49 MB / 1.455 GB, free: 14.52 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6566/3.246, allocations: 213.1 MB / 1.663 GB, free: 39.76 MB / 0.7296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0105/3.257, allocations: 11.2 MB / 1.674 GB, free: 38.66 MB / 0.7296 GB Notification: Performance of simCode: alias equations: time 0.01433/3.271, allocations: 6.408 MB / 1.681 GB, free: 38.55 MB / 0.7296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006969/3.278, allocations: 6.005 MB / 1.687 GB, free: 37.49 MB / 0.7296 GB Notification: Performance of SimCode: time 9.02e-07/3.278, allocations: 0 / 1.687 GB, free: 37.49 MB / 0.7296 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9311/4.209, allocations: 346.7 MB / 2.025 GB, free: 86.55 MB / 0.7453 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/4.21, allocations: 278.8 kB / 2.025 GB, free: 86.19 MB / 0.7453 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.856/14.07, allocations: 0 / 2.025 GB, free: 86.19 MB / 0.7453 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat does not exist to compare? outputFormat=mat