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.001649/0.00165, allocations: 108.9 kB / 17.06 MB, free: 5.969 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.001832/0.001832, allocations: 200 kB / 18.01 MB, free: 5.051 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.631/1.631, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.937/0.937, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 62.56 kB / 0.5705 GB, free: 39.92 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1468, allocations: 80.7 MB / 0.6493 GB, free: 13.47 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.00354/0.1504, allocations: 2.398 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.1514, allocations: 0.5377 MB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1515, allocations: 7.938 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.1517, allocations: 35.7 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.1519, allocations: 67.42 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1521, allocations: 51.92 kB / 0.6523 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.02108/0.1731, allocations: 25.86 MB / 0.6776 GB, free: 392 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.1872, allocations: 11.04 MB / 0.6884 GB, free: 5.25 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01369/0.2009, allocations: 10.21 MB / 0.6983 GB, free: 11.01 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01747/0.2184, allocations: 10.46 MB / 0.7086 GB, free: 0.5156 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.007429/0.2259, allocations: 1.785 MB / 0.7103 GB, free: 14.73 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.2374, allocations: 1.785 MB / 0.712 GB, free: 12.94 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.01244/0.2499, allocations: 4.794 MB / 0.7167 GB, free: 8.137 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.02231/0.2723, allocations: 10.49 MB / 0.727 GB, free: 13.6 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.03577/0.3081, allocations: 28.23 MB / 0.7545 GB, free: 1.281 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.3081, allocations: 4 kB / 0.7545 GB, free: 1.277 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3081, allocations: 0 / 0.7545 GB, free: 1.277 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.00138/0.3095, allocations: 0 / 0.7545 GB, free: 1.277 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.6333/0.9428, allocations: 25.6 MB / 0.7795 GB, free: 85.81 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 9.438e-05/0.9429, allocations: 14.64 kB / 0.7796 GB, free: 85.81 MB / 0.6079 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009818/0.9528, allocations: 2.3 MB / 0.7818 GB, free: 84.66 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.9629, allocations: 2.083 MB / 0.7838 GB, free: 83.61 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02772/0.9906, allocations: 10.76 MB / 0.7943 GB, free: 80.79 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001137/0.9918, allocations: 1.142 MB / 0.7955 GB, free: 80.27 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005677/0.9975, allocations: 1.49 MB / 0.7969 GB, free: 79.77 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0513/1.049, allocations: 25.37 MB / 0.8217 GB, free: 58.22 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000485/1.049, allocations: 4.969 kB / 0.8217 GB, free: 58.22 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005435/1.055, allocations: 0.6914 MB / 0.8224 GB, free: 57.53 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002393/1.055, allocations: 380 kB / 0.8227 GB, free: 57.16 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04775/1.103, allocations: 25.84 MB / 0.848 GB, free: 31.3 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1798/1.283, allocations: 75.65 MB / 0.9218 GB, free: 2.906 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03732/1.32, allocations: 22.23 MB / 0.9435 GB, free: 12.73 MB / 0.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01864/1.339, allocations: 10.32 MB / 0.9536 GB, free: 2.387 MB / 0.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009342/1.34, allocations: 125.5 kB / 0.9537 GB, free: 2.262 MB / 0.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003535/1.34, allocations: 263.3 kB / 0.954 GB, free: 1.992 MB / 0.686 GB Notification: Performance of pre-optimization done (n=1218): time 3.863e-05/1.34, allocations: 0 / 0.954 GB, free: 1.992 MB / 0.686 GB Notification: Performance of matching and sorting (n=1218): time 0.06764/1.408, allocations: 30.06 MB / 0.9834 GB, free: 3.852 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000239/1.408, allocations: 180.9 kB / 0.9835 GB, free: 3.66 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03786/1.446, allocations: 16.91 MB / 1 GB, free: 2.895 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.003045/1.449, allocations: 293.7 kB / 1 GB, free: 2.602 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.008891/1.458, allocations: 7.37 MB / 1.008 GB, free: 11.19 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.006009/1.464, allocations: 4.322 MB / 1.012 GB, free: 6.832 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01399/1.478, allocations: 2.726 MB / 1.014 GB, free: 4.098 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.478, allocations: 301.1 kB / 1.015 GB, free: 3.801 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01898/1.497, allocations: 9.869 MB / 1.024 GB, free: 9.922 MB / 0.7642 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02171/1.519, allocations: 12.01 MB / 1.036 GB, free: 13.31 MB / 0.7798 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0463/1.565, allocations: 20.49 MB / 1.056 GB, free: 8.141 MB / 0.7954 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/1.565, allocations: 12 kB / 1.056 GB, free: 8.129 MB / 0.7954 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.4357/2.001, allocations: 32.86 MB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 7.757e-05/2.001, allocations: 24 kB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/2.001, allocations: 42.91 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.000255/2.002, allocations: 82.94 kB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009519/2.011, allocations: 2.218 MB / 1.09 GB, free: 257.8 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002261/2.011, allocations: 108.1 kB / 1.091 GB, free: 257.8 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01958/2.031, allocations: 3.314 MB / 1.094 GB, free: 257.6 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003928/2.035, allocations: 457.7 kB / 1.094 GB, free: 257.6 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.02013/2.055, allocations: 6.161 MB / 1.1 GB, free: 257.3 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009098/2.064, allocations: 1.465 MB / 1.102 GB, free: 257.3 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00812/2.072, allocations: 2.167 MB / 1.104 GB, free: 256.8 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002241/2.073, allocations: 118.1 kB / 1.104 GB, free: 256.8 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005751/2.073, allocations: 114.2 kB / 1.104 GB, free: 256.8 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002982/2.074, allocations: 59.95 kB / 1.104 GB, free: 256.8 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04305/2.117, allocations: 15.37 MB / 1.119 GB, free: 252.6 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001673/2.117, allocations: 0 / 1.119 GB, free: 252.6 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005212/2.122, allocations: 0.9284 MB / 1.12 GB, free: 252.5 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.388e-05/2.122, allocations: 11.06 kB / 1.12 GB, free: 252.5 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002457/2.125, allocations: 192.5 kB / 1.12 GB, free: 252.3 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.121e-05/2.125, allocations: 18.97 kB / 1.12 GB, free: 252.3 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/2.125, allocations: 0 / 1.12 GB, free: 252.3 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06872/2.194, allocations: 24.37 MB / 1.144 GB, free: 244.1 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009901/2.203, allocations: 2.32 MB / 1.146 GB, free: 242.1 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009242/2.213, allocations: 188 kB / 1.146 GB, free: 241.9 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02878/2.242, allocations: 4.029 MB / 1.15 GB, free: 238 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00507/2.247, allocations: 1.241 MB / 1.152 GB, free: 236.7 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004092/2.251, allocations: 356 kB / 1.152 GB, free: 236.4 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.03094/2.282, allocations: 11.59 MB / 1.163 GB, free: 224.8 MB / 0.811 GB Notification: Performance of sort global known variables: time 9.31e-07/2.282, allocations: 0 / 1.163 GB, free: 224.8 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.02643/2.308, allocations: 5.384 MB / 1.169 GB, free: 219.7 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.04963/2.358, allocations: 25.38 MB / 1.193 GB, free: 194.2 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.03572/2.394, 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.653e-05/2.394, allocations: 27.19 kB / 1.214 GB, free: 172.7 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.01618/2.41, allocations: 9.723 MB / 1.224 GB, free: 163 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02733/2.437, allocations: 3.746 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.7075/3.145, allocations: 183.1 MB / 1.406 GB, free: 248.8 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/3.159, allocations: 10.92 MB / 1.417 GB, free: 247.6 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.01585/3.175, allocations: 6.423 MB / 1.423 GB, free: 246.9 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0101/3.185, allocations: 6.011 MB / 1.429 GB, free: 242.7 MB / 0.8267 GB Notification: Performance of SimCode: time 8.12e-07/3.185, allocations: 4 kB / 1.429 GB, free: 242.7 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8688/4.054, allocations: 352.8 MB / 1.773 GB, free: 262 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 63.21/67.27, allocations: 4.516 kB / 1.773 GB, free: 262 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