Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.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_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",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.0009682/0.0009681, allocations: 181.4 kB / 16.39 MB, free: 5.762 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.151/1.151, allocations: 223.2 MB / 240.3 MB, free: 11.9 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.0008495/0.0008495, allocations: 94.52 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6645/0.6645, allocations: 120.5 MB / 463 MB, free: 8.742 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002883, allocations: 12 kB / 0.5434 GB, free: 42.31 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.117, allocations: 82.86 MB / 0.6243 GB, free: 9.145 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5338/0.6509, allocations: 128.2 MB / 0.7495 GB, free: 5.883 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001669/0.6511, allocations: 66.62 kB / 0.7496 GB, free: 5.852 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 9.313/9.964, allocations: 2.643 GB / 3.392 GB, free: 72.29 MB / 0.9015 GB Notification: Performance of FrontEnd: time 3.126e-06/9.964, allocations: 1.781 kB / 3.392 GB, free: 72.29 MB / 0.9015 GB Notification: Performance of Transformations before backend: time 0.02018/9.984, allocations: 3.41 MB / 3.396 GB, free: 71.89 MB / 0.9015 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32369 * Number of variables: 32369 Notification: Performance of Generate backend data structure: time 0.4292/10.41, allocations: 174.8 MB / 3.566 GB, free: 18.11 MB / 0.9015 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/10.41, allocations: 7.125 kB / 3.566 GB, free: 18.11 MB / 0.9015 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.05942/10.47, allocations: 18.23 MB / 3.584 GB, free: 17.25 MB / 0.9015 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06648/10.54, allocations: 15.82 MB / 3.6 GB, free: 9.656 MB / 0.9015 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2061/10.75, allocations: 79.91 MB / 3.678 GB, free: 7.02 MB / 0.9171 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01044/10.76, allocations: 9.136 MB / 3.687 GB, free: 1.832 MB / 0.9171 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.08438/10.84, allocations: 15.66 MB / 3.702 GB, free: 0 / 0.9171 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.444/12.28, allocations: 193.6 MB / 3.891 GB, free: 80.79 MB / 0.9176 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005351/12.29, allocations: 0 / 3.891 GB, free: 80.79 MB / 0.9176 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03666/12.33, allocations: 5.536 MB / 3.896 GB, free: 76.64 MB / 0.9176 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00173/12.33, allocations: 2.965 MB / 3.899 GB, free: 76.64 MB / 0.9176 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427/13.76, allocations: 198.9 MB / 4.094 GB, free: 79.27 MB / 0.9499 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.914/15.67, allocations: 0.6067 GB / 4.7 GB, free: 28.61 MB / 0.9967 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9241/16.59, allocations: 191.4 MB / 4.887 GB, free: 124.2 MB / 1.012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006765/16.6, allocations: 0.9636 MB / 4.888 GB, free: 124.1 MB / 1.012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/16.6, allocations: 1.815 MB / 4.89 GB, free: 123 MB / 1.012 GB Notification: Performance of pre-optimization done (n=9720): time 0.0001791/16.6, allocations: 0 / 4.89 GB, free: 123 MB / 1.012 GB Notification: Performance of matching and sorting (n=9720): time 0.4577/17.06, allocations: 240.1 MB / 5.124 GB, free: 64.48 MB / 1.012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002232/17.06, allocations: 1.022 MB / 5.125 GB, free: 64.34 MB / 1.012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9168/17.98, allocations: 126.9 MB / 5.249 GB, free: 132.7 MB / 1.012 GB Notification: Performance of collectPreVariables (initialization): time 0.02135/18, allocations: 2.1 MB / 5.251 GB, free: 132.7 MB / 1.012 GB Notification: Performance of collectInitialEqns (initialization): time 0.05749/18.06, allocations: 60.46 MB / 5.31 GB, free: 111.3 MB / 1.012 GB Notification: Performance of collectInitialBindings (initialization): time 0.03848/18.1, allocations: 33.12 MB / 5.343 GB, free: 85.84 MB / 1.012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02066/18.12, allocations: 2.219 MB / 5.345 GB, free: 84.07 MB / 1.012 GB Notification: Performance of setup shared object (initialization): time 0.01021/18.13, allocations: 5.443 MB / 5.35 GB, free: 81.72 MB / 1.012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1181/18.25, allocations: 78.78 MB / 5.427 GB, free: 64.71 MB / 1.012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1463/18.39, allocations: 95.48 MB / 5.52 GB, free: 31.91 MB / 1.012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8776/19.27, allocations: 99.22 MB / 5.617 GB, free: 120.7 MB / 1.012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006582/19.27, allocations: 99.91 kB / 5.617 GB, free: 120.7 MB / 1.012 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 0.5085/19.78, allocations: 262.8 MB / 5.874 GB, free: 72.01 MB / 1.012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003766/19.78, allocations: 152 kB / 5.874 GB, free: 71.86 MB / 1.012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007605/19.78, allocations: 352 kB / 5.874 GB, free: 71.52 MB / 1.012 GB Notification: Tearing is skipped for strong component 1 because system size of 6479 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.000691/19.78, allocations: 0.6875 MB / 5.875 GB, free: 70.83 MB / 1.012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07352/19.85, allocations: 18.43 MB / 5.893 GB, free: 57.13 MB / 1.012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/19.86, allocations: 0.8581 MB / 5.894 GB, free: 56.34 MB / 1.012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1502/20.01, allocations: 28.54 MB / 5.922 GB, free: 38.21 MB / 1.012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02245/20.03, allocations: 3.602 MB / 5.925 GB, free: 34.61 MB / 1.012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1602 * 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 (8083): * Single equations (assignments): 8082 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.7872/20.82, allocations: 48.69 MB / 5.973 GB, free: 124.8 MB / 1.012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.05401/20.87, allocations: 11.13 MB / 5.984 GB, free: 122.9 MB / 1.012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.045/20.92, allocations: 17.31 MB / 6.001 GB, free: 121.8 MB / 1.012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009936/20.92, allocations: 0.8909 MB / 6.002 GB, free: 121.8 MB / 1.012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.002861/20.92, allocations: 0.892 MB / 6.002 GB, free: 121.8 MB / 1.012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002981/20.92, allocations: 458.1 kB / 6.003 GB, free: 121.8 MB / 1.012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2526/21.17, allocations: 122.4 MB / 6.122 GB, free: 103.4 MB / 1.012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001065/21.18, allocations: 0.9688 kB / 6.122 GB, free: 103.4 MB / 1.012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02574/21.2, allocations: 7.74 MB / 6.13 GB, free: 102.9 MB / 1.012 GB Notification: Tearing is skipped for strong component 2 because system size of 6479 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 0.0004188/21.2, allocations: 103.5 kB / 6.13 GB, free: 102.9 MB / 1.012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01254/21.21, allocations: 1.485 MB / 6.131 GB, free: 101.7 MB / 1.012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002446/21.21, allocations: 99.62 kB / 6.132 GB, free: 101.7 MB / 1.012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/21.21, allocations: 1.844 kB / 6.132 GB, free: 101.7 MB / 1.012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3406/21.56, allocations: 194.2 MB / 6.321 GB, free: 2.398 MB / 1.012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7354/22.29, allocations: 17.49 MB / 6.338 GB, free: 140.7 MB / 1.028 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04061/22.33, allocations: 1.486 MB / 6.34 GB, free: 140.7 MB / 1.028 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1607/22.49, allocations: 36.97 MB / 6.376 GB, free: 140.6 MB / 1.028 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.03103/22.52, allocations: 9.865 MB / 6.386 GB, free: 140.5 MB / 1.028 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0214/22.54, allocations: 2.772 MB / 6.388 GB, free: 140.5 MB / 1.028 GB Notification: Performance of sorting global known variables: time 0.1678/22.71, allocations: 92.1 MB / 6.478 GB, free: 138 MB / 1.028 GB Notification: Performance of sort global known variables: time 7.01e-07/22.71, allocations: 0 / 6.478 GB, free: 138 MB / 1.028 GB Notification: Performance of remove unused functions: time 0.14/22.85, allocations: 42.81 MB / 6.52 GB, free: 135.6 MB / 1.028 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 (3242): * Single equations (assignments): 3241 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 1.096/23.95, allocations: 198.8 MB / 6.714 GB, free: 75.66 MB / 1.028 GB Notification: Performance of simCode: created initialization part: time 0.279/24.23, allocations: 168.8 MB / 6.879 GB, free: 65.57 MB / 1.028 GB Notification: Performance of simCode: created event and clocks part: time 0.0001719/24.23, allocations: 229.1 kB / 6.879 GB, free: 65.54 MB / 1.028 GB Notification: Performance of simCode: created simulation system equations: time 0.1389/24.37, allocations: 77.07 MB / 6.954 GB, free: 45.84 MB / 1.028 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1546/24.52, allocations: 28.32 MB / 6.982 GB, free: 38.09 MB / 1.028 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 35.68/60.2, allocations: 5.057 GB / 12.04 GB, free: 260.6 MB / 1.403 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2135/60.41, allocations: 87.24 MB / 12.12 GB, free: 194.3 MB / 1.403 GB Notification: Performance of simCode: alias equations: time 0.1886/60.6, allocations: 54.79 MB / 12.18 GB, free: 140.7 MB / 1.403 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1571/60.76, allocations: 56.92 MB / 12.23 GB, free: 107.2 MB / 1.403 GB Notification: Performance of SimCode: time 9.02e-07/60.76, allocations: 0 / 12.23 GB, free: 107.2 MB / 1.403 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.229/68.99, allocations: 2.664 GB / 14.9 GB, free: 420.6 MB / 1.59 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/68.99, allocations: 342.8 kB / 14.9 GB, free: 420.2 MB / 1.59 GB Notification: Performance of buildModelFMU: Generate platform static: time 194.9/263.9, allocations: 4.062 kB / 14.9 GB, free: 420.2 MB / 1.59 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.mat does not exist to compare? outputFormat=mat