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.001516/0.001516, allocations: 110.2 kB / 17.07 MB, free: 6.016 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.001488/0.001488, allocations: 189.4 kB / 18 MB, free: 5.098 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.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.017/1.017, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.28 kB / 0.5705 GB, free: 39.99 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1551, allocations: 80.69 MB / 0.6493 GB, free: 13.5 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.004397/0.1596, allocations: 2.41 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1609, allocations: 0.5338 MB / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.1612, allocations: 4 kB / 0.6522 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.1614, allocations: 31.66 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.1617, allocations: 71.41 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.162, allocations: 51.92 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.02524/0.1872, allocations: 25.83 MB / 0.6776 GB, free: 436 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01933/0.2066, allocations: 11.04 MB / 0.6884 GB, free: 5.289 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01582/0.2225, allocations: 10.2 MB / 0.6983 GB, free: 11.07 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01878/0.2413, allocations: 10.46 MB / 0.7085 GB, free: 0.5664 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.007547/0.2489, allocations: 1.785 MB / 0.7103 GB, free: 14.78 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.2594, allocations: 1.781 MB / 0.712 GB, free: 13 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.01068/0.2701, allocations: 4.794 MB / 0.7167 GB, free: 8.191 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.0246/0.2947, allocations: 10.49 MB / 0.7269 GB, free: 13.65 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.03917/0.3339, allocations: 28.23 MB / 0.7545 GB, free: 1.332 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.334, allocations: 0 / 0.7545 GB, free: 1.332 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.074e-06/0.334, allocations: 0 / 0.7545 GB, free: 1.332 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.001382/0.3354, allocations: 0 / 0.7545 GB, free: 1.332 MB / 0.592 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.6849/1.02, allocations: 25.6 MB / 0.7795 GB, free: 85.8 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/1.02, allocations: 14.56 kB / 0.7795 GB, free: 85.8 MB / 0.6079 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01023/1.031, allocations: 2.303 MB / 0.7818 GB, free: 84.64 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/1.041, allocations: 2.083 MB / 0.7838 GB, free: 83.6 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02971/1.071, allocations: 10.76 MB / 0.7943 GB, free: 80.79 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001308/1.073, allocations: 1.152 MB / 0.7954 GB, free: 80.26 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006197/1.079, allocations: 1.485 MB / 0.7969 GB, free: 79.77 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05504/1.134, allocations: 25.37 MB / 0.8217 GB, free: 58.29 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006514/1.134, allocations: 3.938 kB / 0.8217 GB, free: 58.29 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005671/1.14, allocations: 0.6914 MB / 0.8223 GB, free: 57.6 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/1.14, allocations: 380 kB / 0.8227 GB, free: 57.23 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04379/1.184, allocations: 25.83 MB / 0.8479 GB, free: 31.38 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1808/1.365, allocations: 75.65 MB / 0.9218 GB, free: 2.977 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03912/1.404, allocations: 22.23 MB / 0.9435 GB, free: 12.79 MB / 0.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01974/1.424, allocations: 10.32 MB / 0.9536 GB, free: 2.453 MB / 0.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009779/1.425, allocations: 125.5 kB / 0.9537 GB, free: 2.328 MB / 0.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/1.425, allocations: 259.3 kB / 0.954 GB, free: 2.062 MB / 0.686 GB Notification: Performance of pre-optimization done (n=1218): time 5.46e-05/1.426, allocations: 0 / 0.954 GB, free: 2.062 MB / 0.686 GB Notification: Performance of matching and sorting (n=1218): time 0.07387/1.499, allocations: 30.06 MB / 0.9833 GB, free: 3.914 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002187/1.5, allocations: 176.9 kB / 0.9835 GB, free: 3.727 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04057/1.54, allocations: 16.9 MB / 1 GB, free: 2.957 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.002932/1.543, allocations: 302.1 kB / 1 GB, free: 2.66 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.009837/1.553, allocations: 7.37 MB / 1.007 GB, free: 11.25 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.006129/1.559, allocations: 4.323 MB / 1.012 GB, free: 6.891 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01452/1.574, allocations: 2.718 MB / 1.014 GB, free: 4.164 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.574, allocations: 309.1 kB / 1.015 GB, free: 3.859 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01985/1.594, allocations: 9.869 MB / 1.024 GB, free: 9.977 MB / 0.7642 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02527/1.619, allocations: 12.01 MB / 1.036 GB, free: 13.37 MB / 0.7798 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04955/1.669, allocations: 20.49 MB / 1.056 GB, free: 8.195 MB / 0.7954 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.99e-05/1.669, allocations: 12 kB / 1.056 GB, free: 8.184 MB / 0.7954 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.4244/2.093, allocations: 32.86 MB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/2.094, allocations: 31.73 kB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/2.094, allocations: 42.94 kB / 1.088 GB, free: 257.9 MB / 0.811 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.0002374/2.094, allocations: 82.28 kB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009521/2.103, allocations: 2.216 MB / 1.09 GB, free: 257.7 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000269/2.104, allocations: 109 kB / 1.091 GB, free: 257.7 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01991/2.124, allocations: 3.309 MB / 1.094 GB, free: 257.5 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003449/2.127, allocations: 460.2 kB / 1.094 GB, free: 257.5 MB / 0.811 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.01408/2.141, allocations: 6.163 MB / 1.1 GB, free: 257.2 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007047/2.148, allocations: 1.464 MB / 1.102 GB, free: 257.2 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006184/2.155, allocations: 2.162 MB / 1.104 GB, free: 256.7 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/2.155, allocations: 119.2 kB / 1.104 GB, free: 256.7 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004085/2.155, allocations: 118 kB / 1.104 GB, free: 256.7 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002327/2.155, allocations: 54.14 kB / 1.104 GB, free: 256.7 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03424/2.19, allocations: 15.38 MB / 1.119 GB, free: 252.5 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001234/2.19, allocations: 0 / 1.119 GB, free: 252.5 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003423/2.193, allocations: 0.9302 MB / 1.12 GB, free: 252.4 MB / 0.811 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 7.689e-05/2.193, allocations: 12.91 kB / 1.12 GB, free: 252.4 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002214/2.196, allocations: 194.3 kB / 1.12 GB, free: 252.2 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-05/2.196, allocations: 18.62 kB / 1.12 GB, free: 252.2 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/2.196, allocations: 0 / 1.12 GB, free: 252.2 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04942/2.245, allocations: 24.37 MB / 1.144 GB, free: 244.1 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008064/2.253, allocations: 2.325 MB / 1.146 GB, free: 242.1 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007447/2.261, allocations: 192 kB / 1.146 GB, free: 241.9 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02014/2.281, allocations: 4.029 MB / 1.15 GB, free: 238 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003716/2.285, allocations: 1.235 MB / 1.152 GB, free: 236.8 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002919/2.288, allocations: 362.8 kB / 1.152 GB, free: 236.4 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.02142/2.309, allocations: 11.59 MB / 1.163 GB, free: 224.9 MB / 0.811 GB Notification: Performance of sort global known variables: time 4.11e-07/2.309, allocations: 0 / 1.163 GB, free: 224.9 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.02223/2.331, allocations: 5.384 MB / 1.168 GB, free: 219.8 MB / 0.811 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.05225/2.384, allocations: 25.38 MB / 1.193 GB, free: 194.2 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.03855/2.422, allocations: 21.35 MB / 1.214 GB, free: 172.8 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 2.942e-05/2.422, allocations: 31.19 kB / 1.214 GB, free: 172.8 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.01788/2.44, allocations: 9.712 MB / 1.224 GB, free: 163.1 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02963/2.47, allocations: 3.752 MB / 1.227 GB, free: 159.3 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6876/3.157, allocations: 183.1 MB / 1.406 GB, free: 248.9 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0197/3.177, allocations: 10.91 MB / 1.417 GB, free: 247.7 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.01988/3.197, allocations: 6.426 MB / 1.423 GB, free: 246.9 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01362/3.211, allocations: 6.008 MB / 1.429 GB, free: 242.8 MB / 0.8267 GB Notification: Performance of SimCode: time 1.082e-06/3.211, allocations: 0 / 1.429 GB, free: 242.8 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7905/4.001, allocations: 352.8 MB / 1.773 GB, free: 261.8 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 61.81/65.81, allocations: 8.453 kB / 1.773 GB, free: 261.8 MB / 0.8423 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