Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.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_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",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.001091/0.001091, 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.001069/0.001069, 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.246/1.246, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8975/0.8975, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 0.4911 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4568, allocations: 80.69 MB / 0.5699 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40): time 0.003072/0.4599, allocations: 2.387 MB / 0.5722 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000729/0.4607, allocations: 0.5469 MB / 0.5727 GB, free: 41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.4608, allocations: 7.469 kB / 0.5727 GB, free: 41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.4609, allocations: 31.89 kB / 0.5728 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.4611, allocations: 62.05 kB / 0.5728 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.4612, allocations: 54.05 kB / 0.5729 GB, free: 40.87 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.6499/1.111, allocations: 204.8 MB / 0.7728 GB, free: 2.129 MB / 0.5923 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1512/1.262, allocations: 92.04 MB / 0.8627 GB, free: 9.004 MB / 0.6235 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1085/1.371, allocations: 81.36 MB / 0.9422 GB, free: 12.65 MB / 0.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1523/1.523, allocations: 83.45 MB / 1.024 GB, free: 9.492 MB / 0.7642 GB Notification: Performance of NFPackage.collectConstants: time 0.05713/1.58, allocations: 14.23 MB / 1.038 GB, free: 11.26 MB / 0.7798 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7168/2.297, allocations: 14.23 MB / 1.051 GB, free: 103.2 MB / 0.7803 GB Notification: Performance of NFScalarize.scalarize: time 0.07203/2.369, allocations: 38.33 MB / 1.089 GB, free: 103.2 MB / 0.7803 GB Notification: Performance of NFVerifyModel.verify: time 0.2002/2.569, allocations: 83.66 MB / 1.171 GB, free: 79.11 MB / 0.7803 GB Notification: Performance of NFConvertDAE.convert: time 1.094/3.664, allocations: 222.9 MB / 1.388 GB, free: 46.28 MB / 0.7969 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/3.664, allocations: 0 / 1.388 GB, free: 46.28 MB / 0.7969 GB Notification: Performance of FrontEnd: time 1.603e-06/3.664, allocations: 0 / 1.388 GB, free: 46.28 MB / 0.7969 GB Notification: Performance of Transformations before backend: time 0.009451/3.673, allocations: 2.438 kB / 1.388 GB, free: 46.28 MB / 0.7969 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32369 * Number of variables: 32369 Notification: Performance of Generate backend data structure: time 0.5908/4.264, allocations: 204.2 MB / 1.588 GB, free: 10.18 MB / 0.9063 GB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/4.264, allocations: 11.97 kB / 1.588 GB, free: 10.17 MB / 0.9063 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1027/4.367, allocations: 18.23 MB / 1.605 GB, free: 20 kB / 0.9063 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09074/4.457, allocations: 15.82 MB / 1.621 GB, free: 20 kB / 0.9219 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2303/4.688, allocations: 82.48 MB / 1.701 GB, free: 2.926 MB / 1 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01067/4.699, allocations: 9.142 MB / 1.71 GB, free: 9.777 MB / 1.016 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4771/5.176, allocations: 11.85 MB / 1.722 GB, free: 319.6 MB / 1.016 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5422/5.718, allocations: 203.1 MB / 1.92 GB, free: 222.4 MB / 1.016 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.006236/5.724, allocations: 0 / 1.92 GB, free: 222.4 MB / 1.016 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.05968/5.784, allocations: 5.531 MB / 1.926 GB, free: 216.9 MB / 1.016 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002133/5.786, allocations: 2.965 MB / 1.929 GB, free: 213.9 MB / 1.016 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3961/6.182, allocations: 207.3 MB / 2.131 GB, free: 6.449 MB / 1.016 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.75/8.932, allocations: 0.6023 GB / 2.733 GB, free: 119.1 MB / 1.016 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3882/9.321, allocations: 191.5 MB / 2.92 GB, free: 4.801 MB / 1.016 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7573/10.08, allocations: 84.48 MB / 3.003 GB, free: 243.2 MB / 1.031 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006845/10.08, allocations: 0.9719 MB / 3.004 GB, free: 243.1 MB / 1.031 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002347/10.09, allocations: 1.809 MB / 3.006 GB, free: 242 MB / 1.031 GB Notification: Performance of pre-optimization done (n=9720): time 0.0005049/10.09, allocations: 0 / 3.006 GB, free: 242 MB / 1.031 GB Notification: Performance of matching and sorting (n=9720): time 0.5919/10.68, allocations: 241.4 MB / 3.241 GB, free: 98.54 MB / 1.031 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001143/10.68, allocations: 1.015 MB / 3.242 GB, free: 97.51 MB / 1.031 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8837/11.56, allocations: 135 MB / 3.374 GB, free: 212.5 MB / 1.031 GB Notification: Performance of collectPreVariables (initialization): time 0.02513/11.59, allocations: 2.102 MB / 3.376 GB, free: 212.5 MB / 1.031 GB Notification: Performance of collectInitialEqns (initialization): time 0.07511/11.66, allocations: 60.38 MB / 3.435 GB, free: 169.4 MB / 1.031 GB Notification: Performance of collectInitialBindings (initialization): time 0.05234/11.72, allocations: 33.1 MB / 3.468 GB, free: 143.2 MB / 1.031 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1512/11.87, allocations: 21.73 MB / 3.489 GB, free: 134.5 MB / 1.031 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/11.87, allocations: 314.2 kB / 3.489 GB, free: 134.2 MB / 1.031 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1564/12.03, allocations: 79.21 MB / 3.566 GB, free: 117.2 MB / 1.031 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1775/12.2, allocations: 96.37 MB / 3.66 GB, free: 38.26 MB / 1.031 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.119/14.32, allocations: 164.5 MB / 3.821 GB, free: 154 MB / 1.031 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007998/14.32, allocations: 100.5 kB / 3.821 GB, free: 154 MB / 1.031 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 1.414/15.74, allocations: 264.4 MB / 4.079 GB, free: 127.7 MB / 1.047 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003924/15.74, allocations: 154.8 kB / 4.08 GB, free: 127.7 MB / 1.047 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009114/15.74, allocations: 354.5 kB / 4.08 GB, free: 127.7 MB / 1.047 GB Notification: Tearing is skipped for strong component 1 because system size of 6479 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.000984/15.74, allocations: 0.6364 MB / 4.081 GB, free: 127.7 MB / 1.047 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08557/15.82, allocations: 18.42 MB / 4.099 GB, free: 127.7 MB / 1.047 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/15.83, allocations: 0.8564 MB / 4.099 GB, free: 127.7 MB / 1.047 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1775/16, allocations: 28.5 MB / 4.127 GB, free: 121.1 MB / 1.047 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.03676/16.04, allocations: 3.597 MB / 4.131 GB, free: 121.1 MB / 1.047 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1602 * 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 (8083): * Single equations (assignments): 8082 * 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 {(6479,0.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1555/16.2, allocations: 48.7 MB / 4.178 GB, free: 120.6 MB / 1.047 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0676/16.26, allocations: 11.12 MB / 4.189 GB, free: 115.3 MB / 1.047 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05848/16.32, allocations: 17.32 MB / 4.206 GB, free: 114.2 MB / 1.047 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001751/16.32, allocations: 0.893 MB / 4.207 GB, free: 114.2 MB / 1.047 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.004001/16.33, allocations: 0.8893 MB / 4.208 GB, free: 114.2 MB / 1.047 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003726/16.33, allocations: 457.5 kB / 4.208 GB, free: 114.2 MB / 1.047 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3733/16.71, allocations: 122.4 MB / 4.328 GB, free: 82.84 MB / 1.047 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0009541/16.71, allocations: 0 / 4.328 GB, free: 82.84 MB / 1.047 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03153/16.74, allocations: 7.739 MB / 4.335 GB, free: 81.73 MB / 1.047 GB Notification: Tearing is skipped for strong component 2 because system size of 6479 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.0006534/16.74, allocations: 104.8 kB / 4.335 GB, free: 81.73 MB / 1.047 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.02251/16.76, allocations: 1.482 MB / 4.337 GB, free: 80.54 MB / 1.047 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004822/16.76, allocations: 103.9 kB / 4.337 GB, free: 80.54 MB / 1.047 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/16.76, allocations: 0.9375 kB / 4.337 GB, free: 80.54 MB / 1.047 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.202/17.96, allocations: 195.2 MB / 4.528 GB, free: 179.4 MB / 1.063 GB Notification: Performance of postOpt removeConstants (simulation): time 0.07009/18.03, allocations: 17.49 MB / 4.545 GB, free: 176.1 MB / 1.063 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.06702/18.1, allocations: 1.487 MB / 4.546 GB, free: 176.1 MB / 1.063 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1876/18.29, allocations: 35.25 MB / 4.581 GB, free: 170.5 MB / 1.063 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.04345/18.33, allocations: 9.862 MB / 4.59 GB, free: 169.8 MB / 1.063 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.03382/18.37, allocations: 2.776 MB / 4.593 GB, free: 169 MB / 1.063 GB Notification: Performance of sorting global known variables: time 0.237/18.6, allocations: 92.83 MB / 4.684 GB, free: 145.9 MB / 1.063 GB Notification: Performance of sort global known variables: time 3.21e-07/18.6, allocations: 0 / 4.684 GB, free: 145.9 MB / 1.063 GB Notification: Performance of remove unused functions: time 0.1825/18.79, allocations: 42.82 MB / 4.725 GB, free: 138.4 MB / 1.063 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 (3242): * Single equations (assignments): 3241 * 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 {(6479,0.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 1.294/20.08, allocations: 199.8 MB / 4.92 GB, free: 154.9 MB / 1.063 GB Notification: Performance of simCode: created initialization part: time 26.68/46.76, allocations: 4.11 GB / 9.031 GB, free: 283.4 MB / 1.078 GB Notification: Performance of simCode: created event and clocks part: time 0.0002402/46.76, allocations: 229.7 kB / 9.031 GB, free: 283.4 MB / 1.078 GB Notification: Performance of simCode: created simulation system equations: time 0.1897/46.95, allocations: 77.35 MB / 9.107 GB, free: 222.1 MB / 1.078 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2576/47.21, allocations: 30.41 MB / 9.136 GB, free: 197.1 MB / 1.078 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 20.5/67.7, allocations: 9.144 GB / 18.28 GB, free: 0.9113 GB / 1.828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2915/68, allocations: 85.01 MB / 18.36 GB, free: 0.9032 GB / 1.828 GB Notification: Performance of simCode: alias equations: time 0.2107/68.21, allocations: 54.85 MB / 18.42 GB, free: 0.8954 GB / 1.828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2003/68.41, allocations: 56.87 MB / 18.47 GB, free: 0.8476 GB / 1.828 GB Notification: Performance of SimCode: time 2.635e-06/68.41, allocations: 7.469 kB / 18.47 GB, free: 0.8476 GB / 1.828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.822/78.23, allocations: 2.714 GB / 21.19 GB, free: 0.6575 GB / 1.828 GB Notification: Performance of buildModelFMU: Generate platform static: time 105.2/183.4, allocations: 10.56 kB / 21.19 GB, free: 0.6575 GB / 1.828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_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_40_M_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches