Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.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_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28",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.0009427/0.0009428, allocations: 180.6 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.194/1.194, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008243/0.0008243, allocations: 83.12 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6247/0.6247, allocations: 120.5 MB / 463 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002606, allocations: 12 kB / 0.5434 GB, free: 42.24 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 82.85 MB / 0.6243 GB, free: 9.105 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5697/0.6876, allocations: 128.2 MB / 0.7495 GB, free: 5.828 MB / 0.5106 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001634/0.6878, allocations: 70.31 kB / 0.7496 GB, free: 5.793 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 3.779/4.467, allocations: 1.141 GB / 1.89 GB, free: 55.11 MB / 0.7609 GB Notification: Performance of FrontEnd: time 3.236e-06/4.467, allocations: 0 / 1.89 GB, free: 55.11 MB / 0.7609 GB Notification: Performance of Transformations before backend: time 0.007284/4.475, allocations: 1.68 MB / 1.892 GB, free: 54.91 MB / 0.7609 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15941 * Number of variables: 15941 Notification: Performance of Generate backend data structure: time 0.1895/4.664, allocations: 85.62 MB / 1.976 GB, free: 29.66 MB / 0.7609 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/4.664, allocations: 7.438 kB / 1.976 GB, free: 29.66 MB / 0.7609 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02365/4.688, allocations: 8.995 MB / 1.984 GB, free: 27.09 MB / 0.7609 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02466/4.712, allocations: 7.791 MB / 1.992 GB, free: 19.21 MB / 0.7609 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.171/4.883, allocations: 44.51 MB / 2.035 GB, free: 0 / 0.7609 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01543/4.899, allocations: 5.474 MB / 2.041 GB, free: 15.39 MB / 0.7765 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01541/4.914, allocations: 5.836 MB / 2.047 GB, free: 11.5 MB / 0.7765 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8925/5.807, allocations: 96.26 MB / 2.141 GB, free: 54.94 MB / 0.777 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002135/5.809, allocations: 0 / 2.141 GB, free: 54.94 MB / 0.777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01529/5.824, allocations: 2.728 MB / 2.143 GB, free: 54.94 MB / 0.777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001122/5.825, allocations: 1.464 MB / 2.145 GB, free: 54.94 MB / 0.777 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1605/5.986, allocations: 97.26 MB / 2.24 GB, free: 42.95 MB / 0.777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.04/7.026, allocations: 306.4 MB / 2.539 GB, free: 25.3 MB / 0.8239 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1131/7.139, allocations: 91.22 MB / 2.628 GB, free: 5.238 MB / 0.8239 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003454/7.143, allocations: 487.7 kB / 2.628 GB, free: 5.199 MB / 0.8239 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007816/7.144, allocations: 0.912 MB / 2.629 GB, free: 4.617 MB / 0.8239 GB Notification: Performance of pre-optimization done (n=4788): time 5.675e-05/7.144, allocations: 0 / 2.629 GB, free: 4.617 MB / 0.8239 GB Notification: Performance of matching and sorting (n=4788): time 0.5705/7.714, allocations: 118.6 MB / 2.745 GB, free: 88.25 MB / 0.8395 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002843/7.715, allocations: 0.5338 MB / 2.746 GB, free: 88.15 MB / 0.8395 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08593/7.801, allocations: 60.58 MB / 2.805 GB, free: 86.49 MB / 0.8395 GB Notification: Performance of collectPreVariables (initialization): time 0.007852/7.808, allocations: 1.052 MB / 2.806 GB, free: 86.46 MB / 0.8395 GB Notification: Performance of collectInitialEqns (initialization): time 0.02025/7.829, allocations: 29.21 MB / 2.834 GB, free: 76.33 MB / 0.8395 GB Notification: Performance of collectInitialBindings (initialization): time 0.01465/7.843, allocations: 16.28 MB / 2.85 GB, free: 63.8 MB / 0.8395 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006747/7.85, allocations: 1.093 MB / 2.851 GB, free: 62.93 MB / 0.8395 GB Notification: Performance of setup shared object (initialization): time 0.003355/7.853, allocations: 2.828 MB / 2.854 GB, free: 61.62 MB / 0.8395 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0482/7.902, allocations: 38.75 MB / 2.892 GB, free: 53.24 MB / 0.8395 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0632/7.965, allocations: 46.96 MB / 2.938 GB, free: 37.07 MB / 0.8395 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05695/8.022, allocations: 47 MB / 2.984 GB, free: 16.06 MB / 0.8395 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002634/8.022, allocations: 50.84 kB / 2.984 GB, free: 16.01 MB / 0.8395 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.6144/8.637, allocations: 129.1 MB / 3.11 GB, free: 86.7 MB / 0.8395 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/8.637, allocations: 80.31 kB / 3.11 GB, free: 86.7 MB / 0.8395 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003641/8.637, allocations: 174.7 kB / 3.11 GB, free: 86.7 MB / 0.8395 GB Notification: Tearing is skipped for strong component 1 because system size of 3191 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.0003823/8.638, allocations: 343.3 kB / 3.11 GB, free: 86.7 MB / 0.8395 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03218/8.67, allocations: 8.99 MB / 3.119 GB, free: 86.26 MB / 0.8395 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004922/8.67, allocations: 430.9 kB / 3.12 GB, free: 86.19 MB / 0.8395 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06496/8.735, allocations: 13.79 MB / 3.133 GB, free: 83.92 MB / 0.8395 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009784/8.745, allocations: 1.774 MB / 3.135 GB, free: 83.92 MB / 0.8395 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * 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 (3979): * Single equations (assignments): 3978 * 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 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0421/8.787, allocations: 24 MB / 3.158 GB, free: 83.25 MB / 0.8395 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01671/8.804, allocations: 5.486 MB / 3.163 GB, free: 80.63 MB / 0.8395 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0184/8.822, allocations: 8.521 MB / 3.172 GB, free: 76.83 MB / 0.8395 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002719/8.823, allocations: 452.6 kB / 3.172 GB, free: 76.83 MB / 0.8395 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001257/8.824, allocations: 454.9 kB / 3.173 GB, free: 76.83 MB / 0.8395 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007368/8.825, allocations: 227.7 kB / 3.173 GB, free: 76.83 MB / 0.8395 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09483/8.92, allocations: 60.25 MB / 3.232 GB, free: 56.91 MB / 0.8395 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002077/8.92, allocations: 0 / 3.232 GB, free: 56.91 MB / 0.8395 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01258/8.932, allocations: 3.773 MB / 3.235 GB, free: 54.19 MB / 0.8395 GB Notification: Tearing is skipped for strong component 2 because system size of 3191 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.0001634/8.933, allocations: 48 kB / 3.235 GB, free: 54.14 MB / 0.8395 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005637/8.938, allocations: 0.7344 MB / 3.236 GB, free: 53.41 MB / 0.8395 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.825e-05/8.938, allocations: 52 kB / 3.236 GB, free: 53.36 MB / 0.8395 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/8.938, allocations: 2.875 kB / 3.236 GB, free: 53.36 MB / 0.8395 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5585/9.497, allocations: 97.53 MB / 3.331 GB, free: 64.06 MB / 0.8395 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02897/9.526, allocations: 8.649 MB / 3.34 GB, free: 63.52 MB / 0.8395 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01847/9.544, allocations: 0.7291 MB / 3.341 GB, free: 63.52 MB / 0.8395 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06988/9.614, allocations: 17.86 MB / 3.358 GB, free: 63.52 MB / 0.8395 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01104/9.625, allocations: 4.864 MB / 3.363 GB, free: 63.48 MB / 0.8395 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.008025/9.633, allocations: 1.364 MB / 3.364 GB, free: 63.48 MB / 0.8395 GB Notification: Performance of sorting global known variables: time 0.06293/9.696, allocations: 45.34 MB / 3.408 GB, free: 62.25 MB / 0.8395 GB Notification: Performance of sort global known variables: time 3e-07/9.696, allocations: 1.5 kB / 3.408 GB, free: 62.25 MB / 0.8395 GB Notification: Performance of remove unused functions: time 0.05539/9.752, allocations: 21.08 MB / 3.429 GB, free: 60.12 MB / 0.8395 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 (1598): * Single equations (assignments): 1597 * 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 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1528/9.904, allocations: 97.99 MB / 3.525 GB, free: 43.12 MB / 0.8395 GB Notification: Performance of simCode: created initialization part: time 0.1176/10.02, allocations: 83.1 MB / 3.606 GB, free: 13.3 MB / 0.8551 GB Notification: Performance of simCode: created event and clocks part: time 0.0001556/10.02, allocations: 112.5 kB / 3.606 GB, free: 13.19 MB / 0.8551 GB Notification: Performance of simCode: created simulation system equations: time 0.4207/10.44, allocations: 41.47 MB / 3.646 GB, free: 117.9 MB / 0.8551 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06216/10.51, allocations: 13.89 MB / 3.66 GB, free: 117.3 MB / 0.8551 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.872/18.38, allocations: 1.521 GB / 5.181 GB, free: 305.1 MB / 1.121 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05956/18.44, allocations: 42.92 MB / 5.223 GB, free: 276 MB / 1.121 GB Notification: Performance of simCode: alias equations: time 0.07089/18.51, allocations: 26.6 MB / 5.249 GB, free: 258.1 MB / 1.121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5489/19.06, allocations: 27.55 MB / 5.276 GB, free: 336.1 MB / 1.121 GB Notification: Performance of SimCode: time 1.509e-05/19.06, allocations: 5.906 kB / 5.276 GB, free: 336.1 MB / 1.121 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.113/22.17, allocations: 1.309 GB / 6.586 GB, free: 201.8 MB / 1.121 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/22.17, allocations: 301.7 kB / 6.586 GB, free: 201.4 MB / 1.121 GB Notification: Performance of buildModelFMU: Generate platform static: time 57.14/79.31, allocations: 0 / 6.586 GB, free: 201.4 MB / 1.121 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat does not exist to compare? outputFormat=mat