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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001133/0.001133, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.18/1.18, allocations: 223.2 MB / 241.1 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6682/0.6682, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.000263, allocations: 8 kB / 0.4943 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1316, allocations: 82.85 MB / 0.5752 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.002081/0.1338, allocations: 1.917 MB / 0.577 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000729/0.1345, allocations: 0.542 MB / 0.5776 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1346, allocations: 4 kB / 0.5776 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1347, allocations: 27.77 kB / 0.5776 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.1348, allocations: 75.77 kB / 0.5777 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.135, allocations: 39.89 kB / 0.5777 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3803/0.5153, allocations: 8.556 MB / 0.5861 GB, free: 10.07 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004404/0.5197, allocations: 4.221 MB / 0.5902 GB, free: 9.055 MB / 446.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/0.524, allocations: 3.615 MB / 0.5937 GB, free: 8.234 MB / 446.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006313/0.5303, allocations: 4.094 MB / 0.5977 GB, free: 6.465 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00157/0.5319, allocations: 0.4944 MB / 0.5982 GB, free: 6.465 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.5342, allocations: 0.4987 MB / 0.5987 GB, free: 6.461 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.5355, allocations: 1.609 MB / 0.6003 GB, free: 5.551 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002711/0.5382, allocations: 1.76 MB / 0.602 GB, free: 4.77 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008471/0.5467, allocations: 11.06 MB / 0.6128 GB, free: 15.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5467, allocations: 0 / 0.6128 GB, free: 15.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5467, allocations: 0 / 0.6128 GB, free: 15.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0004066/0.5471, allocations: 0 / 0.6128 GB, free: 15.34 MB / 462.3 MB 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.02441/0.5715, allocations: 11.28 MB / 0.6238 GB, free: 5.93 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5716, allocations: 8.031 kB / 0.6238 GB, free: 5.922 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003959/0.5756, allocations: 1.203 MB / 0.625 GB, free: 4.711 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/0.5792, allocations: 1.031 MB / 0.626 GB, free: 3.668 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.5932, allocations: 5.279 MB / 0.6311 GB, free: 14.4 MB / 478.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004943/0.5937, allocations: 0.594 MB / 0.6317 GB, free: 13.81 MB / 478.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.5961, allocations: 0.7773 MB / 0.6325 GB, free: 13.03 MB / 478.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02534/0.6215, allocations: 12.97 MB / 0.6451 GB, free: 16 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.6217, allocations: 4 kB / 0.6451 GB, free: 15.99 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001885/0.6236, allocations: 368 kB / 0.6455 GB, free: 15.63 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.6237, allocations: 200 kB / 0.6457 GB, free: 15.44 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/0.6475, allocations: 13.28 MB / 0.6586 GB, free: 2.141 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08446/0.732, allocations: 39.43 MB / 0.6971 GB, free: 10.27 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/0.7467, allocations: 11.24 MB / 0.7081 GB, free: 15.1 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.7469, allocations: 64.94 kB / 0.7082 GB, free: 15.04 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.7471, allocations: 153.4 kB / 0.7083 GB, free: 14.87 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=630): time 7.214e-06/0.7471, allocations: 0 / 0.7083 GB, free: 14.87 MB / 0.5452 GB Notification: Performance of matching and sorting (n=630): time 0.02413/0.7712, allocations: 15.38 MB / 0.7234 GB, free: 15.39 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.7713, allocations: 116.3 kB / 0.7235 GB, free: 15.27 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/0.7843, allocations: 8.728 MB / 0.732 GB, free: 6.523 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.001365/0.7857, allocations: 161.7 kB / 0.7321 GB, free: 6.359 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.002969/0.7887, allocations: 3.687 MB / 0.7357 GB, free: 2.66 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.002687/0.7914, allocations: 2.132 MB / 0.7378 GB, free: 0.5469 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.7925, allocations: 148 kB / 0.738 GB, free: 412 kB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0005592/0.793, allocations: 0.6313 MB / 0.7386 GB, free: 15.77 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007809/0.8008, allocations: 5.066 MB / 0.7435 GB, free: 10.7 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009695/0.8106, allocations: 6.132 MB / 0.7495 GB, free: 4.254 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009853/0.8205, allocations: 6.151 MB / 0.7555 GB, free: 14.09 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.843e-05/0.8205, allocations: 4 kB / 0.7555 GB, free: 14.08 MB / 0.592 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02777/0.8483, allocations: 16.81 MB / 0.7719 GB, free: 13.21 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.8484, allocations: 16 kB / 0.772 GB, free: 13.2 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.034e-05/0.8484, allocations: 23.94 kB / 0.772 GB, free: 13.18 MB / 0.6077 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 6.102e-05/0.8485, allocations: 52 kB / 0.772 GB, free: 13.12 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004344/0.8528, allocations: 1.112 MB / 0.7731 GB, free: 12.01 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.015e-05/0.8529, allocations: 63.75 kB / 0.7732 GB, free: 11.95 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00808/0.861, allocations: 1.595 MB / 0.7747 GB, free: 10.34 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009543/0.862, allocations: 240 kB / 0.775 GB, free: 10.11 MB / 0.6077 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 () * Number of clocked 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.006521/0.8685, allocations: 3.229 MB / 0.7781 GB, free: 6.867 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/0.8704, allocations: 0.7262 MB / 0.7788 GB, free: 6.133 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.8726, allocations: 1.119 MB / 0.7799 GB, free: 5.004 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/0.8727, allocations: 60 kB / 0.78 GB, free: 4.945 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001598/0.8728, allocations: 60 kB / 0.78 GB, free: 4.887 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.143e-05/0.8729, allocations: 39.83 kB / 0.7801 GB, free: 4.848 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.8857, allocations: 7.977 MB / 0.7879 GB, free: 12.88 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.8857, allocations: 0 / 0.7879 GB, free: 12.88 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.8875, allocations: 475.3 kB / 0.7883 GB, free: 12.41 MB / 0.6233 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.229e-05/0.8875, allocations: 8 kB / 0.7883 GB, free: 12.41 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005664/0.8881, allocations: 100 kB / 0.7884 GB, free: 12.31 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.8881, allocations: 4.875 kB / 0.7884 GB, free: 12.3 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8881, allocations: 4.047 kB / 0.7884 GB, free: 12.3 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/0.9076, allocations: 12.51 MB / 0.8006 GB, free: 15.67 MB / 0.6389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003824/0.9115, allocations: 1.202 MB / 0.8018 GB, free: 14.44 MB / 0.6389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001991/0.9135, allocations: 107.9 kB / 0.8019 GB, free: 14.34 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008668/0.9221, allocations: 2.075 MB / 0.8039 GB, free: 12.25 MB / 0.6389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/0.9236, allocations: 0.6403 MB / 0.8046 GB, free: 11.61 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007474/0.9243, allocations: 187.3 kB / 0.8047 GB, free: 11.43 MB / 0.6389 GB Notification: Performance of sorting global known variables: time 0.008964/0.9333, allocations: 5.981 MB / 0.8106 GB, free: 5.449 MB / 0.6389 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9333, allocations: 0 / 0.8106 GB, free: 5.449 MB / 0.6389 GB Notification: Performance of remove unused functions: time 0.008802/0.9421, allocations: 2.776 MB / 0.8133 GB, free: 2.668 MB / 0.6389 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 (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.02249/0.9646, allocations: 13.27 MB / 0.8263 GB, free: 5.262 MB / 0.6545 GB Notification: Performance of simCode: created initialization part: time 0.4212/1.386, allocations: 10.93 MB / 0.8369 GB, free: 216.8 MB / 0.6548 GB Notification: Performance of simCode: created event and clocks part: time 2.313e-05/1.386, allocations: 15.78 kB / 0.8369 GB, free: 216.8 MB / 0.6548 GB Notification: Performance of simCode: created simulation system equations: time 0.008592/1.395, allocations: 5.036 MB / 0.8419 GB, free: 215.7 MB / 0.6548 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007922/1.402, allocations: 1.784 MB / 0.8436 GB, free: 215.1 MB / 0.6548 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1803/1.583, allocations: 93.98 MB / 0.9354 GB, free: 137.4 MB / 0.6548 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004347/1.587, allocations: 6.103 MB / 0.9413 GB, free: 131.2 MB / 0.6548 GB Notification: Performance of simCode: alias equations: time 0.006983/1.594, allocations: 3.152 MB / 0.9444 GB, free: 128.1 MB / 0.6548 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004116/1.598, allocations: 2.957 MB / 0.9473 GB, free: 125.1 MB / 0.6548 GB Notification: Performance of SimCode: time 1.132e-06/1.598, allocations: 0 / 0.9473 GB, free: 125.1 MB / 0.6548 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4164/2.015, allocations: 184.8 MB / 1.128 GB, free: 210.1 MB / 0.6704 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/2.015, allocations: 268.7 kB / 1.128 GB, free: 209.8 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.696/6.711, allocations: 0 / 1.128 GB, free: 209.8 MB / 0.6704 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) Environment - environmentSimulation: 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