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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008837, allocations: 85.72 kB / 16.31 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 179.3 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 223.2 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7811/0.7811, allocations: 120.5 MB / 412.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.0002831, allocations: 8 kB / 0.4944 GB, free: 11.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4134, allocations: 82.83 MB / 0.5753 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28): time 0.001688/0.4152, allocations: 2.012 MB / 0.5772 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005377/0.4157, allocations: 0.5076 MB / 0.5777 GB, free: 39.3 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.4158, allocations: 3.312 kB / 0.5777 GB, free: 39.3 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.204e-05/0.4159, allocations: 32.17 kB / 0.5778 GB, free: 39.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.416, allocations: 49.8 kB / 0.5778 GB, free: 39.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.4161, allocations: 42.73 kB / 0.5778 GB, free: 39.19 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0554/0.4715, allocations: 91.31 MB / 0.667 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04192/0.5135, allocations: 34.04 MB / 0.7003 GB, free: 13.8 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03426/0.5478, allocations: 27.31 MB / 0.7269 GB, free: 2.391 MB / 0.5608 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04666/0.5944, allocations: 31.04 MB / 0.7572 GB, free: 3.219 MB / 0.592 GB Notification: Performance of NFPackage.collectConstants: time 0.4615/1.056, allocations: 3.747 MB / 0.7609 GB, free: 61.75 MB / 0.5923 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02184/1.078, allocations: 3.749 MB / 0.7646 GB, free: 61.75 MB / 0.5923 GB Notification: Performance of NFScalarize.scalarize: time 0.01683/1.095, allocations: 12.24 MB / 0.7765 GB, free: 61.75 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.02001/1.115, allocations: 13.12 MB / 0.7893 GB, free: 61.72 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.06264/1.177, allocations: 84.63 MB / 0.872 GB, free: 23.83 MB / 0.5923 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.177, allocations: 3.312 kB / 0.872 GB, free: 23.83 MB / 0.5923 GB Notification: Performance of FrontEnd: time 2.004e-06/1.177, allocations: 0 / 0.872 GB, free: 23.83 MB / 0.5923 GB Notification: Performance of Transformations before backend: time 0.003678/1.181, allocations: 0 / 0.872 GB, free: 23.83 MB / 0.5923 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.1694/1.351, allocations: 87.55 MB / 0.9575 GB, free: 4.188 MB / 0.6548 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.351, allocations: 12.03 kB / 0.9575 GB, free: 4.176 MB / 0.6548 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.027/1.378, allocations: 8.995 MB / 0.9663 GB, free: 11.86 MB / 0.6704 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02622/1.404, allocations: 7.791 MB / 0.9739 GB, free: 3.984 MB / 0.6704 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0784/1.482, allocations: 39.33 MB / 1.012 GB, free: 13.98 MB / 0.7173 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003889/1.486, allocations: 4.504 MB / 1.017 GB, free: 9.473 MB / 0.7173 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01796/1.504, allocations: 5.84 MB / 1.022 GB, free: 3.633 MB / 0.7173 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6899/2.194, allocations: 99.43 MB / 1.119 GB, free: 111.9 MB / 0.7178 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001858/2.196, allocations: 0 / 1.119 GB, free: 111.9 MB / 0.7178 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01747/2.213, allocations: 2.729 MB / 1.122 GB, free: 109.1 MB / 0.7178 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008276/2.214, allocations: 1.46 MB / 1.124 GB, free: 107.7 MB / 0.7178 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1544/2.369, allocations: 101.5 MB / 1.223 GB, free: 6.105 MB / 0.7178 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8668/3.236, allocations: 306.2 MB / 1.522 GB, free: 96.62 MB / 0.8272 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1168/3.352, allocations: 91.41 MB / 1.611 GB, free: 24.77 MB / 0.8272 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05328/3.406, allocations: 40.94 MB / 1.651 GB, free: 15.75 MB / 0.8584 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002801/3.409, allocations: 489.4 kB / 1.651 GB, free: 15.27 MB / 0.8584 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000968/3.41, allocations: 0.9067 MB / 1.652 GB, free: 14.35 MB / 0.8584 GB Notification: Performance of pre-optimization done (n=4788): time 0.0001145/3.41, allocations: 0 / 1.652 GB, free: 14.35 MB / 0.8584 GB Notification: Performance of matching and sorting (n=4788): time 0.5081/3.918, allocations: 118 MB / 1.768 GB, free: 213.1 MB / 0.8584 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002342/3.918, allocations: 0.5288 MB / 1.768 GB, free: 213 MB / 0.8584 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0906/4.009, allocations: 65.91 MB / 1.832 GB, free: 177.2 MB / 0.8584 GB Notification: Performance of collectPreVariables (initialization): time 0.008594/4.017, allocations: 1.049 MB / 1.833 GB, free: 176.1 MB / 0.8584 GB Notification: Performance of collectInitialEqns (initialization): time 0.01965/4.037, allocations: 29.16 MB / 1.862 GB, free: 147.2 MB / 0.8584 GB Notification: Performance of collectInitialBindings (initialization): time 0.01472/4.052, allocations: 16.28 MB / 1.878 GB, free: 130.7 MB / 0.8584 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009421/4.061, allocations: 1.094 MB / 1.879 GB, free: 129.6 MB / 0.8584 GB Notification: Performance of setup shared object (initialization): time 0.002911/4.064, allocations: 2.832 MB / 1.882 GB, free: 126.8 MB / 0.8584 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05382/4.118, allocations: 38.75 MB / 1.919 GB, free: 88 MB / 0.8584 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06365/4.182, allocations: 47.18 MB / 1.966 GB, free: 38.45 MB / 0.8584 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4063/4.588, allocations: 47 MB / 2.011 GB, free: 215.5 MB / 0.8584 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002065/4.588, allocations: 47.25 kB / 2.012 GB, free: 215.5 MB / 0.8584 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.2154/4.804, allocations: 129.2 MB / 2.138 GB, free: 166.2 MB / 0.8584 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/4.804, allocations: 82.14 kB / 2.138 GB, free: 166.1 MB / 0.8584 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00031/4.804, allocations: 172 kB / 2.138 GB, free: 166 MB / 0.8584 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.0003386/4.804, allocations: 348 kB / 2.138 GB, free: 165.6 MB / 0.8584 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03123/4.836, allocations: 8.988 MB / 2.147 GB, free: 158.4 MB / 0.8584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004785/4.836, allocations: 431 kB / 2.147 GB, free: 158 MB / 0.8584 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06181/4.898, allocations: 13.76 MB / 2.161 GB, free: 146.7 MB / 0.8584 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01018/4.908, allocations: 1.77 MB / 2.163 GB, free: 144.9 MB / 0.8584 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.04577/4.954, allocations: 24 MB / 2.186 GB, free: 120.9 MB / 0.8584 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01844/4.972, allocations: 5.482 MB / 2.191 GB, free: 115.3 MB / 0.8584 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/4.993, allocations: 8.526 MB / 2.2 GB, free: 106.8 MB / 0.8584 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002253/4.993, allocations: 453.4 kB / 2.2 GB, free: 106.4 MB / 0.8584 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001149/4.995, allocations: 452 kB / 2.201 GB, free: 105.9 MB / 0.8584 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006644/4.995, allocations: 223.1 kB / 2.201 GB, free: 105.7 MB / 0.8584 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1024/5.098, allocations: 60.24 MB / 2.26 GB, free: 45.48 MB / 0.8584 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000156/5.098, allocations: 0 / 2.26 GB, free: 45.48 MB / 0.8584 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0121/5.11, allocations: 3.772 MB / 2.263 GB, free: 41.7 MB / 0.8584 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.0001768/5.11, allocations: 53.08 kB / 2.263 GB, free: 41.65 MB / 0.8584 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005807/5.116, allocations: 0.7344 MB / 2.264 GB, free: 40.91 MB / 0.8584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001166/5.116, allocations: 48 kB / 2.264 GB, free: 40.87 MB / 0.8584 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/5.116, allocations: 5.094 kB / 2.264 GB, free: 40.86 MB / 0.8584 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4955/5.612, allocations: 95.47 MB / 2.357 GB, free: 203 MB / 0.8584 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02192/5.634, allocations: 8.647 MB / 2.366 GB, free: 201.4 MB / 0.8584 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02207/5.656, allocations: 0.742 MB / 2.366 GB, free: 200.8 MB / 0.8584 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0681/5.724, allocations: 17.83 MB / 2.384 GB, free: 197.6 MB / 0.8584 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01155/5.735, allocations: 4.86 MB / 2.389 GB, free: 197.3 MB / 0.8584 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009389/5.745, allocations: 1.37 MB / 2.39 GB, free: 196.9 MB / 0.8584 GB Notification: Performance of sorting global known variables: time 0.07018/5.815, allocations: 45.33 MB / 2.434 GB, free: 185.1 MB / 0.8584 GB Notification: Performance of sort global known variables: time 5.21e-07/5.815, allocations: 0 / 2.434 GB, free: 185.1 MB / 0.8584 GB Notification: Performance of remove unused functions: time 0.07366/5.889, allocations: 21.08 MB / 2.455 GB, free: 169 MB / 0.8584 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.1954/6.084, allocations: 97.96 MB / 2.551 GB, free: 70.82 MB / 0.8584 GB Notification: Performance of simCode: created initialization part: time 0.4539/6.538, allocations: 83.05 MB / 2.632 GB, free: 238.2 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 9.212e-05/6.538, allocations: 112 kB / 2.632 GB, free: 238.1 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.06306/6.601, allocations: 37.95 MB / 2.669 GB, free: 231.6 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07915/6.68, allocations: 14.91 MB / 2.683 GB, free: 226.4 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.475/14.16, allocations: 1.409 GB / 4.092 GB, free: 396 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06081/14.22, allocations: 41.82 MB / 4.133 GB, free: 365.6 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.07125/14.29, allocations: 26.59 MB / 4.159 GB, free: 345.9 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04383/14.33, allocations: 26.44 MB / 4.185 GB, free: 319.5 MB / 1.108 GB Notification: Performance of SimCode: time 1.683e-06/14.33, allocations: 0 / 4.185 GB, free: 319.5 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.99/17.32, allocations: 1.308 GB / 5.493 GB, free: 268 MB / 1.108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/17.32, allocations: 310.5 kB / 5.494 GB, free: 267.7 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.46/47.78, allocations: 3.469 kB / 5.494 GB, free: 267.7 MB / 1.108 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) Environment - environmentSimulation: 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