Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.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_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",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.00115/0.00115, allocations: 175.5 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.17/1.17, allocations: 221.3 MB / 235.5 MB, free: 2.961 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.0008381/0.0008381, allocations: 91.67 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7517/0.7517, allocations: 120.4 MB / 457.8 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.405e-05, allocations: 4 kB / 0.5358 GB, free: 12.09 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4927, allocations: 82.83 MB / 0.6167 GB, free: 9.34 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.6265, allocations: 128.1 MB / 0.7418 GB, free: 9.105 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001526/0.6267, allocations: 71.91 kB / 0.7419 GB, free: 9.035 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.7738/1.401, allocations: 137.5 MB / 0.8761 GB, free: 13.62 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.272e-06/1.401, allocations: 0 / 0.8761 GB, free: 13.62 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0006888/1.401, allocations: 223.9 kB / 0.8763 GB, free: 13.4 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.0198/1.421, allocations: 10.25 MB / 0.8863 GB, free: 3.066 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.421, allocations: 12.03 kB / 0.8863 GB, free: 3.055 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002274/1.423, allocations: 1.16 MB / 0.8875 GB, free: 1.883 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/1.426, allocations: 1.035 MB / 0.8885 GB, free: 0.8359 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/1.437, allocations: 5.251 MB / 0.8936 GB, free: 11.49 MB / 0.5578 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004902/1.438, allocations: 0.5903 MB / 0.8942 GB, free: 10.9 MB / 0.5578 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/1.44, allocations: 0.7734 MB / 0.8949 GB, free: 10.12 MB / 0.5578 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/1.46, allocations: 12.27 MB / 0.9069 GB, free: 13.79 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/1.46, allocations: 0 / 0.9069 GB, free: 13.79 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00139/1.462, allocations: 376 kB / 0.9073 GB, free: 13.42 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/1.462, allocations: 199.9 kB / 0.9075 GB, free: 13.23 MB / 0.5734 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/1.48, allocations: 12.5 MB / 0.9197 GB, free: 0.7031 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0687/1.549, allocations: 39.32 MB / 0.9581 GB, free: 8.641 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/1.562, allocations: 11.13 MB / 0.9689 GB, free: 13.5 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006167/1.568, allocations: 5.209 MB / 0.974 GB, free: 8.277 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/1.568, allocations: 64.94 kB / 0.9741 GB, free: 8.211 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/1.568, allocations: 157.5 kB / 0.9742 GB, free: 8.043 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=630): time 7.895e-06/1.568, allocations: 0 / 0.9742 GB, free: 8.043 MB / 0.6359 GB Notification: Performance of matching and sorting (n=630): time 0.01779/1.586, allocations: 11.96 MB / 0.9859 GB, free: 11.98 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/1.586, allocations: 120.3 kB / 0.986 GB, free: 11.85 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/1.597, allocations: 7.948 MB / 0.9938 GB, free: 3.891 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0007687/1.598, allocations: 162.5 kB / 0.994 GB, free: 3.727 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.2878/1.885, allocations: 3.693 MB / 0.9976 GB, free: 140.9 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.00214/1.888, allocations: 2.131 MB / 0.9996 GB, free: 140.3 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007372/1.888, allocations: 144.2 kB / 0.9998 GB, free: 140.3 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0003646/1.889, allocations: 0.632 MB / 1 GB, free: 139.9 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006726/1.895, allocations: 4.99 MB / 1.005 GB, free: 139.9 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006737/1.902, allocations: 6.065 MB / 1.011 GB, free: 139.1 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006851/1.909, allocations: 6.078 MB / 1.017 GB, free: 138.9 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/1.909, allocations: 7.594 kB / 1.017 GB, free: 138.9 MB / 0.6515 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02023/1.929, allocations: 16.65 MB / 1.033 GB, free: 137.9 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/1.929, allocations: 19.52 kB / 1.033 GB, free: 137.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/1.929, allocations: 22.66 kB / 1.033 GB, free: 137.9 MB / 0.6515 GB Notification: Tearing is skipped for strong component 1 because system size of 419 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 5.876e-05/1.929, allocations: 46.34 kB / 1.033 GB, free: 137.9 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/1.933, allocations: 1.115 MB / 1.035 GB, free: 137.8 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.005e-05/1.933, allocations: 57.52 kB / 1.035 GB, free: 137.8 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007082/1.94, allocations: 1.609 MB / 1.036 GB, free: 137.6 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005838/1.941, allocations: 240.5 kB / 1.036 GB, free: 137.6 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (523): * Single equations (assignments): 522 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.942, allocations: 484.2 kB / 1.037 GB, free: 137.4 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.943, allocations: 0.7249 MB / 1.038 GB, free: 137.1 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/1.946, allocations: 1.114 MB / 1.039 GB, free: 137 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/1.946, allocations: 60.66 kB / 1.039 GB, free: 137 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.558e-05/1.946, allocations: 63.75 kB / 1.039 GB, free: 137 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.769e-05/1.946, allocations: 29.48 kB / 1.039 GB, free: 137 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00874/1.954, allocations: 7.982 MB / 1.047 GB, free: 136.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/1.954, allocations: 4.828 kB / 1.047 GB, free: 136.6 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.956, allocations: 484 kB / 1.047 GB, free: 136.5 MB / 0.6515 GB Notification: Tearing is skipped for strong component 2 because system size of 419 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 2.251e-05/1.956, allocations: 7.75 kB / 1.047 GB, free: 136.5 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003486/1.956, allocations: 98.66 kB / 1.047 GB, free: 136.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/1.956, allocations: 7.656 kB / 1.047 GB, free: 136.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.956, allocations: 3.938 kB / 1.047 GB, free: 136.5 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/1.971, allocations: 12.38 MB / 1.059 GB, free: 135.4 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00303/1.974, allocations: 1.213 MB / 1.06 GB, free: 135 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/1.976, allocations: 105.4 kB / 1.061 GB, free: 135 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007815/1.984, allocations: 2.078 MB / 1.063 GB, free: 135 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009433/1.984, allocations: 0.6472 MB / 1.063 GB, free: 135 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004969/1.985, allocations: 181.9 kB / 1.063 GB, free: 135 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.006446/1.991, allocations: 5.91 MB / 1.069 GB, free: 134.2 MB / 0.6515 GB Notification: Performance of sort global known variables: time 4.61e-07/1.991, allocations: 0 / 1.069 GB, free: 134.2 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.005628/1.997, allocations: 2.766 MB / 1.072 GB, free: 133.8 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 211 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01548/2.013, allocations: 13.17 MB / 1.085 GB, free: 127.4 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.01313/2.026, allocations: 10.74 MB / 1.095 GB, free: 118.1 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/2.026, allocations: 18 kB / 1.095 GB, free: 118.1 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.005941/2.032, allocations: 4.912 MB / 1.1 GB, free: 113.8 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006467/2.038, allocations: 1.785 MB / 1.102 GB, free: 112.4 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/2.063, allocations: 20.19 MB / 1.122 GB, free: 95.16 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/2.067, allocations: 6.104 MB / 1.127 GB, free: 90.67 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.006547/2.073, allocations: 3.162 MB / 1.131 GB, free: 88.61 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003194/2.077, allocations: 2.943 MB / 1.133 GB, free: 85.88 MB / 0.6515 GB Notification: Performance of SimCode: time 6.82e-07/2.077, allocations: 0 / 1.133 GB, free: 85.88 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4989/2.576, allocations: 185.1 MB / 1.314 GB, free: 149 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/2.576, allocations: 229.5 kB / 1.314 GB, free: 148.7 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.893/8.469, allocations: 0 / 1.314 GB, free: 148.7 MB / 0.6828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat does not exist to compare? outputFormat=mat