Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.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_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",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.0008507/0.0008507, allocations: 88.81 kB / 16.65 MB, free: 6.535 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.0009641/0.0009641, allocations: 175.2 kB / 17.56 MB, free: 6.184 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.235/1.235, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8254/0.8254, allocations: 120.5 MB / 413.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 8 kB / 0.495 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4295, allocations: 82.84 MB / 0.5759 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20): time 0.001769/0.4313, allocations: 2.077 MB / 0.5779 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005754/0.4319, allocations: 0.5269 MB / 0.5784 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.432, allocations: 8.062 kB / 0.5784 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.775e-05/0.4321, allocations: 30.52 kB / 0.5785 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.78e-05/0.4322, allocations: 58.41 kB / 0.5785 GB, free: 39.63 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.4323, allocations: 46.83 kB / 0.5786 GB, free: 39.59 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02792/0.4602, allocations: 50.01 MB / 0.6274 GB, free: 9.164 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02199/0.4823, allocations: 19.32 MB / 0.6463 GB, free: 5.719 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01793/0.5002, allocations: 14.44 MB / 0.6604 GB, free: 7.223 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02332/0.5236, allocations: 16.52 MB / 0.6765 GB, free: 6.629 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.00663/0.5302, allocations: 1.93 MB / 0.6784 GB, free: 4.699 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.5413, allocations: 1.93 MB / 0.6803 GB, free: 2.77 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.009197/0.5505, allocations: 6.475 MB / 0.6866 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.02788/0.5784, allocations: 17.82 MB / 0.704 GB, free: 10.34 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.05385/0.6323, allocations: 52.81 MB / 0.7556 GB, free: 5.375 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6323, allocations: 0 / 0.7556 GB, free: 5.375 MB / 0.592 GB Notification: Performance of FrontEnd: time 3.226e-06/0.6323, allocations: 0 / 0.7556 GB, free: 5.375 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.001953/0.6343, allocations: 0 / 0.7556 GB, free: 5.375 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: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.5316/1.166, allocations: 44.36 MB / 0.7989 GB, free: 107.7 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.166, allocations: 12.03 kB / 0.7989 GB, free: 107.7 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01164/1.178, allocations: 4.632 MB / 0.8034 GB, free: 103.1 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/1.19, allocations: 4.008 MB / 0.8073 GB, free: 99.01 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03534/1.226, allocations: 20.85 MB / 0.8277 GB, free: 78.21 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001804/1.227, allocations: 2.315 MB / 0.83 GB, free: 75.9 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008235/1.236, allocations: 3.004 MB / 0.8329 GB, free: 72.89 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08729/1.323, allocations: 51.31 MB / 0.883 GB, free: 21.54 MB / 0.5923 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000761/1.324, allocations: 7.938 kB / 0.883 GB, free: 21.53 MB / 0.5923 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007912/1.332, allocations: 1.402 MB / 0.8844 GB, free: 20.12 MB / 0.5923 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004028/1.332, allocations: 0.75 MB / 0.8851 GB, free: 19.38 MB / 0.5923 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08596/1.418, allocations: 52.31 MB / 0.9362 GB, free: 15.02 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5577/1.976, allocations: 156.3 MB / 1.089 GB, free: 182.8 MB / 0.7329 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04942/2.025, allocations: 46.08 MB / 1.134 GB, free: 163.3 MB / 0.7329 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02333/2.049, allocations: 20.98 MB / 1.154 GB, free: 154.5 MB / 0.7329 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/2.05, allocations: 248.8 kB / 1.155 GB, free: 154.5 MB / 0.7329 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/2.05, allocations: 496.5 kB / 1.155 GB, free: 154.2 MB / 0.7329 GB Notification: Performance of pre-optimization done (n=2460): time 4.118e-05/2.05, allocations: 0 / 1.155 GB, free: 154.2 MB / 0.7329 GB Notification: Performance of matching and sorting (n=2460): time 0.08614/2.136, allocations: 60.82 MB / 1.214 GB, free: 96.62 MB / 0.7329 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/2.136, allocations: 302.6 kB / 1.215 GB, free: 96.32 MB / 0.7329 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04726/2.184, allocations: 34.06 MB / 1.248 GB, free: 62.36 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.004287/2.188, allocations: 0.5524 MB / 1.249 GB, free: 61.8 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.01005/2.198, allocations: 14.73 MB / 1.263 GB, free: 47 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.008486/2.207, allocations: 8.314 MB / 1.271 GB, free: 38.57 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006285/2.213, allocations: 2.322 MB / 1.273 GB, free: 36.24 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 3.767e-05/2.213, allocations: 301.1 kB / 1.274 GB, free: 35.95 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02467/2.238, allocations: 19.99 MB / 1.293 GB, free: 15.94 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02937/2.267, allocations: 24.3 MB / 1.317 GB, free: 6.41 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3853/2.652, allocations: 41.5 MB / 1.357 GB, free: 226.4 MB / 0.7642 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/2.653, allocations: 26.31 kB / 1.357 GB, free: 226.4 MB / 0.7642 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1082/2.761, allocations: 66.5 MB / 1.422 GB, free: 200 MB / 0.7642 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/2.761, allocations: 44 kB / 1.422 GB, free: 200 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/2.761, allocations: 88 kB / 1.422 GB, free: 199.9 MB / 0.7642 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0001858/2.761, allocations: 168 kB / 1.423 GB, free: 199.7 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01608/2.777, allocations: 4.553 MB / 1.427 GB, free: 196.1 MB / 0.7642 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002874/2.778, allocations: 231.3 kB / 1.427 GB, free: 195.8 MB / 0.7642 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03295/2.811, allocations: 6.884 MB / 1.434 GB, free: 191.6 MB / 0.7642 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004143/2.815, allocations: 0.9101 MB / 1.435 GB, free: 190.6 MB / 0.7642 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * 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 (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0222/2.837, allocations: 12.37 MB / 1.447 GB, free: 178.2 MB / 0.7642 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0097/2.847, allocations: 2.82 MB / 1.45 GB, free: 175.4 MB / 0.7642 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/2.858, allocations: 4.375 MB / 1.454 GB, free: 171 MB / 0.7642 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001185/2.858, allocations: 232 kB / 1.454 GB, free: 170.8 MB / 0.7642 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005635/2.859, allocations: 232 kB / 1.454 GB, free: 170.6 MB / 0.7642 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003352/2.859, allocations: 115.5 kB / 1.455 GB, free: 170.4 MB / 0.7642 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05124/2.91, allocations: 30.95 MB / 1.485 GB, free: 139.7 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001076/2.911, allocations: 3.938 kB / 1.485 GB, free: 139.7 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006394/2.917, allocations: 1.904 MB / 1.487 GB, free: 137.8 MB / 0.7642 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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.992e-05/2.917, allocations: 24 kB / 1.487 GB, free: 137.8 MB / 0.7642 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002685/2.92, allocations: 388 kB / 1.487 GB, free: 137.4 MB / 0.7642 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.174e-05/2.92, allocations: 24 kB / 1.487 GB, free: 137.4 MB / 0.7642 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/2.92, allocations: 0 / 1.487 GB, free: 137.4 MB / 0.7642 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0687/2.989, allocations: 49.22 MB / 1.535 GB, free: 88.02 MB / 0.7642 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01071/2.999, allocations: 4.479 MB / 1.54 GB, free: 83.49 MB / 0.7642 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007868/3.007, allocations: 392 kB / 1.54 GB, free: 83.11 MB / 0.7642 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03476/3.042, allocations: 8.918 MB / 1.549 GB, free: 74.18 MB / 0.7642 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005302/3.047, allocations: 2.502 MB / 1.551 GB, free: 71.67 MB / 0.7642 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003463/3.051, allocations: 0.707 MB / 1.552 GB, free: 70.96 MB / 0.7642 GB Notification: Performance of sorting global known variables: time 0.0316/3.082, allocations: 23.44 MB / 1.575 GB, free: 47.61 MB / 0.7642 GB Notification: Performance of sort global known variables: time 6.31e-07/3.082, allocations: 0 / 1.575 GB, free: 47.61 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.02818/3.111, allocations: 10.83 MB / 1.585 GB, free: 36.76 MB / 0.7642 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 (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3689/3.479, allocations: 50.73 MB / 1.635 GB, free: 223.3 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.06258/3.542, allocations: 42.83 MB / 1.677 GB, free: 213.1 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 4e-05/3.542, allocations: 55.17 kB / 1.677 GB, free: 213 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.03104/3.573, allocations: 19.57 MB / 1.696 GB, free: 207.6 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04501/3.618, allocations: 7.422 MB / 1.703 GB, free: 201.3 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.382/6.001, allocations: 0.8473 GB / 2.55 GB, free: 11.01 MB / 0.9048 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.298/6.299, allocations: 21.39 MB / 2.571 GB, free: 367.4 MB / 0.9048 GB Notification: Performance of simCode: alias equations: time 0.0324/6.331, allocations: 13.59 MB / 2.584 GB, free: 366.2 MB / 0.9048 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01746/6.349, allocations: 12.88 MB / 2.597 GB, free: 356.2 MB / 0.9048 GB Notification: Performance of SimCode: time 8.72e-07/6.349, allocations: 2.406 kB / 2.597 GB, free: 356.2 MB / 0.9048 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.379/7.728, allocations: 0.6857 GB / 3.283 GB, free: 261.6 MB / 0.9048 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/7.728, allocations: 321.7 kB / 3.283 GB, free: 261.2 MB / 0.9048 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.23/25.95, allocations: 1.875 kB / 3.283 GB, free: 261.2 MB / 0.9048 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches