Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.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_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",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.0009011/0.0009012, allocations: 88.08 kB / 16.31 MB, free: 6.449 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.0009704/0.0009705, allocations: 180.5 kB / 17.21 MB, free: 6.32 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.236/1.236, allocations: 223.2 MB / 241.2 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6585/0.6585, allocations: 120.5 MB / 412.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002628, allocations: 8 kB / 0.4944 GB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 82.84 MB / 0.5753 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20): time 0.00217/0.1221, allocations: 2.011 MB / 0.5772 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007811/0.1229, allocations: 0.5186 MB / 0.5777 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.123, allocations: 11.94 kB / 0.5777 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1231, allocations: 31.77 kB / 0.5778 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.1232, allocations: 43.61 kB / 0.5778 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.1234, allocations: 43.94 kB / 0.5779 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.4095/0.5329, allocations: 46.98 MB / 0.6237 GB, free: 6.113 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02145/0.5544, allocations: 17.25 MB / 0.6406 GB, free: 5.125 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02029/0.5747, allocations: 14.03 MB / 0.6543 GB, free: 7.043 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02379/0.5985, allocations: 15.95 MB / 0.6699 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.006338/0.6049, allocations: 1.93 MB / 0.6718 GB, free: 5.094 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.6158, allocations: 1.93 MB / 0.6736 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.007831/0.6236, allocations: 6.292 MB / 0.6798 GB, free: 12.85 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.01155/0.6352, allocations: 6.753 MB / 0.6864 GB, free: 6.074 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.04215/0.6773, allocations: 43.45 MB / 0.7288 GB, free: 11.18 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6774, allocations: 3.938 kB / 0.7288 GB, free: 11.18 MB / 0.5608 GB Notification: Performance of FrontEnd: time 3.266e-06/0.6774, allocations: 4 kB / 0.7288 GB, free: 11.17 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.001717/0.6791, allocations: 4.656 kB / 0.7288 GB, free: 11.17 MB / 0.5608 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.08603/0.7651, allocations: 44.68 MB / 0.7725 GB, free: 14.27 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.7652, allocations: 8.031 kB / 0.7725 GB, free: 14.26 MB / 0.6077 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0134/0.7786, allocations: 4.627 MB / 0.777 GB, free: 9.617 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/0.7913, allocations: 4.013 MB / 0.7809 GB, free: 5.562 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03951/0.8308, allocations: 20.2 MB / 0.8006 GB, free: 1.238 MB / 0.6233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002148/0.833, allocations: 2.316 MB / 0.8029 GB, free: 14.92 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00863/0.8417, allocations: 3.008 MB / 0.8058 GB, free: 11.91 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5425/1.384, allocations: 51.03 MB / 0.8557 GB, free: 148.1 MB / 0.6548 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007851/1.385, allocations: 0 / 0.8557 GB, free: 148.1 MB / 0.6548 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007105/1.392, allocations: 1.401 MB / 0.857 GB, free: 147 MB / 0.6548 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006274/1.393, allocations: 0.7524 MB / 0.8578 GB, free: 147 MB / 0.6548 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07461/1.467, allocations: 52.06 MB / 0.9086 GB, free: 122.4 MB / 0.6548 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2535/1.721, allocations: 156.3 MB / 1.061 GB, free: 12.94 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05808/1.779, allocations: 45.9 MB / 1.106 GB, free: 15.17 MB / 0.7485 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2924/2.072, allocations: 20.88 MB / 1.126 GB, free: 226.4 MB / 0.7485 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/2.073, allocations: 250.9 kB / 1.127 GB, free: 226.4 MB / 0.7485 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/2.074, allocations: 494.6 kB / 1.127 GB, free: 226.3 MB / 0.7485 GB Notification: Performance of pre-optimization done (n=2460): time 3.33e-05/2.074, allocations: 0 / 1.127 GB, free: 226.3 MB / 0.7485 GB Notification: Performance of matching and sorting (n=2460): time 0.08478/2.158, allocations: 60.48 MB / 1.186 GB, free: 214.4 MB / 0.7485 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/2.159, allocations: 302.4 kB / 1.186 GB, free: 214.3 MB / 0.7485 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04037/2.199, allocations: 33.87 MB / 1.22 GB, free: 190.3 MB / 0.7485 GB Notification: Performance of collectPreVariables (initialization): time 0.004219/2.203, allocations: 0.5524 MB / 1.22 GB, free: 189.8 MB / 0.7485 GB Notification: Performance of collectInitialEqns (initialization): time 0.008293/2.211, allocations: 14.73 MB / 1.234 GB, free: 176.9 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.006775/2.218, allocations: 8.311 MB / 1.243 GB, free: 169.4 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002865/2.221, allocations: 0.5625 MB / 1.243 GB, free: 168.8 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 3.723e-05/2.221, allocations: 305.1 kB / 1.243 GB, free: 168.5 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0247/2.246, allocations: 19.88 MB / 1.263 GB, free: 149.6 MB / 0.7485 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02959/2.276, allocations: 24.19 MB / 1.286 GB, free: 124.2 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03504/2.311, allocations: 24.11 MB / 1.31 GB, free: 100 MB / 0.7485 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/2.311, allocations: 24 kB / 1.31 GB, free: 99.98 MB / 0.7485 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1158/2.426, allocations: 66.18 MB / 1.375 GB, free: 33.67 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/2.427, allocations: 44 kB / 1.375 GB, free: 33.62 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/2.427, allocations: 92 kB / 1.375 GB, free: 33.54 MB / 0.7485 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0001966/2.427, allocations: 176 kB / 1.375 GB, free: 33.36 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01571/2.443, allocations: 4.559 MB / 1.379 GB, free: 28.8 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003017/2.443, allocations: 219.4 kB / 1.38 GB, free: 28.59 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03087/2.474, allocations: 6.885 MB / 1.386 GB, free: 21.66 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00508/2.479, allocations: 0.9062 MB / 1.387 GB, free: 20.75 MB / 0.7485 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * 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 (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2944/2.774, allocations: 12.36 MB / 1.399 GB, free: 205.5 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007745/2.781, allocations: 2.818 MB / 1.402 GB, free: 205.5 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/2.792, allocations: 4.376 MB / 1.406 GB, free: 205.3 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002735/2.793, allocations: 231.8 kB / 1.407 GB, free: 205.3 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000887/2.793, allocations: 231.3 kB / 1.407 GB, free: 205.3 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003701/2.794, allocations: 117 kB / 1.407 GB, free: 205.3 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05625/2.85, allocations: 30.95 MB / 1.437 GB, free: 200.8 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002122/2.85, allocations: 3.938 kB / 1.437 GB, free: 200.8 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006133/2.856, allocations: 1.911 MB / 1.439 GB, free: 200.6 MB / 0.7485 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 7.331e-05/2.857, allocations: 26.59 kB / 1.439 GB, free: 200.6 MB / 0.7485 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002805/2.859, allocations: 389.7 kB / 1.439 GB, free: 200.3 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.701e-05/2.859, allocations: 26.59 kB / 1.439 GB, free: 200.3 MB / 0.7485 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/2.859, allocations: 0 / 1.439 GB, free: 200.3 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0794/2.939, allocations: 48.95 MB / 1.487 GB, free: 186.8 MB / 0.7485 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01022/2.949, allocations: 4.475 MB / 1.492 GB, free: 182.7 MB / 0.7485 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008763/2.958, allocations: 387.8 kB / 1.492 GB, free: 182.4 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03229/2.99, allocations: 8.919 MB / 1.501 GB, free: 176.5 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00536/2.996, allocations: 2.5 MB / 1.503 GB, free: 175.2 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003954/3, allocations: 0.702 MB / 1.504 GB, free: 174.5 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.03136/3.031, allocations: 23.26 MB / 1.527 GB, free: 152.1 MB / 0.7485 GB Notification: Performance of sort global known variables: time 3.31e-07/3.031, allocations: 0 / 1.527 GB, free: 152.1 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.0281/3.059, allocations: 10.82 MB / 1.537 GB, free: 141.2 MB / 0.7485 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 (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.08338/3.142, allocations: 50.48 MB / 1.586 GB, free: 90.61 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.06419/3.207, allocations: 42.64 MB / 1.628 GB, free: 47.96 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-05/3.207, allocations: 58.42 kB / 1.628 GB, free: 47.91 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.03049/3.237, allocations: 19.5 MB / 1.647 GB, free: 28.4 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04101/3.278, allocations: 7.614 MB / 1.655 GB, free: 20.78 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.048/5.327, allocations: 0.4894 GB / 2.144 GB, free: 197.2 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02101/5.348, allocations: 21.39 MB / 2.165 GB, free: 175.8 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.02864/5.376, allocations: 13.59 MB / 2.178 GB, free: 162.2 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0166/5.393, allocations: 12.88 MB / 2.191 GB, free: 149.3 MB / 0.8423 GB Notification: Performance of SimCode: time 8.12e-07/5.393, allocations: 0 / 2.191 GB, free: 149.3 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.682/7.075, allocations: 0.6707 GB / 2.861 GB, free: 122 MB / 0.8423 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/7.075, allocations: 300 kB / 2.862 GB, free: 121.6 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/22.34, allocations: 0 / 2.862 GB, free: 121.6 MB / 0.8423 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat does not exist to compare? outputFormat=mat