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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 174.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9436/0.9436, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.6406/0.6406, allocations: 88.07 MB / 348.8 MB, free: 14.36 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5231 GB, free: 3.965 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.202e-05, allocations: 2.281 kB / 0.5231 GB, free: 3.961 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28): time 0.002988/0.00301, allocations: 2.3 MB / 0.5253 GB, free: 1.645 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.00417, allocations: 0.5531 MB / 0.5259 GB, free: 1.086 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.004314, allocations: 7.938 kB / 0.5259 GB, free: 1.078 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.00449, allocations: 35.64 kB / 0.5259 GB, free: 1.043 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.004639, allocations: 67.41 kB / 0.526 GB, free: 0.9766 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.004866, allocations: 63.84 kB / 0.526 GB, free: 0.9141 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.05487/0.05973, allocations: 103.7 MB / 0.6273 GB, free: 8.68 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5114/0.5712, allocations: 23.3 MB / 0.6501 GB, free: 4.883 MB / 0.5419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07996/0.6511, allocations: 57.58 MB / 0.7063 GB, free: 13.75 MB / 0.5575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06477/0.7159, allocations: 43.31 MB / 0.7486 GB, free: 11.81 MB / 0.5888 GB Notification: Performance of NFPackage.collectConstants: time 0.02242/0.7383, allocations: 7.008 MB / 0.7555 GB, free: 4.801 MB / 0.5888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02985/0.7682, allocations: 7.008 MB / 0.7623 GB, free: 13.79 MB / 0.6044 GB Notification: Performance of NFScalarize.scalarize: time 0.03758/0.8058, allocations: 19.19 MB / 0.7811 GB, free: 13.48 MB / 0.62 GB Notification: Performance of NFVerifyModel.verify: time 0.06835/0.8741, allocations: 30.44 MB / 0.8108 GB, free: 1.926 MB / 0.6356 GB Notification: Performance of NFConvertDAE.convert: time 0.6544/1.528, allocations: 115.4 MB / 0.9235 GB, free: 95.94 MB / 0.7296 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.528, allocations: 3.719 kB / 0.9235 GB, free: 95.94 MB / 0.7296 GB Notification: Performance of FrontEnd: time 2.504e-06/1.528, allocations: 0 / 0.9235 GB, free: 95.94 MB / 0.7296 GB Notification: Performance of Transformations before backend: time 0.00535/1.534, allocations: 0 / 0.9235 GB, free: 95.94 MB / 0.7296 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.2345/1.768, allocations: 101.2 MB / 1.022 GB, free: 56.65 MB / 0.7296 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/1.768, allocations: 9.5 kB / 1.022 GB, free: 56.65 MB / 0.7296 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.04066/1.809, allocations: 8.99 MB / 1.031 GB, free: 54.73 MB / 0.7296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03683/1.846, allocations: 8.158 MB / 1.039 GB, free: 50.66 MB / 0.7296 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.104/1.95, allocations: 44.45 MB / 1.082 GB, free: 12.8 MB / 0.7296 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004625/1.955, allocations: 4.501 MB / 1.087 GB, free: 8.301 MB / 0.7296 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0251/1.98, allocations: 5.836 MB / 1.093 GB, free: 2.465 MB / 0.7296 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2647/2.244, allocations: 140.3 MB / 1.23 GB, free: 12.23 MB / 0.8859 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002999/2.247, allocations: 1.391 kB / 1.23 GB, free: 12.23 MB / 0.8859 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03261/2.28, allocations: 2.723 MB / 1.232 GB, free: 9.504 MB / 0.8859 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009889/2.281, allocations: 1.469 MB / 1.234 GB, free: 8.035 MB / 0.8859 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.57/2.851, allocations: 101.8 MB / 1.333 GB, free: 283.6 MB / 0.8859 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9877/3.839, allocations: 287.2 MB / 1.614 GB, free: 256.1 MB / 0.8859 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1096/3.948, allocations: 86.79 MB / 1.698 GB, free: 220.2 MB / 0.8859 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06047/4.009, allocations: 37.66 MB / 1.735 GB, free: 197.5 MB / 0.8859 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002952/4.012, allocations: 485.4 kB / 1.736 GB, free: 197 MB / 0.8859 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008183/4.012, allocations: 0.9145 MB / 1.736 GB, free: 196.1 MB / 0.8859 GB Notification: Performance of pre-optimization done (n=4788): time 9.646e-05/4.013, allocations: 3.984 kB / 1.736 GB, free: 196.1 MB / 0.8859 GB Notification: Performance of matching and sorting (n=4788): time 0.2461/4.259, allocations: 117.4 MB / 1.851 GB, free: 96.36 MB / 0.8859 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002727/4.259, allocations: 0.5282 MB / 1.852 GB, free: 95.81 MB / 0.8859 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5574/4.816, allocations: 67.18 MB / 1.917 GB, free: 246.1 MB / 0.8859 GB Notification: Performance of collectPreVariables (initialization): time 0.01183/4.828, allocations: 1.048 MB / 1.918 GB, free: 246 MB / 0.8859 GB Notification: Performance of collectInitialEqns (initialization): time 0.02846/4.857, allocations: 29.78 MB / 1.947 GB, free: 229.2 MB / 0.8859 GB Notification: Performance of collectInitialBindings (initialization): time 0.02001/4.877, allocations: 16.86 MB / 1.964 GB, free: 216 MB / 0.8859 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.06262/4.939, allocations: 10.66 MB / 1.974 GB, free: 211.7 MB / 0.8859 GB Notification: Performance of setup shared object (initialization): time 6.979e-05/4.939, allocations: 304.9 kB / 1.974 GB, free: 211.4 MB / 0.8859 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07157/5.011, allocations: 38.97 MB / 2.013 GB, free: 203 MB / 0.8859 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07331/5.084, allocations: 47.39 MB / 2.059 GB, free: 186.8 MB / 0.8859 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2295/5.314, allocations: 80.9 MB / 2.138 GB, free: 116.1 MB / 0.8859 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005393/5.314, allocations: 52 kB / 2.138 GB, free: 116 MB / 0.8859 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.685/5.999, allocations: 128.5 MB / 2.263 GB, free: 212.9 MB / 0.8859 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/5.999, allocations: 81.16 kB / 2.263 GB, free: 212.9 MB / 0.8859 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002671/6, allocations: 169.5 kB / 2.264 GB, free: 212.9 MB / 0.8859 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.0003691/6, allocations: 323.3 kB / 2.264 GB, free: 212.9 MB / 0.8859 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02624/6.026, allocations: 8.985 MB / 2.273 GB, free: 211.9 MB / 0.8859 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006795/6.027, allocations: 432.3 kB / 2.273 GB, free: 211.9 MB / 0.8859 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05916/6.086, allocations: 13.93 MB / 2.287 GB, free: 209.1 MB / 0.8859 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01421/6.1, allocations: 1.771 MB / 2.288 GB, free: 209.1 MB / 0.8859 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.05924/6.16, allocations: 24.01 MB / 2.312 GB, free: 206.8 MB / 0.8859 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02785/6.187, allocations: 5.747 MB / 2.317 GB, free: 205.8 MB / 0.8859 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01888/6.206, allocations: 8.519 MB / 2.326 GB, free: 200.4 MB / 0.8859 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002488/6.207, allocations: 449.6 kB / 2.326 GB, free: 200.4 MB / 0.8859 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001576/6.208, allocations: 447.3 kB / 2.327 GB, free: 200.4 MB / 0.8859 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/6.209, allocations: 229.4 kB / 2.327 GB, free: 200.4 MB / 0.8859 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1377/6.347, allocations: 53.09 MB / 2.379 GB, free: 185.5 MB / 0.8859 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004726/6.347, allocations: 0 / 2.379 GB, free: 185.5 MB / 0.8859 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009674/6.357, allocations: 3.773 MB / 2.382 GB, free: 184.5 MB / 0.8859 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.0002258/6.357, allocations: 55.94 kB / 2.382 GB, free: 184.5 MB / 0.8859 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00945/6.367, allocations: 0.7266 MB / 2.383 GB, free: 183.8 MB / 0.8859 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001759/6.367, allocations: 54.84 kB / 2.383 GB, free: 183.7 MB / 0.8859 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/6.367, allocations: 0 / 2.383 GB, free: 183.7 MB / 0.8859 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1787/6.546, allocations: 94.7 MB / 2.476 GB, free: 96.02 MB / 0.8859 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02425/6.57, allocations: 9.403 MB / 2.485 GB, free: 86.57 MB / 0.8859 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02142/6.591, allocations: 0.7344 MB / 2.486 GB, free: 85.84 MB / 0.8859 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05292/6.644, allocations: 17.01 MB / 2.502 GB, free: 68.81 MB / 0.8859 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01536/6.66, allocations: 5.13 MB / 2.507 GB, free: 63.66 MB / 0.8859 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01203/6.672, allocations: 1.359 MB / 2.509 GB, free: 62.3 MB / 0.8859 GB Notification: Performance of sorting global known variables: time 0.4917/7.163, allocations: 45.7 MB / 2.553 GB, free: 220.5 MB / 0.8859 GB Notification: Performance of sort global known variables: time 5.51e-07/7.163, allocations: 0 / 2.553 GB, free: 220.5 MB / 0.8859 GB Notification: Performance of remove unused functions: time 0.07528/7.239, allocations: 21.18 MB / 2.574 GB, free: 220.1 MB / 0.8859 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.2111/7.45, allocations: 97.18 MB / 2.669 GB, free: 194.7 MB / 0.8859 GB Notification: Performance of simCode: created initialization part: time 0.1476/7.597, allocations: 81.16 MB / 2.748 GB, free: 133.9 MB / 0.8859 GB Notification: Performance of simCode: created event and clocks part: time 0.0001133/7.597, allocations: 116.5 kB / 2.748 GB, free: 133.7 MB / 0.8859 GB Notification: Performance of simCode: created simulation system equations: time 0.06582/7.663, allocations: 35.98 MB / 2.783 GB, free: 103.5 MB / 0.8859 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0918/7.755, allocations: 14.92 MB / 2.798 GB, free: 90.86 MB / 0.8859 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.216/12.97, allocations: 0.8289 GB / 3.627 GB, free: 160.7 MB / 0.8859 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06401/13.04, allocations: 41.67 MB / 3.667 GB, free: 153.3 MB / 0.8859 GB Notification: Performance of simCode: alias equations: time 0.06589/13.1, allocations: 26.68 MB / 3.694 GB, free: 148.6 MB / 0.8859 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04414/13.15, allocations: 26.44 MB / 3.719 GB, free: 124.5 MB / 0.8859 GB Notification: Performance of SimCode: time 2.104e-06/13.15, allocations: 3.625 kB / 3.719 GB, free: 124.5 MB / 0.8859 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.286/16.43, allocations: 1.433 GB / 5.152 GB, free: 51.18 MB / 0.9171 GB Notification: Performance of buildModelFMU: Generate platform static: time 172.7/189.1, allocations: 6.047 kB / 5.152 GB, free: 51.18 MB / 0.9171 GB " [Timeout remaining time 110] (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 --stepSize=0.001 --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) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 307.2734917374328]