Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.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_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",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.001354/0.001354, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001383/0.001383, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.382/1.382, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.106/1.106, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 0.4911 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4948, allocations: 80.69 MB / 0.5699 GB, free: 43.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.002939/0.4977, allocations: 2.388 MB / 0.5722 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000734/0.4985, allocations: 0.5366 MB / 0.5727 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.4986, allocations: 2.656 kB / 0.5727 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.4987, allocations: 39.8 kB / 0.5727 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.4989, allocations: 58.33 kB / 0.5728 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.499, allocations: 58.09 kB / 0.5729 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01453/0.5135, allocations: 25.72 MB / 0.598 GB, free: 20.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.5245, allocations: 11.04 MB / 0.6088 GB, free: 9.609 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/0.5365, allocations: 10.18 MB / 0.6187 GB, free: 15.39 MB / 478.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01649/0.553, allocations: 10.45 MB / 0.6289 GB, free: 4.902 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.007046/0.5601, allocations: 1.789 MB / 0.6307 GB, free: 3.113 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00949/0.5696, allocations: 1.789 MB / 0.6324 GB, free: 1.324 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.008944/0.5786, allocations: 4.798 MB / 0.6371 GB, free: 12.51 MB / 494.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02118/0.5998, allocations: 10.49 MB / 0.6473 GB, free: 1.977 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02981/0.6296, allocations: 27.88 MB / 0.6746 GB, free: 6.023 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6297, allocations: 0 / 0.6746 GB, free: 6.023 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6297, allocations: 0 / 0.6746 GB, free: 6.023 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.001085/0.6308, allocations: 0 / 0.6746 GB, free: 6.023 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: 4055 * Number of variables: 4055 Notification: Performance of Generate backend data structure: time 0.06464/0.6954, allocations: 25.14 MB / 0.6991 GB, free: 12.75 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.6955, allocations: 15.89 kB / 0.6991 GB, free: 12.73 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007308/0.7028, allocations: 2.307 MB / 0.7014 GB, free: 10.41 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007348/0.7102, allocations: 1.986 MB / 0.7033 GB, free: 8.406 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02217/0.7324, allocations: 10.38 MB / 0.7135 GB, free: 13.95 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/0.7336, allocations: 1.145 MB / 0.7146 GB, free: 12.8 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005099/0.7387, allocations: 1.485 MB / 0.716 GB, free: 11.32 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05138/0.7901, allocations: 25.38 MB / 0.7408 GB, free: 1.91 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004379/0.7906, allocations: 4 kB / 0.7408 GB, free: 1.906 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00469/0.7953, allocations: 0.6953 MB / 0.7415 GB, free: 1.211 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002791/0.7956, allocations: 380 kB / 0.7419 GB, free: 0.8398 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5495/1.345, allocations: 25.83 MB / 0.7671 GB, free: 137.2 MB / 0.5923 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1607/1.506, allocations: 75.9 MB / 0.8412 GB, free: 80.88 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02769/1.534, allocations: 22.24 MB / 0.8629 GB, free: 58.68 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01377/1.547, allocations: 10.32 MB / 0.873 GB, free: 48.34 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/1.548, allocations: 128.7 kB / 0.8731 GB, free: 48.22 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/1.548, allocations: 263.3 kB / 0.8734 GB, free: 47.95 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=1218): time 1.589e-05/1.548, allocations: 4 kB / 0.8734 GB, free: 47.95 MB / 0.5923 GB Notification: Performance of matching and sorting (n=1218): time 0.05184/1.6, allocations: 29.99 MB / 0.9027 GB, free: 17.86 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.6, allocations: 172.9 kB / 0.9028 GB, free: 17.68 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02779/1.628, allocations: 16.9 MB / 0.9193 GB, free: 0.8438 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.002915/1.631, allocations: 293.7 kB / 0.9196 GB, free: 0.5508 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.007203/1.638, allocations: 7.182 MB / 0.9266 GB, free: 9.305 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.00539/1.644, allocations: 4.117 MB / 0.9306 GB, free: 5.129 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00889/1.653, allocations: 2.713 MB / 0.9333 GB, free: 2.406 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/1.653, allocations: 305.1 kB / 0.9336 GB, free: 2.105 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01663/1.669, allocations: 9.869 MB / 0.9432 GB, free: 8.227 MB / 0.6235 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01944/1.689, allocations: 12.01 MB / 0.9549 GB, free: 11.61 MB / 0.6392 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04063/1.73, allocations: 20.49 MB / 0.975 GB, free: 6.438 MB / 0.6548 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.888e-05/1.73, allocations: 12 kB / 0.975 GB, free: 6.426 MB / 0.6548 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.06953/1.799, allocations: 32.8 MB / 1.007 GB, free: 5.5 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/1.799, allocations: 24 kB / 1.007 GB, free: 5.477 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.875e-05/1.799, allocations: 47.98 kB / 1.007 GB, free: 5.43 MB / 0.686 GB Notification: Tearing is skipped for strong component 1 because system size of 811 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.0001115/1.8, allocations: 84 kB / 1.007 GB, free: 5.348 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009823/1.809, allocations: 2.213 MB / 1.009 GB, free: 3.133 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001455/1.81, allocations: 107.7 kB / 1.009 GB, free: 3.027 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01924/1.829, allocations: 3.273 MB / 1.013 GB, free: 15.73 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003141/1.832, allocations: 460 kB / 1.013 GB, free: 15.29 MB / 0.7017 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * 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 (1011): * Single equations (assignments): 1010 * 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 {(811,0.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01347/1.845, allocations: 6.163 MB / 1.019 GB, free: 9.105 MB / 0.7017 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005202/1.851, allocations: 1.398 MB / 1.02 GB, free: 7.691 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/1.855, allocations: 2.164 MB / 1.023 GB, free: 5.52 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.932e-05/1.856, allocations: 116 kB / 1.023 GB, free: 5.406 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003685/1.856, allocations: 112 kB / 1.023 GB, free: 5.297 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001425/1.856, allocations: 59.77 kB / 1.023 GB, free: 5.238 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3089/2.165, allocations: 15.36 MB / 1.038 GB, free: 231.9 MB / 0.7017 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.065e-05/2.165, allocations: 3.75 kB / 1.038 GB, free: 231.9 MB / 0.7017 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003446/2.169, allocations: 0.9194 MB / 1.039 GB, free: 231.8 MB / 0.7017 GB Notification: Tearing is skipped for strong component 2 because system size of 811 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 4.724e-05/2.169, allocations: 14.16 kB / 1.039 GB, free: 231.8 MB / 0.7017 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001706/2.17, allocations: 190.5 kB / 1.039 GB, free: 231.7 MB / 0.7017 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.336e-05/2.17, allocations: 19.48 kB / 1.039 GB, free: 231.7 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/2.17, allocations: 0 / 1.039 GB, free: 231.7 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04364/2.214, allocations: 24.31 MB / 1.063 GB, free: 225.5 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00576/2.22, allocations: 2.256 MB / 1.065 GB, free: 224.9 MB / 0.7017 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004769/2.225, allocations: 190.2 kB / 1.065 GB, free: 224.7 MB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01773/2.242, allocations: 4.036 MB / 1.069 GB, free: 224.3 MB / 0.7017 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003282/2.246, allocations: 1.232 MB / 1.07 GB, free: 224.2 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00251/2.248, allocations: 354.2 kB / 1.071 GB, free: 224.1 MB / 0.7017 GB Notification: Performance of sorting global known variables: time 0.01776/2.266, allocations: 11.59 MB / 1.082 GB, free: 216.4 MB / 0.7017 GB Notification: Performance of sort global known variables: time 4.71e-07/2.266, allocations: 0 / 1.082 GB, free: 216.4 MB / 0.7017 GB Notification: Performance of remove unused functions: time 0.01633/2.282, allocations: 5.355 MB / 1.087 GB, free: 211.1 MB / 0.7017 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 (408): * Single equations (assignments): 407 * 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 {(811,0.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03874/2.321, allocations: 25.32 MB / 1.112 GB, free: 187.7 MB / 0.7017 GB Notification: Performance of simCode: created initialization part: time 0.1025/2.424, allocations: 80.62 MB / 1.191 GB, free: 107.1 MB / 0.7017 GB Notification: Performance of simCode: created event and clocks part: time 2.613e-05/2.424, allocations: 27.19 kB / 1.191 GB, free: 107.1 MB / 0.7017 GB Notification: Performance of simCode: created simulation system equations: time 0.01423/2.438, allocations: 9.708 MB / 1.2 GB, free: 97.37 MB / 0.7017 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0201/2.458, allocations: 3.751 MB / 1.204 GB, free: 93.62 MB / 0.7017 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.638/3.096, allocations: 295.8 MB / 1.493 GB, free: 49.22 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0159/3.112, allocations: 10.91 MB / 1.503 GB, free: 38.44 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.01908/3.131, allocations: 6.423 MB / 1.509 GB, free: 32.1 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01476/3.146, allocations: 6.01 MB / 1.515 GB, free: 26.09 MB / 0.7017 GB Notification: Performance of SimCode: time 2.785e-06/3.146, allocations: 0 / 1.515 GB, free: 26.09 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9605/4.107, allocations: 353.5 MB / 1.861 GB, free: 196 MB / 0.7173 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.99/23.09, allocations: 17.16 kB / 1.861 GB, free: 196 MB / 0.7173 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_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_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches