Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.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_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",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.001542/0.001542, allocations: 113.8 kB / 17.06 MB, free: 5.777 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.001676/0.001676, allocations: 198.8 kB / 18.01 MB, free: 4.918 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.277/1.277, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8968/0.8968, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 65.12 kB / 0.5705 GB, free: 40 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1436, allocations: 80.7 MB / 0.6493 GB, free: 13.46 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.003808/0.1475, allocations: 2.402 MB / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009107/0.1484, allocations: 0.5338 MB / 0.6522 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.1485, allocations: 3.938 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.1487, allocations: 39.64 kB / 0.6522 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1489, allocations: 63.47 kB / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.1491, allocations: 59.92 kB / 0.6523 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.01991/0.169, allocations: 25.86 MB / 0.6776 GB, free: 372 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01336/0.1824, allocations: 11.04 MB / 0.6884 GB, free: 5.23 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01355/0.196, allocations: 10.2 MB / 0.6983 GB, free: 11 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01634/0.2124, allocations: 10.46 MB / 0.7086 GB, free: 0.4961 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.006437/0.2189, allocations: 1.789 MB / 0.7103 GB, free: 14.7 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009078/0.228, allocations: 1.785 MB / 0.7121 GB, free: 12.92 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.009326/0.2373, allocations: 4.79 MB / 0.7167 GB, free: 8.117 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.01971/0.2571, allocations: 10.49 MB / 0.727 GB, free: 13.58 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.03402/0.2911, allocations: 28.23 MB / 0.7545 GB, free: 1.258 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.2912, allocations: 0 / 0.7545 GB, free: 1.258 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2912, allocations: 0 / 0.7545 GB, free: 1.258 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.0013/0.2925, allocations: 0 / 0.7545 GB, free: 1.258 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4055 * Number of variables: 4055 Notification: Performance of Generate backend data structure: time 0.641/0.9335, allocations: 25.59 MB / 0.7795 GB, free: 85.81 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.9336, allocations: 13.67 kB / 0.7796 GB, free: 85.8 MB / 0.6079 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008797/0.9424, allocations: 2.308 MB / 0.7818 GB, free: 84.65 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009458/0.9519, allocations: 2.083 MB / 0.7838 GB, free: 83.61 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03174/0.9837, allocations: 10.76 MB / 0.7943 GB, free: 80.79 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/0.9848, allocations: 1.144 MB / 0.7955 GB, free: 80.26 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005424/0.9902, allocations: 1.488 MB / 0.7969 GB, free: 79.76 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06482/1.055, allocations: 25.37 MB / 0.8217 GB, free: 58.22 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007574/1.056, allocations: 3.938 kB / 0.8217 GB, free: 58.22 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007871/1.064, allocations: 0.6914 MB / 0.8224 GB, free: 57.53 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/1.064, allocations: 384 kB / 0.8227 GB, free: 57.15 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04369/1.108, allocations: 25.83 MB / 0.848 GB, free: 31.3 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.184/1.292, allocations: 75.64 MB / 0.9218 GB, free: 2.906 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03616/1.328, allocations: 22.23 MB / 0.9436 GB, free: 12.73 MB / 0.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01939/1.347, allocations: 10.33 MB / 0.9536 GB, free: 2.383 MB / 0.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/1.349, allocations: 125.5 kB / 0.9538 GB, free: 2.258 MB / 0.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/1.349, allocations: 259.3 kB / 0.954 GB, free: 1.992 MB / 0.686 GB Notification: Performance of pre-optimization done (n=1218): time 5.826e-05/1.349, allocations: 0 / 0.954 GB, free: 1.992 MB / 0.686 GB Notification: Performance of matching and sorting (n=1218): time 0.06949/1.419, allocations: 30.06 MB / 0.9834 GB, free: 3.848 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001897/1.419, allocations: 176.9 kB / 0.9835 GB, free: 3.66 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04021/1.459, allocations: 16.9 MB / 1 GB, free: 2.895 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.003078/1.462, allocations: 293.7 kB / 1 GB, free: 2.602 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.008892/1.471, allocations: 7.37 MB / 1.008 GB, free: 11.19 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.005733/1.477, allocations: 4.315 MB / 1.012 GB, free: 6.836 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0141/1.491, allocations: 2.73 MB / 1.014 GB, free: 4.098 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.491, allocations: 305.1 kB / 1.015 GB, free: 3.797 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01918/1.51, allocations: 9.873 MB / 1.024 GB, free: 9.914 MB / 0.7642 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02164/1.532, allocations: 12 MB / 1.036 GB, free: 13.31 MB / 0.7798 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0459/1.578, allocations: 20.48 MB / 1.056 GB, free: 8.145 MB / 0.7954 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.471e-05/1.578, allocations: 14.84 kB / 1.056 GB, free: 8.133 MB / 0.7954 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.4214/2, allocations: 32.87 MB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/2, allocations: 22.75 kB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/2, allocations: 44.44 kB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Tearing is skipped for strong component 1 because system size of 811 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.0002201/2, allocations: 82.94 kB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009941/2.01, allocations: 2.219 MB / 1.09 GB, free: 257.8 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002192/2.01, allocations: 108.5 kB / 1.091 GB, free: 257.7 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02106/2.031, allocations: 3.311 MB / 1.094 GB, free: 257.5 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003867/2.035, allocations: 464.3 kB / 1.094 GB, free: 257.5 MB / 0.811 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * 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 (1011): * Single equations (assignments): 1010 * 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 {(811,0.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01422/2.049, allocations: 6.153 MB / 1.1 GB, free: 257.3 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00641/2.056, allocations: 1.463 MB / 1.102 GB, free: 257.3 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005379/2.061, allocations: 2.16 MB / 1.104 GB, free: 256.8 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/2.061, allocations: 117.2 kB / 1.104 GB, free: 256.8 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004466/2.062, allocations: 115.1 kB / 1.104 GB, free: 256.8 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001839/2.062, allocations: 63.75 kB / 1.104 GB, free: 256.7 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03268/2.095, allocations: 15.37 MB / 1.119 GB, free: 252.6 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001171/2.095, allocations: 0 / 1.119 GB, free: 252.6 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003656/2.099, allocations: 0.9273 MB / 1.12 GB, free: 252.5 MB / 0.811 GB Notification: Tearing is skipped for strong component 2 because system size of 811 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 5.781e-05/2.099, allocations: 11.06 kB / 1.12 GB, free: 252.5 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002006/2.101, allocations: 192.6 kB / 1.12 GB, free: 252.3 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.502e-05/2.101, allocations: 17.06 kB / 1.12 GB, free: 252.3 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/2.101, allocations: 4 kB / 1.12 GB, free: 252.3 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04184/2.143, allocations: 24.37 MB / 1.144 GB, free: 244.1 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008167/2.151, allocations: 2.325 MB / 1.146 GB, free: 242.1 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00657/2.157, allocations: 192 kB / 1.146 GB, free: 241.9 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02038/2.178, allocations: 4.024 MB / 1.15 GB, free: 238 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004169/2.182, allocations: 1.241 MB / 1.152 GB, free: 236.7 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002731/2.185, allocations: 356 kB / 1.152 GB, free: 236.4 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.0198/2.205, allocations: 11.59 MB / 1.163 GB, free: 224.8 MB / 0.811 GB Notification: Performance of sort global known variables: time 7.21e-07/2.205, allocations: 0 / 1.163 GB, free: 224.8 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.02104/2.226, allocations: 5.384 MB / 1.169 GB, free: 219.7 MB / 0.811 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 (408): * Single equations (assignments): 407 * 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 {(811,0.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04448/2.27, allocations: 25.38 MB / 1.193 GB, free: 194.2 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.03649/2.307, allocations: 21.35 MB / 1.214 GB, free: 172.8 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-05/2.307, allocations: 27.5 kB / 1.214 GB, free: 172.8 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.01687/2.324, allocations: 9.722 MB / 1.224 GB, free: 163 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02556/2.349, allocations: 3.751 MB / 1.227 GB, free: 159.3 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7166/3.066, allocations: 183.1 MB / 1.406 GB, free: 248.5 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01551/3.081, allocations: 10.92 MB / 1.417 GB, free: 247.4 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.01759/3.099, allocations: 6.421 MB / 1.423 GB, free: 246.6 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01085/3.11, allocations: 6.007 MB / 1.429 GB, free: 242.5 MB / 0.8267 GB Notification: Performance of SimCode: time 1.523e-06/3.11, allocations: 4 kB / 1.429 GB, free: 242.5 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8255/3.935, allocations: 352.8 MB / 1.773 GB, free: 261.9 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 62.04/65.98, allocations: 13.09 kB / 1.774 GB, free: 261.8 MB / 0.8423 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_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_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches