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.0008418/0.0008418, allocations: 90.17 kB / 16.65 MB, free: 6.535 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.0009061/0.0009062, allocations: 174.6 kB / 17.56 MB, free: 6.184 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.21/1.21, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8111/0.8111, allocations: 120.5 MB / 413.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002697, allocations: 8 kB / 0.495 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4364, allocations: 82.85 MB / 0.5759 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28): time 0.001739/0.4382, allocations: 2.08 MB / 0.5779 GB, free: 40.35 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.4387, allocations: 0.5188 MB / 0.5784 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.4388, allocations: 3.656 kB / 0.5784 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.714e-05/0.4389, allocations: 31.36 kB / 0.5785 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.4391, allocations: 54.2 kB / 0.5785 GB, free: 39.86 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.4392, allocations: 51.42 kB / 0.5786 GB, free: 39.81 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.06677/0.506, allocations: 97.26 MB / 0.6736 GB, free: 9.84 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05013/0.5561, allocations: 38.3 MB / 0.711 GB, free: 3.379 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0341/0.5902, allocations: 28.08 MB / 0.7384 GB, free: 7.188 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.521/1.111, allocations: 32.14 MB / 0.7698 GB, free: 37.64 MB / 0.5923 GB Notification: Performance of NFPackage.collectConstants: time 0.01824/1.13, allocations: 3.751 MB / 0.7734 GB, free: 37.64 MB / 0.5923 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02329/1.153, allocations: 3.748 MB / 0.7771 GB, free: 37.64 MB / 0.5923 GB Notification: Performance of NFScalarize.scalarize: time 0.01787/1.171, allocations: 12.59 MB / 0.7894 GB, free: 37.64 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.05608/1.227, allocations: 34.66 MB / 0.8232 GB, free: 32.77 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.08964/1.316, allocations: 102.8 MB / 0.9237 GB, free: 15.27 MB / 0.6392 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.317, allocations: 0 / 0.9237 GB, free: 15.27 MB / 0.6392 GB Notification: Performance of FrontEnd: time 2.324e-06/1.317, allocations: 4 kB / 0.9237 GB, free: 15.26 MB / 0.6392 GB Notification: Performance of Transformations before backend: time 0.003915/1.32, allocations: 0 / 0.9237 GB, free: 15.26 MB / 0.6392 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.1899/1.51, allocations: 86.92 MB / 1.009 GB, free: 7.969 MB / 0.7173 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.51, allocations: 12.03 kB / 1.009 GB, free: 7.957 MB / 0.7173 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02672/1.537, allocations: 8.99 MB / 1.017 GB, free: 14.95 MB / 0.7329 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02834/1.566, allocations: 7.796 MB / 1.025 GB, free: 7.066 MB / 0.7329 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6286/2.194, allocations: 40.59 MB / 1.065 GB, free: 171.4 MB / 0.7334 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004554/2.199, allocations: 4.498 MB / 1.069 GB, free: 169.3 MB / 0.7334 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02612/2.225, allocations: 5.847 MB / 1.075 GB, free: 167.3 MB / 0.7334 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1895/2.414, allocations: 99.97 MB / 1.172 GB, free: 79.84 MB / 0.7334 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002048/2.416, allocations: 0 / 1.172 GB, free: 79.84 MB / 0.7334 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01801/2.435, allocations: 2.723 MB / 1.175 GB, free: 77.11 MB / 0.7334 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008296/2.435, allocations: 1.461 MB / 1.176 GB, free: 75.65 MB / 0.7334 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1649/2.6, allocations: 102 MB / 1.276 GB, free: 5.574 MB / 0.7647 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9525/3.553, allocations: 306.3 MB / 1.575 GB, free: 71.38 MB / 0.8272 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4885/4.041, allocations: 91.73 MB / 1.665 GB, free: 202.7 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05546/4.097, allocations: 41.15 MB / 1.705 GB, free: 200.6 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00272/4.1, allocations: 487.9 kB / 1.705 GB, free: 200.6 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007082/4.1, allocations: 0.9084 MB / 1.706 GB, free: 200 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=4788): time 4.979e-05/4.1, allocations: 0 / 1.706 GB, free: 200 MB / 0.8428 GB Notification: Performance of matching and sorting (n=4788): time 0.2149/4.315, allocations: 118.7 MB / 1.822 GB, free: 159.3 MB / 0.8428 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004861/4.316, allocations: 0.5282 MB / 1.823 GB, free: 158.8 MB / 0.8428 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1091/4.425, allocations: 66.27 MB / 1.887 GB, free: 93.81 MB / 0.8428 GB Notification: Performance of collectPreVariables (initialization): time 0.01066/4.436, allocations: 1.049 MB / 1.888 GB, free: 92.75 MB / 0.8428 GB Notification: Performance of collectInitialEqns (initialization): time 0.02216/4.458, allocations: 29.16 MB / 1.917 GB, free: 63.54 MB / 0.8428 GB Notification: Performance of collectInitialBindings (initialization): time 0.01481/4.473, allocations: 16.28 MB / 1.933 GB, free: 47.09 MB / 0.8428 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01362/4.486, allocations: 4.505 MB / 1.937 GB, free: 42.58 MB / 0.8428 GB Notification: Performance of setup shared object (initialization): time 3.672e-05/4.486, allocations: 309.1 kB / 1.938 GB, free: 42.27 MB / 0.8428 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4219/4.908, allocations: 38.96 MB / 1.976 GB, free: 194.9 MB / 0.8428 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06513/4.973, allocations: 47.4 MB / 2.022 GB, free: 188 MB / 0.8428 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3541/5.327, allocations: 80.91 MB / 2.101 GB, free: 163.1 MB / 0.8428 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004044/5.328, allocations: 49.19 kB / 2.101 GB, free: 163.1 MB / 0.8428 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.2479/5.576, allocations: 129.8 MB / 2.228 GB, free: 58.61 MB / 0.8428 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003554/5.576, allocations: 80 kB / 2.228 GB, free: 58.53 MB / 0.8428 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004293/5.577, allocations: 176 kB / 2.228 GB, free: 58.36 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.0004048/5.577, allocations: 321.3 kB / 2.228 GB, free: 58.04 MB / 0.8428 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03421/5.611, allocations: 8.982 MB / 2.237 GB, free: 49.05 MB / 0.8428 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008154/5.612, allocations: 438.7 kB / 2.237 GB, free: 48.62 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07332/5.686, allocations: 13.76 MB / 2.251 GB, free: 36.23 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01232/5.698, allocations: 1.773 MB / 2.253 GB, free: 34.46 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.05609/5.754, allocations: 24.01 MB / 2.276 GB, free: 10.41 MB / 0.8428 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02522/5.779, allocations: 5.482 MB / 2.281 GB, free: 4.871 MB / 0.8428 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02633/5.806, allocations: 8.569 MB / 2.29 GB, free: 12.54 MB / 0.8584 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003405/5.806, allocations: 453.4 kB / 2.29 GB, free: 12.1 MB / 0.8584 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001437/5.807, allocations: 448 kB / 2.291 GB, free: 11.66 MB / 0.8584 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009194/5.808, allocations: 223.1 kB / 2.291 GB, free: 11.45 MB / 0.8584 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4915/6.3, allocations: 60.25 MB / 2.35 GB, free: 217.1 MB / 0.8584 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004921/6.3, allocations: 4.703 kB / 2.35 GB, free: 217.1 MB / 0.8584 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01449/6.315, allocations: 3.768 MB / 2.353 GB, free: 216.9 MB / 0.8584 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.0002961/6.315, allocations: 51.84 kB / 2.353 GB, free: 216.9 MB / 0.8584 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.009438/6.325, allocations: 0.7287 MB / 2.354 GB, free: 216.3 MB / 0.8584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002549/6.325, allocations: 54.47 kB / 2.354 GB, free: 216.3 MB / 0.8584 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/6.325, allocations: 3.234 kB / 2.354 GB, free: 216.3 MB / 0.8584 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2038/6.529, allocations: 95.99 MB / 2.448 GB, free: 173.5 MB / 0.8584 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02343/6.552, allocations: 8.646 MB / 2.456 GB, free: 164.8 MB / 0.8584 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01915/6.571, allocations: 0.7344 MB / 2.457 GB, free: 164 MB / 0.8584 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07317/6.645, allocations: 17.83 MB / 2.475 GB, free: 146.2 MB / 0.8584 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01195/6.657, allocations: 4.867 MB / 2.479 GB, free: 141.4 MB / 0.8584 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.008665/6.665, allocations: 1.363 MB / 2.481 GB, free: 140 MB / 0.8584 GB Notification: Performance of sorting global known variables: time 0.06862/6.734, allocations: 45.7 MB / 2.525 GB, free: 94.51 MB / 0.8584 GB Notification: Performance of sort global known variables: time 7.42e-07/6.734, allocations: 0 / 2.525 GB, free: 94.51 MB / 0.8584 GB Notification: Performance of remove unused functions: time 0.06219/6.796, allocations: 21.07 MB / 2.546 GB, free: 73.39 MB / 0.8584 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.5954/7.392, allocations: 98.47 MB / 2.642 GB, free: 177.6 MB / 0.8584 GB Notification: Performance of simCode: created initialization part: time 0.1397/7.531, allocations: 83.42 MB / 2.723 GB, free: 158 MB / 0.8584 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-05/7.531, allocations: 113.5 kB / 2.724 GB, free: 158 MB / 0.8584 GB Notification: Performance of simCode: created simulation system equations: time 0.0662/7.598, allocations: 38.1 MB / 2.761 GB, free: 147.9 MB / 0.8584 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09162/7.689, allocations: 14.52 MB / 2.775 GB, free: 142.6 MB / 0.8584 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.453/17.14, allocations: 2.569 GB / 5.344 GB, free: 477.7 MB / 1.155 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07615/17.22, allocations: 41.83 MB / 5.385 GB, free: 473.4 MB / 1.155 GB Notification: Performance of simCode: alias equations: time 0.07701/17.3, allocations: 26.6 MB / 5.411 GB, free: 470.9 MB / 1.155 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0563/17.35, allocations: 26.44 MB / 5.437 GB, free: 448.4 MB / 1.155 GB Notification: Performance of SimCode: time 1.603e-06/17.35, allocations: 0 / 5.437 GB, free: 448.4 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.294/20.65, allocations: 1.337 GB / 6.774 GB, free: 199.7 MB / 1.155 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/20.65, allocations: 331.8 kB / 6.774 GB, free: 199.3 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.57/57.22, allocations: 0 / 6.774 GB, free: 199.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches