Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.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_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28",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.001125/0.001125, allocations: 113.5 kB / 16.63 MB, free: 6.812 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.001125/0.001125, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.198/1.198, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8051/0.8051, allocations: 119.3 MB / 410.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.91 kB / 0.4905 GB, free: 14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3972, allocations: 80.68 MB / 0.5693 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28): time 0.002716/0.4, allocations: 2.452 MB / 0.5717 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006628/0.4006, allocations: 0.5316 MB / 0.5722 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.4007, allocations: 3.125 kB / 0.5722 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.4009, allocations: 31.2 kB / 0.5723 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.401, allocations: 54.91 kB / 0.5723 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.4011, allocations: 46.58 kB / 0.5724 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.06498/0.4661, allocations: 101.1 MB / 0.6711 GB, free: 9.23 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06319/0.5293, allocations: 44.98 MB / 0.715 GB, free: 12.09 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04658/0.576, allocations: 40.2 MB / 0.7543 GB, free: 3.781 MB / 0.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4898/1.066, allocations: 41.09 MB / 0.7944 GB, free: 57.29 MB / 0.5923 GB Notification: Performance of NFPackage.collectConstants: time 0.0272/1.093, allocations: 7.009 MB / 0.8012 GB, free: 57.29 MB / 0.5923 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03456/1.128, allocations: 7.01 MB / 0.8081 GB, free: 57.29 MB / 0.5923 GB Notification: Performance of NFScalarize.scalarize: time 0.03059/1.158, allocations: 18.87 MB / 0.8265 GB, free: 45.46 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.06214/1.22, allocations: 41.2 MB / 0.8667 GB, free: 20.3 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1021/1.323, allocations: 109.7 MB / 0.9739 GB, free: 1.711 MB / 0.6704 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/1.323, allocations: 4 kB / 0.9739 GB, free: 1.707 MB / 0.6704 GB Notification: Performance of FrontEnd: time 1.873e-06/1.323, allocations: 3.281 kB / 0.9739 GB, free: 1.707 MB / 0.6704 GB Notification: Performance of Transformations before backend: time 0.004249/1.327, allocations: 2.438 kB / 0.9739 GB, free: 1.707 MB / 0.6704 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15941 * Number of variables: 15941 Notification: Performance of Generate backend data structure: time 0.6751/2.002, allocations: 100 MB / 1.072 GB, free: 159.3 MB / 0.7178 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/2.002, allocations: 11.89 kB / 1.072 GB, free: 159.3 MB / 0.7178 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03107/2.033, allocations: 8.995 MB / 1.08 GB, free: 150.3 MB / 0.7178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02665/2.06, allocations: 7.792 MB / 1.088 GB, free: 142.4 MB / 0.7178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08036/2.14, allocations: 40.6 MB / 1.128 GB, free: 101.8 MB / 0.7178 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00399/2.144, allocations: 4.497 MB / 1.132 GB, free: 97.29 MB / 0.7178 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02004/2.164, allocations: 5.84 MB / 1.138 GB, free: 91.45 MB / 0.7178 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1878/2.352, allocations: 99.96 MB / 1.235 GB, free: 7.336 MB / 0.7334 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002077/2.354, allocations: 3.938 kB / 1.235 GB, free: 7.332 MB / 0.7334 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01931/2.373, allocations: 2.727 MB / 1.238 GB, free: 4.605 MB / 0.7334 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/2.375, allocations: 1.461 MB / 1.239 GB, free: 3.145 MB / 0.7334 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4725/2.847, allocations: 102 MB / 1.339 GB, free: 242 MB / 0.8272 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5621/3.409, allocations: 302.5 MB / 1.635 GB, free: 10.65 MB / 0.8272 GB Notification: Performance of preOpt comSubExp (simulation): time 0.448/3.857, allocations: 91.73 MB / 1.724 GB, free: 190.9 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05244/3.91, allocations: 41.14 MB / 1.764 GB, free: 179.4 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002798/3.913, allocations: 487.5 kB / 1.765 GB, free: 179.4 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006955/3.913, allocations: 0.9099 MB / 1.766 GB, free: 178.8 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=4788): time 5.515e-05/3.913, allocations: 4 kB / 1.766 GB, free: 178.8 MB / 0.8428 GB Notification: Performance of matching and sorting (n=4788): time 0.1957/4.109, allocations: 118.6 MB / 1.882 GB, free: 103.3 MB / 0.8428 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000264/4.109, allocations: 0.5242 MB / 1.882 GB, free: 102.7 MB / 0.8428 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09565/4.205, allocations: 66.27 MB / 1.947 GB, free: 38.15 MB / 0.8428 GB Notification: Performance of collectPreVariables (initialization): time 0.008322/4.213, allocations: 1.053 MB / 1.948 GB, free: 37.09 MB / 0.8428 GB Notification: Performance of collectInitialEqns (initialization): time 0.3093/4.523, allocations: 29.15 MB / 1.976 GB, free: 216.6 MB / 0.8428 GB Notification: Performance of collectInitialBindings (initialization): time 0.01504/4.538, allocations: 16.29 MB / 1.992 GB, free: 208.1 MB / 0.8428 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02871/4.567, allocations: 10.69 MB / 2.003 GB, free: 207.5 MB / 0.8428 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/4.567, allocations: 302.1 kB / 2.003 GB, free: 207.2 MB / 0.8428 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05391/4.621, allocations: 38.97 MB / 2.041 GB, free: 204.3 MB / 0.8428 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06121/4.682, allocations: 47.4 MB / 2.087 GB, free: 188.1 MB / 0.8428 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3043/4.986, allocations: 80.9 MB / 2.166 GB, free: 119.4 MB / 0.8428 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002754/4.986, allocations: 48 kB / 2.166 GB, free: 119.3 MB / 0.8428 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.5536/5.54, allocations: 129.8 MB / 2.293 GB, free: 141.9 MB / 0.8428 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/5.54, allocations: 79.09 kB / 2.293 GB, free: 141.9 MB / 0.8428 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003508/5.541, allocations: 175.2 kB / 2.293 GB, free: 141.9 MB / 0.8428 GB Notification: Tearing is skipped for strong component 1 because system size of 3191 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.0003032/5.541, allocations: 322.8 kB / 2.294 GB, free: 141.9 MB / 0.8428 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03348/5.574, allocations: 8.988 MB / 2.302 GB, free: 141.8 MB / 0.8428 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006975/5.575, allocations: 436.6 kB / 2.303 GB, free: 141.7 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06937/5.645, allocations: 13.75 MB / 2.316 GB, free: 139.5 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01407/5.659, allocations: 1.772 MB / 2.318 GB, free: 139.5 MB / 0.8428 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * 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 (3979): * Single equations (assignments): 3978 * 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 {(3191,0.1%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.05134/5.71, allocations: 24.01 MB / 2.341 GB, free: 138.9 MB / 0.8428 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0229/5.733, allocations: 5.486 MB / 2.347 GB, free: 138.5 MB / 0.8428 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/5.752, allocations: 8.52 MB / 2.355 GB, free: 138 MB / 0.8428 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002825/5.752, allocations: 448.3 kB / 2.355 GB, free: 138 MB / 0.8428 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001218/5.754, allocations: 451.6 kB / 2.356 GB, free: 138 MB / 0.8428 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008345/5.755, allocations: 223.2 kB / 2.356 GB, free: 138 MB / 0.8428 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1205/5.875, allocations: 60.24 MB / 2.415 GB, free: 121.1 MB / 0.8428 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003486/5.875, allocations: 0.9062 kB / 2.415 GB, free: 121.1 MB / 0.8428 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01325/5.889, allocations: 3.769 MB / 2.419 GB, free: 120.6 MB / 0.8428 GB Notification: Tearing is skipped for strong component 2 because system size of 3191 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 0.0003767/5.889, allocations: 51 kB / 2.419 GB, free: 120.6 MB / 0.8428 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007452/5.897, allocations: 0.7292 MB / 2.419 GB, free: 120 MB / 0.8428 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002011/5.897, allocations: 51 kB / 2.419 GB, free: 120 MB / 0.8428 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/5.897, allocations: 3.938 kB / 2.419 GB, free: 120 MB / 0.8428 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1883/6.085, allocations: 95.97 MB / 2.513 GB, free: 79.1 MB / 0.8428 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02321/6.108, allocations: 8.646 MB / 2.522 GB, free: 70.36 MB / 0.8428 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02102/6.129, allocations: 0.7388 MB / 2.522 GB, free: 69.62 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07298/6.202, allocations: 17 MB / 2.539 GB, free: 52.61 MB / 0.8428 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01331/6.216, allocations: 4.862 MB / 2.544 GB, free: 47.73 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01052/6.226, allocations: 1.371 MB / 2.545 GB, free: 46.36 MB / 0.8428 GB Notification: Performance of sorting global known variables: time 0.07371/6.3, allocations: 45.7 MB / 2.59 GB, free: 0.8789 MB / 0.8428 GB Notification: Performance of sort global known variables: time 3.21e-07/6.3, allocations: 3.609 kB / 2.59 GB, free: 0.8789 MB / 0.8428 GB Notification: Performance of remove unused functions: time 0.06662/6.367, allocations: 21.08 MB / 2.61 GB, free: 11.75 MB / 0.874 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 (1598): * Single equations (assignments): 1597 * 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 {(3191,0.1%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.5254/6.892, allocations: 98.46 MB / 2.706 GB, free: 206.9 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 2.33/9.222, allocations: 1.009 GB / 3.715 GB, free: 247.6 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 0.000123/9.223, allocations: 114.1 kB / 3.715 GB, free: 247.6 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.06576/9.288, allocations: 38.1 MB / 3.753 GB, free: 217.6 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08455/9.373, allocations: 14.9 MB / 3.767 GB, free: 205.4 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.564/17.94, allocations: 2.569 GB / 6.336 GB, free: 281.1 MB / 1.155 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3761/18.31, allocations: 41.82 MB / 6.377 GB, free: 479.5 MB / 1.155 GB Notification: Performance of simCode: alias equations: time 0.06901/18.38, allocations: 26.61 MB / 6.403 GB, free: 476.5 MB / 1.155 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05003/18.43, allocations: 26.44 MB / 6.429 GB, free: 456.5 MB / 1.155 GB Notification: Performance of SimCode: time 1.072e-06/18.43, allocations: 0 / 6.429 GB, free: 456.5 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.829/21.26, allocations: 1.382 GB / 7.811 GB, free: 275.7 MB / 1.155 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/21.26, allocations: 333.2 kB / 7.811 GB, free: 275.3 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.5/56.76, allocations: 4 kB / 7.811 GB, free: 275.3 MB / 1.155 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches