Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_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.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_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.001302/0.001303, allocations: 106.5 kB / 16.92 MB, free: 5.781 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.001354/0.001354, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.339/1.339, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.08/1.08, allocations: 119.3 MB / 411 MB, free: 9.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 79.86 kB / 0.4911 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.52, allocations: 80.68 MB / 0.5698 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.03342/0.5535, allocations: 46.02 MB / 0.6148 GB, free: 3.484 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.03065/0.5842, allocations: 9.559 MB / 0.6241 GB, free: 9.887 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01746/0.6017, allocations: 203.3 kB / 0.6243 GB, free: 9.688 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01046/0.6123, allocations: 1.648 MB / 0.6259 GB, free: 8.023 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.02/0.6324, allocations: 2.899 MB / 0.6288 GB, free: 5.098 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.01123/0.6437, allocations: 2.453 MB / 0.6312 GB, free: 2.641 MB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.02006/0.6638, allocations: 11.98 MB / 0.6429 GB, free: 6.594 MB / 494.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005816/0.6696, allocations: 3.185 MB / 0.646 GB, free: 3.324 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007039/0.6767, allocations: 4.142 MB / 0.65 GB, free: 15.17 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009323/0.686, allocations: 4.659 MB / 0.6546 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.004174/0.6902, allocations: 0.9258 MB / 0.6555 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004888/0.6951, allocations: 0.9258 MB / 0.6564 GB, free: 8.637 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.003035/0.6982, allocations: 2.11 MB / 0.6584 GB, free: 6.52 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.009482/0.7077, allocations: 5.058 MB / 0.6634 GB, free: 1.438 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.722, allocations: 10.95 MB / 0.6741 GB, free: 6.449 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.722, allocations: 0 / 0.6741 GB, free: 6.449 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7221, allocations: 0 / 0.6741 GB, free: 6.449 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0002117/0.7223, allocations: 0 / 0.6741 GB, free: 6.449 MB / 0.5139 GB 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.01802/0.7403, allocations: 9.664 MB / 0.6835 GB, free: 12.69 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.7404, allocations: 11.89 kB / 0.6835 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001231/0.7416, allocations: 1.082 MB / 0.6846 GB, free: 11.59 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.7433, allocations: 1.032 MB / 0.6856 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/0.7491, allocations: 3.369 MB / 0.6889 GB, free: 7.09 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/0.7496, allocations: 0.5945 MB / 0.6894 GB, free: 6.492 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008997/0.7505, allocations: 0.7738 MB / 0.6902 GB, free: 5.719 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.7625, allocations: 6.48 MB / 0.6965 GB, free: 15.18 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.7626, allocations: 4 kB / 0.6965 GB, free: 15.18 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007367/0.7634, allocations: 368 kB / 0.6969 GB, free: 14.82 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/0.7635, allocations: 196 kB / 0.6971 GB, free: 14.63 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.7739, allocations: 5.523 MB / 0.7025 GB, free: 9.09 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05704/0.831, allocations: 23.98 MB / 0.7259 GB, free: 380 kB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.8417, allocations: 6.718 MB / 0.7324 GB, free: 9.648 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004657/0.8464, allocations: 2.722 MB / 0.7351 GB, free: 6.906 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/0.8467, allocations: 64.94 kB / 0.7352 GB, free: 6.84 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.8469, allocations: 157.5 kB / 0.7353 GB, free: 6.676 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=630): time 1.121e-05/0.8469, allocations: 0 / 0.7353 GB, free: 6.676 MB / 0.5764 GB Notification: Performance of matching and sorting (n=630): time 0.01699/0.8639, allocations: 8.144 MB / 0.7433 GB, free: 14.44 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.8641, allocations: 116.3 kB / 0.7434 GB, free: 14.31 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01174/0.8758, allocations: 5.133 MB / 0.7484 GB, free: 9.164 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/0.877, allocations: 165.7 kB / 0.7486 GB, free: 8.996 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.003282/0.8803, allocations: 3.621 MB / 0.7521 GB, free: 5.344 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002647/0.883, allocations: 2.087 MB / 0.7541 GB, free: 3.227 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004209/0.8872, allocations: 1.121 MB / 0.7552 GB, free: 2.098 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8874, allocations: 301.1 kB / 0.7555 GB, free: 1.801 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5638/1.451, allocations: 1.892 MB / 0.7574 GB, free: 156 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/1.457, allocations: 2.935 MB / 0.7602 GB, free: 155.1 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009615/1.467, allocations: 4.936 MB / 0.765 GB, free: 153 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.497e-05/1.467, allocations: 4.344 kB / 0.765 GB, free: 153 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01596/1.483, allocations: 8.641 MB / 0.7735 GB, free: 149.7 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/1.483, allocations: 17.09 kB / 0.7735 GB, free: 149.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.881e-05/1.483, allocations: 29.05 kB / 0.7735 GB, free: 149.7 MB / 0.5923 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=. Notification: Performance of postOpt tearingSystem (initialization): time 9.61e-05/1.483, allocations: 42.91 kB / 0.7736 GB, free: 149.7 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/1.487, allocations: 0.8134 MB / 0.7744 GB, free: 149.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.423e-05/1.487, allocations: 56.11 kB / 0.7744 GB, free: 149.6 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006539/1.494, allocations: 0.7107 MB / 0.7751 GB, free: 149.4 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007739/1.494, allocations: 240 kB / 0.7753 GB, free: 149.4 MB / 0.5923 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 (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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002948/1.497, allocations: 0.9644 MB / 0.7763 GB, free: 148.7 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.499, allocations: 0.7261 MB / 0.777 GB, free: 148.4 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/1.5, allocations: 0.7095 MB / 0.7777 GB, free: 147.9 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.966e-05/1.5, allocations: 60.03 kB / 0.7777 GB, free: 147.9 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002064/1.5, allocations: 60.5 kB / 0.7778 GB, free: 147.9 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.754e-05/1.5, allocations: 34.09 kB / 0.7778 GB, free: 147.9 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007669/1.508, allocations: 5.6 MB / 0.7833 GB, free: 145.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.776e-05/1.508, allocations: 0 / 0.7833 GB, free: 145.7 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.509, allocations: 326.6 kB / 0.7836 GB, free: 145.7 MB / 0.5923 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=. Notification: Performance of postOpt tearingSystem (simulation): time 2.403e-05/1.509, allocations: 7.594 kB / 0.7836 GB, free: 145.7 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/1.509, allocations: 98.88 kB / 0.7837 GB, free: 145.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/1.509, allocations: 11.12 kB / 0.7837 GB, free: 145.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.509, allocations: 0 / 0.7837 GB, free: 145.6 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009783/1.519, allocations: 7.036 MB / 0.7906 GB, free: 142.5 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.521, allocations: 0.8316 MB / 0.7914 GB, free: 141.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008999/1.522, allocations: 96.12 kB / 0.7915 GB, free: 141.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005537/1.527, allocations: 0.7641 MB / 0.7922 GB, free: 141.7 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008164/1.528, allocations: 0.6414 MB / 0.7929 GB, free: 141.4 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004295/1.529, allocations: 185.2 kB / 0.793 GB, free: 141.3 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.004056/1.533, allocations: 3.392 MB / 0.7964 GB, free: 139.4 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.5e-07/1.533, allocations: 0 / 0.7964 GB, free: 139.4 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.004922/1.538, allocations: 2.256 MB / 0.7986 GB, free: 137.2 MB / 0.5923 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 (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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0111/1.549, allocations: 7.816 MB / 0.8062 GB, free: 129.2 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01744/1.566, allocations: 5.786 MB / 0.8118 GB, free: 123.4 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.566, allocations: 14 kB / 0.8119 GB, free: 123.4 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.004794/1.571, allocations: 2.973 MB / 0.8148 GB, free: 120.4 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00883/1.58, allocations: 1.528 MB / 0.8163 GB, free: 118.9 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09143/1.671, allocations: 82.23 MB / 0.8966 GB, free: 29.53 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/1.673, allocations: 3.307 MB / 0.8998 GB, free: 26.18 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.003363/1.677, allocations: 0.6819 MB / 0.9005 GB, free: 25.49 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/1.679, allocations: 3.241 MB / 0.9036 GB, free: 22.25 MB / 0.5923 GB Notification: Performance of SimCode: time 1.312e-06/1.679, allocations: 0 / 0.9036 GB, free: 22.25 MB / 0.5923 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5528/2.232, allocations: 144.5 MB / 1.045 GB, free: 204.8 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/15.83, allocations: 2.188 kB / 1.045 GB, free: 204.8 MB / 0.6704 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_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_DistributionSystemModelicaIndividual_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches