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.001169/0.001169, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.001272/0.001272, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.222/1.222, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8283/0.8283, allocations: 119.3 MB / 410.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4216, allocations: 80.68 MB / 0.5692 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.002742/0.4244, allocations: 2.44 MB / 0.5715 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005924/0.425, allocations: 0.5328 MB / 0.5721 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.4251, allocations: 4.125 kB / 0.5721 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.4252, allocations: 30.52 kB / 0.5721 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.392e-05/0.4253, allocations: 54.42 kB / 0.5721 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.4255, allocations: 55.22 kB / 0.5722 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01329/0.4388, allocations: 24.8 MB / 0.5964 GB, free: 21.86 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009852/0.4486, allocations: 9.439 MB / 0.6056 GB, free: 12.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008525/0.4572, allocations: 7.797 MB / 0.6133 GB, free: 4.496 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.4697, allocations: 8.988 MB / 0.622 GB, free: 11.46 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004497/0.4742, allocations: 1.176 MB / 0.6232 GB, free: 10.29 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006384/0.4806, allocations: 1.176 MB / 0.6243 GB, free: 9.113 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.005414/0.486, allocations: 3.598 MB / 0.6278 GB, free: 5.5 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01628/0.5023, allocations: 9.278 MB / 0.6369 GB, free: 12.17 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02601/0.5283, allocations: 26.62 MB / 0.6629 GB, free: 1.484 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5284, allocations: 0 / 0.6629 GB, free: 1.484 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5284, allocations: 0 / 0.6629 GB, free: 1.484 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001045/0.5294, allocations: 4 kB / 0.6629 GB, free: 1.48 MB / 0.4983 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.05841/0.5879, allocations: 25.14 MB / 0.6874 GB, free: 8.207 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5879, allocations: 8.031 kB / 0.6874 GB, free: 8.199 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006606/0.5945, allocations: 2.304 MB / 0.6897 GB, free: 5.883 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005739/0.6003, allocations: 1.986 MB / 0.6916 GB, free: 3.875 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/0.6202, allocations: 10.38 MB / 0.7018 GB, free: 9.414 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009439/0.6212, allocations: 1.145 MB / 0.7029 GB, free: 8.27 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004127/0.6253, allocations: 1.485 MB / 0.7043 GB, free: 6.785 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04775/0.673, allocations: 25.38 MB / 0.7291 GB, free: 13.38 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005859/0.6737, allocations: 3.828 kB / 0.7291 GB, free: 13.38 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004897/0.6786, allocations: 0.6953 MB / 0.7298 GB, free: 12.68 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002995/0.6789, allocations: 380 kB / 0.7302 GB, free: 12.31 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04571/0.7246, allocations: 25.83 MB / 0.7554 GB, free: 2.453 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5463/1.271, allocations: 75.9 MB / 0.8295 GB, free: 92.02 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02313/1.294, allocations: 22.23 MB / 0.8512 GB, free: 69.82 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01056/1.305, allocations: 10.31 MB / 0.8613 GB, free: 59.49 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/1.305, allocations: 121.5 kB / 0.8614 GB, free: 59.37 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/1.305, allocations: 275.1 kB / 0.8617 GB, free: 59.09 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=1218): time 1.441e-05/1.305, allocations: 0 / 0.8617 GB, free: 59.09 MB / 0.5923 GB Notification: Performance of matching and sorting (n=1218): time 0.03746/1.343, allocations: 29.99 MB / 0.891 GB, free: 29 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/1.343, allocations: 176.9 kB / 0.8911 GB, free: 28.82 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0195/1.362, allocations: 16.89 MB / 0.9076 GB, free: 12.07 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.002046/1.365, allocations: 293.7 kB / 0.9079 GB, free: 11.78 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.003792/1.368, allocations: 7.187 MB / 0.9149 GB, free: 4.633 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.004259/1.373, allocations: 4.117 MB / 0.9189 GB, free: 468 kB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005897/1.379, allocations: 2.72 MB / 0.9216 GB, free: 13.72 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 7.812e-05/1.379, allocations: 305.1 kB / 0.9219 GB, free: 13.42 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01405/1.393, allocations: 9.873 MB / 0.9315 GB, free: 3.539 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01628/1.409, allocations: 12 MB / 0.9433 GB, free: 6.93 MB / 0.6235 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03386/1.443, allocations: 20.48 MB / 0.9633 GB, free: 1.758 MB / 0.6392 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.817e-05/1.443, allocations: 16 kB / 0.9633 GB, free: 1.742 MB / 0.6392 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.05209/1.495, allocations: 32.8 MB / 0.9953 GB, free: 0.8203 MB / 0.6704 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/1.495, allocations: 27.94 kB / 0.9953 GB, free: 0.793 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.893e-05/1.495, allocations: 44 kB / 0.9954 GB, free: 0.75 MB / 0.6704 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 8.991e-05/1.495, allocations: 87.98 kB / 0.9955 GB, free: 0.6641 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008041/1.503, allocations: 2.211 MB / 0.9976 GB, free: 14.45 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001519/1.504, allocations: 103.7 kB / 0.9977 GB, free: 14.35 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01613/1.52, allocations: 3.269 MB / 1.001 GB, free: 11.06 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002698/1.522, allocations: 460 kB / 1.001 GB, free: 10.61 MB / 0.686 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.01286/1.535, allocations: 6.162 MB / 1.007 GB, free: 4.434 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005432/1.541, allocations: 1.406 MB / 1.009 GB, free: 3.012 MB / 0.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/1.545, allocations: 2.164 MB / 1.011 GB, free: 0.8398 MB / 0.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.76e-05/1.546, allocations: 116 kB / 1.011 GB, free: 0.7266 MB / 0.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003231/1.546, allocations: 116 kB / 1.011 GB, free: 0.6133 MB / 0.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001665/1.546, allocations: 59.77 kB / 1.011 GB, free: 0.5547 MB / 0.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0276/1.574, allocations: 15.35 MB / 1.026 GB, free: 1.125 MB / 0.7017 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-05/1.574, allocations: 3.984 kB / 1.026 GB, free: 1.121 MB / 0.7017 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/1.577, allocations: 0.9251 MB / 1.027 GB, free: 200 kB / 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 5.409e-05/1.577, allocations: 15.94 kB / 1.027 GB, free: 184 kB / 0.7017 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2446/1.822, allocations: 192.7 kB / 1.027 GB, free: 237.8 MB / 0.7017 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-05/1.822, allocations: 13.69 kB / 1.027 GB, free: 237.8 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.822, allocations: 0 / 1.027 GB, free: 237.8 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03763/1.859, allocations: 24.31 MB / 1.051 GB, free: 232.5 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004826/1.864, allocations: 2.248 MB / 1.053 GB, free: 231.6 MB / 0.7017 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003176/1.867, allocations: 190.8 kB / 1.053 GB, free: 231.4 MB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01425/1.882, allocations: 4.028 MB / 1.057 GB, free: 231 MB / 0.7017 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002371/1.884, allocations: 1.246 MB / 1.059 GB, free: 230.9 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001375/1.885, allocations: 353.8 kB / 1.059 GB, free: 230.8 MB / 0.7017 GB Notification: Performance of sorting global known variables: time 0.0144/1.9, allocations: 11.59 MB / 1.07 GB, free: 225.1 MB / 0.7017 GB Notification: Performance of sort global known variables: time 6.71e-07/1.9, allocations: 4 kB / 1.07 GB, free: 225.1 MB / 0.7017 GB Notification: Performance of remove unused functions: time 0.01275/1.913, allocations: 5.355 MB / 1.075 GB, free: 219.8 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.03442/1.947, allocations: 25.32 MB / 1.1 GB, free: 198.1 MB / 0.7017 GB Notification: Performance of simCode: created initialization part: time 0.02894/1.976, allocations: 21.19 MB / 1.121 GB, free: 177.5 MB / 0.7017 GB Notification: Performance of simCode: created event and clocks part: time 2.358e-05/1.976, allocations: 27.19 kB / 1.121 GB, free: 177.4 MB / 0.7017 GB Notification: Performance of simCode: created simulation system equations: time 0.01376/1.99, allocations: 9.708 MB / 1.13 GB, free: 167.7 MB / 0.7017 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01909/2.009, allocations: 3.652 MB / 1.134 GB, free: 164.1 MB / 0.7017 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7352/2.744, allocations: 301.4 MB / 1.428 GB, free: 111.9 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007274/2.752, allocations: 10.92 MB / 1.439 GB, free: 101.8 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.0129/2.764, allocations: 6.421 MB / 1.445 GB, free: 95.76 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007171/2.772, allocations: 6.006 MB / 1.451 GB, free: 89.75 MB / 0.7017 GB Notification: Performance of SimCode: time 9.22e-07/2.772, allocations: 0 / 1.451 GB, free: 89.75 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5932/3.365, allocations: 357.5 MB / 1.8 GB, free: 25.89 MB / 0.7173 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/3.365, allocations: 311.9 kB / 1.8 GB, free: 25.5 MB / 0.7173 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.503/12.87, allocations: 0 / 1.8 GB, free: 25.5 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 & /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","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches