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.0009668/0.0009668, allocations: 175.3 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.185/1.185, allocations: 221.3 MB / 235.5 MB, free: 2.938 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.0009053/0.0009056, allocations: 87.73 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7767/0.7767, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.464e-05, allocations: 0 / 0.5358 GB, free: 12.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4672, allocations: 82.84 MB / 0.6167 GB, free: 9.332 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.5971, allocations: 128.1 MB / 0.7418 GB, free: 9.102 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.5973, allocations: 67.91 kB / 0.7419 GB, free: 9.035 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.377/1.974, allocations: 269.7 MB / 1.005 GB, free: 82.63 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.866e-06/1.974, allocations: 0.8125 kB / 1.005 GB, free: 82.63 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.00244/1.976, allocations: 442.7 kB / 1.006 GB, free: 82.58 MB / 0.6671 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.04466/2.021, allocations: 19.94 MB / 1.025 GB, free: 78.34 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/2.021, allocations: 7.844 kB / 1.025 GB, free: 78.34 MB / 0.6671 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004634/2.026, allocations: 2.228 MB / 1.027 GB, free: 78.2 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006003/2.032, allocations: 1.987 MB / 1.029 GB, free: 77.24 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02131/2.053, allocations: 10.01 MB / 1.039 GB, free: 75.43 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008704/2.054, allocations: 1.151 MB / 1.04 GB, free: 75.39 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00334/2.057, allocations: 1.488 MB / 1.042 GB, free: 75.39 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04052/2.098, allocations: 23.74 MB / 1.065 GB, free: 74.95 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005813/2.099, allocations: 3.844 kB / 1.065 GB, free: 74.95 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0037/2.102, allocations: 0.6972 MB / 1.066 GB, free: 74.94 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002326/2.103, allocations: 378.6 kB / 1.066 GB, free: 74.94 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03393/2.137, allocations: 24.26 MB / 1.09 GB, free: 74.82 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1255/2.262, allocations: 76.58 MB / 1.164 GB, free: 49.22 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02257/2.285, allocations: 21.95 MB / 1.186 GB, free: 29.7 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01052/2.295, allocations: 10.14 MB / 1.196 GB, free: 20.65 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/2.296, allocations: 129.5 kB / 1.196 GB, free: 20.52 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/2.296, allocations: 259.1 kB / 1.196 GB, free: 20.26 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=1218): time 1.649e-05/2.296, allocations: 0 / 1.196 GB, free: 20.26 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1218): time 0.03475/2.331, allocations: 23.26 MB / 1.219 GB, free: 0.6289 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/2.331, allocations: 172.9 kB / 1.219 GB, free: 456 kB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02544/2.356, allocations: 15.51 MB / 1.234 GB, free: 3.82 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001747/2.358, allocations: 301.6 kB / 1.234 GB, free: 3.523 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.005018/2.363, allocations: 7.193 MB / 1.241 GB, free: 13.04 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.003658/2.367, allocations: 4.108 MB / 1.245 GB, free: 9.324 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/2.368, allocations: 288 kB / 1.246 GB, free: 9.043 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 0.0008059/2.369, allocations: 0.9371 MB / 1.247 GB, free: 8.27 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01315/2.382, allocations: 9.704 MB / 1.256 GB, free: 0 / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3203/2.703, allocations: 11.76 MB / 1.268 GB, free: 105.7 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/2.717, allocations: 11.81 MB / 1.279 GB, free: 105.5 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.911e-05/2.717, allocations: 15.12 kB / 1.279 GB, free: 105.5 MB / 0.6984 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.04273/2.759, allocations: 32.36 MB / 1.311 GB, free: 104.1 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/2.76, allocations: 30 kB / 1.311 GB, free: 104.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.679e-05/2.76, allocations: 41.53 kB / 1.311 GB, free: 104.1 MB / 0.6984 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 9.941e-05/2.76, allocations: 92.5 kB / 1.311 GB, free: 104.1 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007985/2.768, allocations: 2.21 MB / 1.313 GB, free: 104 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001058/2.768, allocations: 107.5 kB / 1.313 GB, free: 104 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01564/2.783, allocations: 3.285 MB / 1.316 GB, free: 103.7 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/2.785, allocations: 464.6 kB / 1.317 GB, free: 103.7 MB / 0.6984 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 () * 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.002659/2.788, allocations: 0.8088 MB / 1.318 GB, free: 103.5 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003756/2.792, allocations: 1.403 MB / 1.319 GB, free: 102.9 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004852/2.797, allocations: 2.163 MB / 1.321 GB, free: 102.7 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.024e-05/2.797, allocations: 117.1 kB / 1.321 GB, free: 102.7 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001646/2.797, allocations: 116.4 kB / 1.321 GB, free: 102.7 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001111/2.797, allocations: 55.92 kB / 1.321 GB, free: 102.7 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0222/2.819, allocations: 15.36 MB / 1.336 GB, free: 102 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.193e-05/2.819, allocations: 0 / 1.336 GB, free: 102 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003082/2.822, allocations: 0.9239 MB / 1.337 GB, free: 102 MB / 0.6984 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 5.063e-05/2.822, allocations: 15.56 kB / 1.337 GB, free: 102 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001154/2.824, allocations: 188.4 kB / 1.337 GB, free: 102 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.448e-05/2.824, allocations: 14.5 kB / 1.337 GB, free: 102 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/2.824, allocations: 0 / 1.337 GB, free: 102 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0333/2.857, allocations: 24 MB / 1.361 GB, free: 100 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006298/2.863, allocations: 2.251 MB / 1.363 GB, free: 99.25 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003798/2.867, allocations: 191.4 kB / 1.363 GB, free: 99.25 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01687/2.884, allocations: 4.258 MB / 1.367 GB, free: 99.25 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002014/2.886, allocations: 1.238 MB / 1.369 GB, free: 99.23 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001462/2.887, allocations: 356.5 kB / 1.369 GB, free: 99.23 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.01537/2.903, allocations: 11.36 MB / 1.38 GB, free: 98.55 MB / 0.6984 GB Notification: Performance of sort global known variables: time 1.8e-07/2.903, allocations: 3.344 kB / 1.38 GB, free: 98.55 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.01211/2.915, allocations: 5.352 MB / 1.385 GB, free: 97.88 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: 0 () * Number of discrete 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.03465/2.95, allocations: 25 MB / 1.41 GB, free: 80.42 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.02766/2.977, allocations: 20.75 MB / 1.43 GB, free: 62.41 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.321e-05/2.977, allocations: 31.19 kB / 1.43 GB, free: 62.38 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0129/2.99, allocations: 9.451 MB / 1.439 GB, free: 54.26 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01395/3.004, allocations: 3.482 MB / 1.443 GB, free: 51.61 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06041/3.065, allocations: 39.8 MB / 1.481 GB, free: 17.5 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/3.075, allocations: 11.2 MB / 1.492 GB, free: 9.457 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.01562/3.091, allocations: 6.412 MB / 1.499 GB, free: 5.449 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009372/3.1, allocations: 6.07 MB / 1.505 GB, free: 0 / 0.6984 GB Notification: Performance of SimCode: time 7.21e-07/3.1, allocations: 336 / 1.505 GB, free: 0 / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.086/4.186, allocations: 347 MB / 1.844 GB, free: 106.8 MB / 0.7453 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/4.186, allocations: 241.6 kB / 1.844 GB, free: 106.4 MB / 0.7453 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.928/14.11, allocations: 0 / 1.844 GB, free: 106.4 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