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.001479/0.001479, allocations: 105.7 kB / 17.06 MB, free: 6.027 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.001531/0.001531, allocations: 195 kB / 18 MB, free: 5.105 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.369/1.369, 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 0.9822/0.9822, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 66.67 kB / 0.5705 GB, free: 39.94 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1543, allocations: 80.7 MB / 0.6493 GB, free: 13.46 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.004558/0.1589, allocations: 2.391 MB / 0.6517 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1604, allocations: 0.5377 MB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.1607, allocations: 4 kB / 0.6522 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.161, allocations: 39.64 kB / 0.6522 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.1613, allocations: 59.42 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1618, allocations: 63.91 kB / 0.6523 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.02359/0.1854, allocations: 25.83 MB / 0.6776 GB, free: 408 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01531/0.2007, allocations: 11.04 MB / 0.6884 GB, free: 5.266 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01495/0.2157, allocations: 10.21 MB / 0.6983 GB, free: 11.03 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01877/0.2346, allocations: 10.45 MB / 0.7085 GB, free: 0.543 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.007071/0.2417, allocations: 1.785 MB / 0.7103 GB, free: 14.75 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009472/0.2512, allocations: 1.785 MB / 0.712 GB, free: 12.97 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.009699/0.2609, allocations: 4.802 MB / 0.7167 GB, free: 8.156 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.02131/0.2822, allocations: 10.48 MB / 0.7269 GB, free: 13.62 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.03378/0.3161, allocations: 28.15 MB / 0.7544 GB, free: 1.402 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.3161, allocations: 4 kB / 0.7544 GB, free: 1.398 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3161, allocations: 0 / 0.7544 GB, free: 1.398 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.001312/0.3175, allocations: 0 / 0.7544 GB, free: 1.398 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.6671/0.9845, allocations: 25.12 MB / 0.779 GB, free: 86.05 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.9846, allocations: 13.42 kB / 0.779 GB, free: 86.05 MB / 0.6079 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009586/0.9942, allocations: 2.305 MB / 0.7812 GB, free: 84.89 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/1.006, allocations: 1.986 MB / 0.7832 GB, free: 83.94 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03184/1.038, allocations: 10.69 MB / 0.7936 GB, free: 80.39 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/1.04, allocations: 1.149 MB / 0.7947 GB, free: 79.86 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005737/1.045, allocations: 1.482 MB / 0.7962 GB, free: 79.37 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05277/1.098, allocations: 25.38 MB / 0.821 GB, free: 58.39 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006843/1.099, allocations: 3.938 kB / 0.821 GB, free: 58.38 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005639/1.105, allocations: 0.6953 MB / 0.8216 GB, free: 57.69 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/1.105, allocations: 380 kB / 0.822 GB, free: 57.32 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04355/1.148, allocations: 25.83 MB / 0.8472 GB, free: 31.46 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1749/1.323, allocations: 75.48 MB / 0.9209 GB, free: 2.598 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03703/1.36, allocations: 22.22 MB / 0.9426 GB, free: 12.42 MB / 0.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01851/1.379, allocations: 10.33 MB / 0.9527 GB, free: 2.066 MB / 0.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009729/1.38, allocations: 125.5 kB / 0.9528 GB, free: 1.941 MB / 0.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/1.38, allocations: 263.3 kB / 0.9531 GB, free: 1.672 MB / 0.686 GB Notification: Performance of pre-optimization done (n=1218): time 6.904e-05/1.38, allocations: 0 / 0.9531 GB, free: 1.672 MB / 0.686 GB Notification: Performance of matching and sorting (n=1218): time 0.06814/1.449, allocations: 29.99 MB / 0.9824 GB, free: 3.59 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/1.449, allocations: 180.9 kB / 0.9826 GB, free: 3.398 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03614/1.485, allocations: 16.9 MB / 0.9991 GB, free: 2.566 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.002712/1.488, allocations: 289.7 kB / 0.9993 GB, free: 2.277 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.007968/1.496, allocations: 7.178 MB / 1.006 GB, free: 11.04 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.005347/1.501, allocations: 4.121 MB / 1.01 GB, free: 6.855 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01389/1.515, allocations: 2.716 MB / 1.013 GB, free: 4.133 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.515, allocations: 301.1 kB / 1.013 GB, free: 3.836 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01866/1.534, allocations: 9.88 MB / 1.023 GB, free: 9.945 MB / 0.7642 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02068/1.555, allocations: 12 MB / 1.035 GB, free: 13.35 MB / 0.7798 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04465/1.599, allocations: 20.49 MB / 1.055 GB, free: 8.176 MB / 0.7954 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/1.599, allocations: 12 kB / 1.055 GB, free: 8.164 MB / 0.7954 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.3817/1.981, allocations: 32.8 MB / 1.087 GB, free: 257.7 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/1.981, allocations: 24 kB / 1.087 GB, free: 257.7 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/1.981, allocations: 43.41 kB / 1.087 GB, free: 257.7 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.0001609/1.982, allocations: 82.47 kB / 1.087 GB, free: 257.7 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009476/1.991, allocations: 2.215 MB / 1.089 GB, free: 257.5 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002143/1.991, allocations: 112.1 kB / 1.089 GB, free: 257.5 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0191/2.01, allocations: 3.261 MB / 1.092 GB, free: 257.2 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003588/2.014, allocations: 460.8 kB / 1.093 GB, free: 257.2 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.01428/2.028, allocations: 6.169 MB / 1.099 GB, free: 256.9 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006495/2.035, allocations: 1.396 MB / 1.1 GB, free: 256.9 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005739/2.041, allocations: 2.165 MB / 1.102 GB, free: 256.3 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001487/2.041, allocations: 118.2 kB / 1.102 GB, free: 256.3 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003846/2.041, allocations: 115.1 kB / 1.102 GB, free: 256.3 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002225/2.041, allocations: 57.94 kB / 1.103 GB, free: 256.3 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03579/2.077, allocations: 15.35 MB / 1.118 GB, free: 252 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001262/2.077, allocations: 4 kB / 1.118 GB, free: 252 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/2.081, allocations: 0.9229 MB / 1.118 GB, free: 251.9 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 6.043e-05/2.081, allocations: 14.69 kB / 1.118 GB, free: 251.9 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001956/2.083, allocations: 188.8 kB / 1.119 GB, free: 251.8 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.26e-05/2.083, allocations: 18.78 kB / 1.119 GB, free: 251.7 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.083, allocations: 0 / 1.119 GB, free: 251.7 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04847/2.131, allocations: 24.31 MB / 1.142 GB, free: 243.9 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00826/2.14, allocations: 2.249 MB / 1.145 GB, free: 241.8 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00614/2.146, allocations: 195.9 kB / 1.145 GB, free: 241.6 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01945/2.165, allocations: 4.034 MB / 1.149 GB, free: 237.9 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003874/2.169, allocations: 1.241 MB / 1.15 GB, free: 236.7 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003287/2.173, allocations: 353.6 kB / 1.15 GB, free: 236.3 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.02189/2.194, allocations: 11.58 MB / 1.162 GB, free: 224.8 MB / 0.811 GB Notification: Performance of sort global known variables: time 1.032e-06/2.195, allocations: 0 / 1.162 GB, free: 224.8 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.01884/2.213, allocations: 5.356 MB / 1.167 GB, free: 219.4 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.05085/2.264, allocations: 25.32 MB / 1.192 GB, free: 193.9 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.03927/2.304, allocations: 21.33 MB / 1.212 GB, free: 172.6 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 3.048e-05/2.304, allocations: 31.19 kB / 1.212 GB, free: 172.5 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.0182/2.322, allocations: 9.708 MB / 1.222 GB, free: 162.8 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02785/2.35, allocations: 3.752 MB / 1.226 GB, free: 159.1 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.671/3.021, allocations: 182.5 MB / 1.404 GB, free: 248.8 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01483/3.036, allocations: 10.92 MB / 1.414 GB, free: 247.7 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.01687/3.053, allocations: 6.423 MB / 1.421 GB, free: 247 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01329/3.066, allocations: 6.01 MB / 1.427 GB, free: 242.8 MB / 0.8267 GB Notification: Performance of SimCode: time 1.843e-06/3.066, allocations: 0 / 1.427 GB, free: 242.8 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7664/3.832, allocations: 357.4 MB / 1.776 GB, free: 258.6 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 79.89/83.73, allocations: 4.516 kB / 1.776 GB, free: 258.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 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.mat","/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