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.001289/0.001289, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001239/0.001239, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.337/1.337, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9866/0.9866, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.88 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5558/0.5571, allocations: 80.68 MB / 0.5698 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28): time 0.003112/0.5603, allocations: 2.391 MB / 0.5722 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.561, allocations: 0.5399 MB / 0.5727 GB, free: 41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.5611, allocations: 8.156 kB / 0.5727 GB, free: 41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.5612, allocations: 38.64 kB / 0.5728 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.5613, allocations: 62.62 kB / 0.5728 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.5615, allocations: 57.33 kB / 0.5729 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.07015/0.6316, allocations: 100.9 MB / 0.6714 GB, free: 9.199 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08301/0.7147, allocations: 44.97 MB / 0.7153 GB, free: 12.07 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05759/0.7724, allocations: 40.06 MB / 0.7545 GB, free: 3.906 MB / 0.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5743/1.347, allocations: 41.09 MB / 0.7946 GB, free: 57.25 MB / 0.5923 GB Notification: Performance of NFPackage.collectConstants: time 0.03396/1.381, allocations: 7.009 MB / 0.8014 GB, free: 57.25 MB / 0.5923 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05304/1.434, allocations: 7.011 MB / 0.8083 GB, free: 57.25 MB / 0.5923 GB Notification: Performance of NFScalarize.scalarize: time 0.03805/1.472, allocations: 18.88 MB / 0.8267 GB, free: 45.48 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.0762/1.548, allocations: 41.2 MB / 0.8669 GB, free: 20.33 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1335/1.682, allocations: 109.7 MB / 0.9741 GB, free: 1.625 MB / 0.6704 GB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/1.682, allocations: 0 / 0.9741 GB, free: 1.625 MB / 0.6704 GB Notification: Performance of FrontEnd: time 5.35e-06/1.682, allocations: 0 / 0.9741 GB, free: 1.625 MB / 0.6704 GB Notification: Performance of Transformations before backend: time 0.005821/1.688, allocations: 0 / 0.9741 GB, free: 1.625 MB / 0.6704 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.8172/2.505, allocations: 100.1 MB / 1.072 GB, free: 159.3 MB / 0.7178 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/2.505, allocations: 11.89 kB / 1.072 GB, free: 159.2 MB / 0.7178 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03384/2.539, allocations: 8.991 MB / 1.081 GB, free: 150.2 MB / 0.7178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03365/2.572, allocations: 7.799 MB / 1.088 GB, free: 142.4 MB / 0.7178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09631/2.669, allocations: 40.59 MB / 1.128 GB, free: 101.7 MB / 0.7178 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004601/2.673, allocations: 4.501 MB / 1.132 GB, free: 97.21 MB / 0.7178 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02272/2.696, allocations: 5.84 MB / 1.138 GB, free: 91.38 MB / 0.7178 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2088/2.905, allocations: 99.96 MB / 1.236 GB, free: 7.266 MB / 0.7334 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002324/2.907, allocations: 3.938 kB / 1.236 GB, free: 7.262 MB / 0.7334 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02219/2.93, allocations: 2.727 MB / 1.238 GB, free: 4.535 MB / 0.7334 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001273/2.931, allocations: 1.457 MB / 1.24 GB, free: 3.078 MB / 0.7334 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6323/3.563, allocations: 102 MB / 1.339 GB, free: 242.3 MB / 0.8272 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6489/4.212, allocations: 302.6 MB / 1.635 GB, free: 10.27 MB / 0.8272 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5004/4.713, allocations: 91.73 MB / 1.724 GB, free: 191.5 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05859/4.771, allocations: 41.14 MB / 1.764 GB, free: 180.1 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002873/4.774, allocations: 491.2 kB / 1.765 GB, free: 180.1 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007134/4.775, allocations: 0.9114 MB / 1.766 GB, free: 179.5 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=4788): time 5.764e-05/4.775, allocations: 0 / 1.766 GB, free: 179.5 MB / 0.8428 GB Notification: Performance of matching and sorting (n=4788): time 0.2328/5.008, allocations: 118.6 MB / 1.882 GB, free: 103 MB / 0.8428 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003079/5.008, allocations: 0.5281 MB / 1.882 GB, free: 102.5 MB / 0.8428 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1232/5.131, allocations: 66.27 MB / 1.947 GB, free: 37.84 MB / 0.8428 GB Notification: Performance of collectPreVariables (initialization): time 0.01057/5.142, allocations: 1.053 MB / 1.948 GB, free: 36.79 MB / 0.8428 GB Notification: Performance of collectInitialEqns (initialization): time 0.4303/5.572, allocations: 29.16 MB / 1.976 GB, free: 217 MB / 0.8428 GB Notification: Performance of collectInitialBindings (initialization): time 0.01916/5.591, allocations: 16.28 MB / 1.992 GB, free: 208.1 MB / 0.8428 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.057/5.648, allocations: 10.69 MB / 2.003 GB, free: 207.5 MB / 0.8428 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/5.648, allocations: 302.4 kB / 2.003 GB, free: 207.2 MB / 0.8428 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06746/5.716, allocations: 38.97 MB / 2.041 GB, free: 204.2 MB / 0.8428 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07504/5.791, allocations: 47.39 MB / 2.087 GB, free: 188.1 MB / 0.8428 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3348/6.126, allocations: 80.9 MB / 2.166 GB, free: 118.7 MB / 0.8428 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004188/6.126, allocations: 52 kB / 2.166 GB, free: 118.7 MB / 0.8428 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.6511/6.777, allocations: 129.8 MB / 2.293 GB, free: 142.6 MB / 0.8428 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002352/6.778, allocations: 80.34 kB / 2.293 GB, free: 142.6 MB / 0.8428 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003369/6.778, allocations: 178.4 kB / 2.293 GB, free: 142.6 MB / 0.8428 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=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/6.778, allocations: 321.3 kB / 2.294 GB, free: 142.6 MB / 0.8428 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03737/6.816, allocations: 8.986 MB / 2.303 GB, free: 142.5 MB / 0.8428 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/6.817, allocations: 431.3 kB / 2.303 GB, free: 142.4 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07791/6.895, allocations: 13.76 MB / 2.316 GB, free: 140.1 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01367/6.908, allocations: 1.773 MB / 2.318 GB, free: 140.1 MB / 0.8428 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(3191,0.1%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.05582/6.964, allocations: 24.01 MB / 2.342 GB, free: 139.4 MB / 0.8428 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02628/6.991, allocations: 5.478 MB / 2.347 GB, free: 139.1 MB / 0.8428 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02018/7.011, allocations: 8.519 MB / 2.355 GB, free: 138.5 MB / 0.8428 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003155/7.011, allocations: 455.2 kB / 2.356 GB, free: 138.5 MB / 0.8428 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001355/7.013, allocations: 460.9 kB / 2.356 GB, free: 138.5 MB / 0.8428 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009503/7.013, allocations: 222.8 kB / 2.356 GB, free: 138.5 MB / 0.8428 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1167/7.13, allocations: 60.25 MB / 2.415 GB, free: 121.7 MB / 0.8428 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003104/7.131, allocations: 4.812 kB / 2.415 GB, free: 121.7 MB / 0.8428 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01442/7.145, allocations: 3.764 MB / 2.419 GB, free: 121.2 MB / 0.8428 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=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/7.145, allocations: 50.38 kB / 2.419 GB, free: 121.2 MB / 0.8428 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008055/7.153, allocations: 0.7279 MB / 2.42 GB, free: 120.6 MB / 0.8428 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002272/7.154, allocations: 50.5 kB / 2.42 GB, free: 120.6 MB / 0.8428 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/7.154, allocations: 4.812 kB / 2.42 GB, free: 120.6 MB / 0.8428 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2049/7.358, allocations: 95.97 MB / 2.513 GB, free: 78.34 MB / 0.8428 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02659/7.385, allocations: 8.657 MB / 2.522 GB, free: 69.6 MB / 0.8428 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02703/7.412, allocations: 0.7344 MB / 2.523 GB, free: 68.86 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0757/7.488, allocations: 17 MB / 2.539 GB, free: 51.84 MB / 0.8428 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01358/7.502, allocations: 4.863 MB / 2.544 GB, free: 46.96 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01235/7.514, allocations: 1.363 MB / 2.545 GB, free: 45.6 MB / 0.8428 GB Notification: Performance of sorting global known variables: time 0.07694/7.591, allocations: 45.7 MB / 2.59 GB, free: 120 kB / 0.8428 GB Notification: Performance of sort global known variables: time 9.02e-07/7.591, allocations: 0 / 2.59 GB, free: 120 kB / 0.8428 GB Notification: Performance of remove unused functions: time 0.5267/8.118, allocations: 21.08 MB / 2.61 GB, free: 228.8 MB / 0.874 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(3191,0.1%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2338/8.351, allocations: 98.46 MB / 2.707 GB, free: 207.1 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 2.599/10.95, allocations: 1.009 GB / 3.715 GB, free: 248.1 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 0.000135/10.95, allocations: 113.3 kB / 3.715 GB, free: 248.1 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.07143/11.02, allocations: 38.09 MB / 3.753 GB, free: 217.6 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09519/11.12, allocations: 14.91 MB / 3.767 GB, free: 205.4 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.072/16.19, allocations: 2.547 GB / 6.314 GB, free: 288.6 MB / 1.155 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08851/16.28, allocations: 41.83 MB / 6.355 GB, free: 247.4 MB / 1.155 GB Notification: Performance of simCode: alias equations: time 0.5417/16.82, allocations: 26.6 MB / 6.381 GB, free: 468.9 MB / 1.155 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05215/16.87, allocations: 26.44 MB / 6.407 GB, free: 449.9 MB / 1.155 GB Notification: Performance of SimCode: time 8.92e-07/16.87, allocations: 0 / 6.407 GB, free: 449.9 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.934/20.81, allocations: 1.334 GB / 7.741 GB, free: 216.6 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.72/71.53, allocations: 8.906 kB / 7.741 GB, free: 216.6 MB / 1.155 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches