Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008325/0.0008325, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008696/0.0008696, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8956/0.8956, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5509/0.5509, allocations: 88.06 MB / 348.7 MB, free: 14.36 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5231 GB, free: 3.961 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.96e-05, allocations: 2.281 kB / 0.5231 GB, free: 3.957 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20): time 0.002348/0.002368, allocations: 2.297 MB / 0.5253 GB, free: 1.645 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006618/0.00303, allocations: 0.557 MB / 0.5259 GB, free: 1.082 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.003107, allocations: 11.88 kB / 0.5259 GB, free: 1.07 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.00323, allocations: 31.7 kB / 0.5259 GB, free: 1.039 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.003322, allocations: 63.36 kB / 0.526 GB, free: 0.9766 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.003464, allocations: 63.89 kB / 0.526 GB, free: 0.9141 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.03159/0.03505, allocations: 53.36 MB / 0.5781 GB, free: 11.29 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02124/0.05629, allocations: 11.71 MB / 0.5896 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04952/0.1058, allocations: 29.58 MB / 0.6185 GB, free: 1.84 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4992/0.605, allocations: 22.23 MB / 0.6402 GB, free: 33.11 MB / 0.5419 GB Notification: Performance of NFPackage.collectConstants: time 0.0141/0.6191, allocations: 3.605 MB / 0.6437 GB, free: 33.11 MB / 0.5419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02486/0.6439, allocations: 3.6 MB / 0.6472 GB, free: 33.11 MB / 0.5419 GB Notification: Performance of NFScalarize.scalarize: time 0.01958/0.6635, allocations: 9.857 MB / 0.6568 GB, free: 33.11 MB / 0.5419 GB Notification: Performance of NFVerifyModel.verify: time 0.03415/0.6977, allocations: 15.64 MB / 0.6721 GB, free: 29.8 MB / 0.5419 GB Notification: Performance of NFConvertDAE.convert: time 0.06675/0.7644, allocations: 59.27 MB / 0.73 GB, free: 11.84 MB / 0.5575 GB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.7644, allocations: 3.984 kB / 0.73 GB, free: 11.84 MB / 0.5575 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7644, allocations: 0 / 0.73 GB, free: 11.84 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 0.004446/0.7689, allocations: 0 / 0.73 GB, free: 11.84 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.1255/0.8944, allocations: 51.65 MB / 0.7804 GB, free: 7.945 MB / 0.6044 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.8945, allocations: 12.03 kB / 0.7804 GB, free: 7.934 MB / 0.6044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01848/0.913, allocations: 4.627 MB / 0.785 GB, free: 3.293 MB / 0.6044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/0.9303, allocations: 4.193 MB / 0.789 GB, free: 15.07 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04478/0.9751, allocations: 22.82 MB / 0.8113 GB, free: 8.238 MB / 0.6356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002094/0.9772, allocations: 2.317 MB / 0.8136 GB, free: 5.922 MB / 0.6356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.012/0.9892, allocations: 3 MB / 0.8165 GB, free: 2.922 MB / 0.6356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1285/1.118, allocations: 72.01 MB / 0.8868 GB, free: 5.812 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007475/1.118, allocations: 2.531 kB / 0.8868 GB, free: 5.812 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01285/1.131, allocations: 1.406 MB / 0.8882 GB, free: 4.41 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005927/1.132, allocations: 0.7539 MB / 0.889 GB, free: 3.656 MB / 0.7138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5728/1.705, allocations: 52.2 MB / 0.9399 GB, free: 207.2 MB / 0.7296 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.242/1.947, allocations: 146.6 MB / 1.083 GB, free: 80.06 MB / 0.7296 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03998/1.987, allocations: 43.53 MB / 1.126 GB, free: 36.68 MB / 0.7296 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02342/2.01, allocations: 19.2 MB / 1.144 GB, free: 17.44 MB / 0.7296 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008267/2.011, allocations: 255 kB / 1.145 GB, free: 17.2 MB / 0.7296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/2.011, allocations: 492.2 kB / 1.145 GB, free: 16.7 MB / 0.7296 GB Notification: Performance of pre-optimization done (n=2460): time 2.811e-05/2.011, allocations: 7.984 kB / 1.145 GB, free: 16.7 MB / 0.7296 GB Notification: Performance of matching and sorting (n=2460): time 0.4229/2.434, allocations: 60.15 MB / 1.204 GB, free: 208 MB / 0.7609 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002287/2.434, allocations: 300.9 kB / 1.204 GB, free: 208 MB / 0.7609 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05419/2.489, allocations: 34.53 MB / 1.238 GB, free: 201.6 MB / 0.7609 GB Notification: Performance of collectPreVariables (initialization): time 0.005322/2.494, allocations: 0.5531 MB / 1.238 GB, free: 201.2 MB / 0.7609 GB Notification: Performance of collectInitialEqns (initialization): time 0.01232/2.506, allocations: 15.05 MB / 1.253 GB, free: 193.3 MB / 0.7609 GB Notification: Performance of collectInitialBindings (initialization): time 0.01194/2.518, allocations: 8.609 MB / 1.261 GB, free: 187.6 MB / 0.7609 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01637/2.535, allocations: 5.471 MB / 1.267 GB, free: 185.4 MB / 0.7609 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/2.535, allocations: 305.1 kB / 1.267 GB, free: 185.1 MB / 0.7609 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02646/2.561, allocations: 20 MB / 1.287 GB, free: 180.8 MB / 0.7609 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02967/2.591, allocations: 24.31 MB / 1.31 GB, free: 167.5 MB / 0.7609 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07044/2.661, allocations: 41.48 MB / 1.351 GB, free: 126.4 MB / 0.7609 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/2.661, allocations: 24 kB / 1.351 GB, free: 126.3 MB / 0.7609 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.08574/2.747, allocations: 65.84 MB / 1.415 GB, free: 60.36 MB / 0.7609 GB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/2.747, allocations: 44 kB / 1.415 GB, free: 60.32 MB / 0.7609 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/2.747, allocations: 88 kB / 1.415 GB, free: 60.23 MB / 0.7609 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0001202/2.748, allocations: 168 kB / 1.415 GB, free: 60.07 MB / 0.7609 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01182/2.759, allocations: 4.552 MB / 1.42 GB, free: 55.51 MB / 0.7609 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000221/2.76, allocations: 223.3 kB / 1.42 GB, free: 55.29 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02794/2.788, allocations: 6.97 MB / 1.427 GB, free: 49.09 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006631/2.794, allocations: 0.9062 MB / 1.428 GB, free: 48.18 MB / 0.7609 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * 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 (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0256/2.82, allocations: 12.36 MB / 1.44 GB, free: 35.86 MB / 0.7609 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008135/2.828, allocations: 2.952 MB / 1.443 GB, free: 32.89 MB / 0.7609 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006571/2.834, allocations: 4.378 MB / 1.447 GB, free: 28.5 MB / 0.7609 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-05/2.835, allocations: 228 kB / 1.447 GB, free: 28.27 MB / 0.7609 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000954/2.835, allocations: 232 kB / 1.447 GB, free: 28.05 MB / 0.7609 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001174/2.836, allocations: 123.5 kB / 1.448 GB, free: 27.93 MB / 0.7609 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05399/2.89, allocations: 27.26 MB / 1.474 GB, free: 0.707 MB / 0.7609 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001615/2.89, allocations: 0.875 kB / 1.474 GB, free: 0.707 MB / 0.7609 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005888/2.896, allocations: 1.907 MB / 1.476 GB, free: 14.79 MB / 0.7765 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 7.145e-05/2.896, allocations: 24 kB / 1.476 GB, free: 14.77 MB / 0.7765 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003644/2.899, allocations: 384 kB / 1.476 GB, free: 14.39 MB / 0.7765 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.576e-05/2.899, allocations: 25.2 kB / 1.476 GB, free: 14.37 MB / 0.7765 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.899, allocations: 0 / 1.476 GB, free: 14.37 MB / 0.7765 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3531/3.252, allocations: 48.55 MB / 1.524 GB, free: 217.9 MB / 0.7765 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01058/3.263, allocations: 4.831 MB / 1.529 GB, free: 217.1 MB / 0.7765 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008827/3.272, allocations: 389.9 kB / 1.529 GB, free: 216.8 MB / 0.7765 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02504/3.297, allocations: 8.496 MB / 1.537 GB, free: 215.7 MB / 0.7765 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006991/3.304, allocations: 2.629 MB / 1.54 GB, free: 215.5 MB / 0.7765 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003853/3.308, allocations: 0.6992 MB / 1.541 GB, free: 215.3 MB / 0.7765 GB Notification: Performance of sorting global known variables: time 0.03065/3.338, allocations: 23.45 MB / 1.563 GB, free: 202.9 MB / 0.7765 GB Notification: Performance of sort global known variables: time 3.91e-07/3.338, allocations: 0 / 1.563 GB, free: 202.9 MB / 0.7765 GB Notification: Performance of remove unused functions: time 0.0283/3.367, allocations: 10.88 MB / 1.574 GB, free: 192.6 MB / 0.7765 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 (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.08785/3.455, allocations: 50.07 MB / 1.623 GB, free: 149.4 MB / 0.7765 GB Notification: Performance of simCode: created initialization part: time 0.07331/3.528, allocations: 41.63 MB / 1.664 GB, free: 107.7 MB / 0.7765 GB Notification: Performance of simCode: created event and clocks part: time 4.6e-05/3.528, allocations: 54.42 kB / 1.664 GB, free: 107.7 MB / 0.7765 GB Notification: Performance of simCode: created simulation system equations: time 0.02563/3.554, allocations: 18.46 MB / 1.682 GB, free: 89.18 MB / 0.7765 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04203/3.596, allocations: 7.616 MB / 1.689 GB, free: 81.58 MB / 0.7765 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.8/5.395, allocations: 394 MB / 2.074 GB, free: 240 MB / 0.8078 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01831/5.414, allocations: 21.42 MB / 2.095 GB, free: 237.7 MB / 0.8078 GB Notification: Performance of simCode: alias equations: time 0.02285/5.436, allocations: 13.62 MB / 2.108 GB, free: 236.1 MB / 0.8078 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01706/5.453, allocations: 12.88 MB / 2.121 GB, free: 225.2 MB / 0.8078 GB Notification: Performance of SimCode: time 1.863e-06/5.453, allocations: 4 kB / 2.121 GB, free: 225.2 MB / 0.8078 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.211/6.665, allocations: 0.735 GB / 2.856 GB, free: 85.53 MB / 0.8234 GB Notification: Performance of buildModelFMU: Generate platform static: time 61.98/68.65, allocations: 11.92 kB / 2.856 GB, free: 85.52 MB / 0.8234 GB " [Timeout remaining time 231] (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 99.94946499820799]