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.001062/0.001062, allocations: 104.3 kB / 16.92 MB, free: 5.793 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.001169/0.001169, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.279/1.279, allocations: 222.9 MB / 241.6 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.9808/0.9808, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5317, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28): time 0.002963/0.5347, allocations: 2.387 MB / 0.5722 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.5355, allocations: 0.5442 MB / 0.5727 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.5356, allocations: 10.19 kB / 0.5727 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.5357, allocations: 35.95 kB / 0.5728 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.5358, allocations: 58.52 kB / 0.5728 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.536, allocations: 54.39 kB / 0.5729 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.06496/0.601, allocations: 100.9 MB / 0.6714 GB, free: 9.219 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07128/0.6723, allocations: 44.98 MB / 0.7153 GB, free: 12.08 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05255/0.7249, allocations: 40.05 MB / 0.7544 GB, free: 3.918 MB / 0.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5942/1.319, allocations: 41.1 MB / 0.7946 GB, free: 57.27 MB / 0.5923 GB Notification: Performance of NFPackage.collectConstants: time 0.03204/1.351, allocations: 7.007 MB / 0.8014 GB, free: 57.27 MB / 0.5923 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04115/1.392, allocations: 7.011 MB / 0.8083 GB, free: 57.27 MB / 0.5923 GB Notification: Performance of NFScalarize.scalarize: time 0.03866/1.431, allocations: 18.87 MB / 0.8267 GB, free: 45.5 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.07497/1.506, allocations: 41.2 MB / 0.8669 GB, free: 20.34 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1152/1.621, allocations: 109.7 MB / 0.9741 GB, free: 1.641 MB / 0.6704 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/1.621, allocations: 0 / 0.9741 GB, free: 1.641 MB / 0.6704 GB Notification: Performance of FrontEnd: time 2.044e-06/1.621, allocations: 1.969 kB / 0.9741 GB, free: 1.641 MB / 0.6704 GB Notification: Performance of Transformations before backend: time 0.004535/1.626, allocations: 0.6875 kB / 0.9741 GB, free: 1.641 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.8844/2.51, allocations: 100.1 MB / 1.072 GB, free: 159.3 MB / 0.7178 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/2.51, allocations: 15.89 kB / 1.072 GB, free: 159.2 MB / 0.7178 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03711/2.548, allocations: 8.987 MB / 1.081 GB, free: 150.2 MB / 0.7178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03168/2.579, allocations: 7.792 MB / 1.088 GB, free: 142.4 MB / 0.7178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08896/2.668, allocations: 40.6 MB / 1.128 GB, free: 101.7 MB / 0.7178 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004484/2.673, allocations: 4.501 MB / 1.132 GB, free: 97.22 MB / 0.7178 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02163/2.694, allocations: 5.836 MB / 1.138 GB, free: 91.38 MB / 0.7178 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2221/2.917, allocations: 99.97 MB / 1.236 GB, free: 7.27 MB / 0.7334 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002719/2.919, allocations: 5.016 kB / 1.236 GB, free: 7.266 MB / 0.7334 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02489/2.944, allocations: 2.73 MB / 1.238 GB, free: 4.535 MB / 0.7334 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001382/2.946, allocations: 1.457 MB / 1.24 GB, free: 3.078 MB / 0.7334 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5936/3.539, allocations: 102 MB / 1.339 GB, free: 242.3 MB / 0.8272 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6833/4.223, allocations: 302.5 MB / 1.635 GB, free: 10.27 MB / 0.8272 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5776/4.8, allocations: 91.73 MB / 1.724 GB, free: 191.6 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06531/4.866, allocations: 41.14 MB / 1.764 GB, free: 180.1 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003622/4.869, allocations: 487.5 kB / 1.765 GB, free: 180.1 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009189/4.87, allocations: 0.9077 MB / 1.766 GB, free: 179.5 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=4788): time 5.717e-05/4.87, allocations: 0 / 1.766 GB, free: 179.5 MB / 0.8428 GB Notification: Performance of matching and sorting (n=4788): time 0.2377/5.108, allocations: 118.6 MB / 1.882 GB, free: 103 MB / 0.8428 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006284/5.109, allocations: 0.5418 MB / 1.882 GB, free: 102.5 MB / 0.8428 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1283/5.237, allocations: 66.27 MB / 1.947 GB, free: 37.82 MB / 0.8428 GB Notification: Performance of collectPreVariables (initialization): time 0.01406/5.251, allocations: 1.049 MB / 1.948 GB, free: 36.77 MB / 0.8428 GB Notification: Performance of collectInitialEqns (initialization): time 0.4939/5.745, allocations: 29.15 MB / 1.976 GB, free: 217 MB / 0.8428 GB Notification: Performance of collectInitialBindings (initialization): time 0.02044/5.766, allocations: 16.29 MB / 1.992 GB, free: 208.2 MB / 0.8428 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.05702/5.823, allocations: 10.69 MB / 2.003 GB, free: 207.6 MB / 0.8428 GB Notification: Performance of setup shared object (initialization): time 5.829e-05/5.823, allocations: 301.1 kB / 2.003 GB, free: 207.3 MB / 0.8428 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06697/5.89, allocations: 38.97 MB / 2.041 GB, free: 204.3 MB / 0.8428 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07381/5.964, allocations: 47.39 MB / 2.087 GB, free: 188.1 MB / 0.8428 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3422/6.306, allocations: 80.9 MB / 2.166 GB, free: 118.7 MB / 0.8428 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004376/6.306, allocations: 52 kB / 2.166 GB, free: 118.7 MB / 0.8428 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.6975/7.004, allocations: 129.8 MB / 2.293 GB, free: 142.7 MB / 0.8428 GB Notification: Performance of prepare postOptimizeDAE: time 0.000203/7.004, allocations: 82.03 kB / 2.293 GB, free: 142.7 MB / 0.8428 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003439/7.004, allocations: 171.9 kB / 2.293 GB, free: 142.7 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.0003481/7.005, allocations: 319.1 kB / 2.294 GB, free: 142.7 MB / 0.8428 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03642/7.041, allocations: 8.986 MB / 2.303 GB, free: 142.5 MB / 0.8428 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007598/7.042, allocations: 434.5 kB / 2.303 GB, free: 142.5 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08129/7.123, allocations: 13.75 MB / 2.316 GB, free: 140.2 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0153/7.139, allocations: 1.775 MB / 2.318 GB, free: 140.2 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.06272/7.201, allocations: 24.01 MB / 2.342 GB, free: 139.5 MB / 0.8428 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02775/7.229, allocations: 5.483 MB / 2.347 GB, free: 139.2 MB / 0.8428 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02064/7.25, allocations: 8.523 MB / 2.355 GB, free: 138.6 MB / 0.8428 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003238/7.25, allocations: 449.1 kB / 2.356 GB, free: 138.6 MB / 0.8428 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001525/7.252, allocations: 450.3 kB / 2.356 GB, free: 138.6 MB / 0.8428 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009235/7.253, allocations: 225.8 kB / 2.356 GB, free: 138.6 MB / 0.8428 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1362/7.389, allocations: 60.25 MB / 2.415 GB, free: 121.7 MB / 0.8428 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003236/7.389, allocations: 0 / 2.415 GB, free: 121.7 MB / 0.8428 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01399/7.403, 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.0002086/7.403, allocations: 50.97 kB / 2.419 GB, free: 121.2 MB / 0.8428 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008643/7.412, allocations: 0.7273 MB / 2.42 GB, free: 120.7 MB / 0.8428 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001499/7.412, allocations: 54.09 kB / 2.42 GB, free: 120.7 MB / 0.8428 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/7.412, allocations: 0 / 2.42 GB, free: 120.7 MB / 0.8428 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2054/7.618, allocations: 95.97 MB / 2.513 GB, free: 78.33 MB / 0.8428 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02838/7.646, allocations: 8.65 MB / 2.522 GB, free: 69.59 MB / 0.8428 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02619/7.672, allocations: 0.7281 MB / 2.523 GB, free: 68.86 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0797/7.752, allocations: 17.01 MB / 2.539 GB, free: 51.83 MB / 0.8428 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.016/7.768, allocations: 4.859 MB / 2.544 GB, free: 46.96 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01275/7.781, allocations: 1.367 MB / 2.545 GB, free: 45.59 MB / 0.8428 GB Notification: Performance of sorting global known variables: time 0.08243/7.863, allocations: 45.69 MB / 2.59 GB, free: 112 kB / 0.8428 GB Notification: Performance of sort global known variables: time 1.253e-06/7.863, allocations: 3.5 kB / 2.59 GB, free: 112 kB / 0.8428 GB Notification: Performance of remove unused functions: time 0.4938/8.357, allocations: 21.08 MB / 2.61 GB, free: 228.9 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.2193/8.576, allocations: 98.46 MB / 2.707 GB, free: 207.3 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 2.479/11.06, allocations: 1.009 GB / 3.715 GB, free: 248.4 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 0.0001164/11.06, allocations: 114.1 kB / 3.715 GB, free: 248.4 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.06932/11.12, allocations: 38.09 MB / 3.752 GB, free: 216.9 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09769/11.22, allocations: 14.9 MB / 3.767 GB, free: 204.6 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.574/15.8, allocations: 2.547 GB / 6.314 GB, free: 287.1 MB / 1.155 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4852/16.28, allocations: 41.83 MB / 6.355 GB, free: 472.8 MB / 1.155 GB Notification: Performance of simCode: alias equations: time 0.08672/16.37, allocations: 26.6 MB / 6.381 GB, free: 469.8 MB / 1.155 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05465/16.42, allocations: 26.44 MB / 6.407 GB, free: 450.6 MB / 1.155 GB Notification: Performance of SimCode: time 1.052e-06/16.42, allocations: 0 / 6.407 GB, free: 450.6 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.47/19.89, allocations: 1.334 GB / 7.741 GB, free: 221.7 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.12/66.01, allocations: 7.672 kB / 7.741 GB, free: 221.7 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","/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