Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.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.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",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.0008641/0.000864, allocations: 89.06 kB / 16.65 MB, free: 6.59 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.0009188/0.0009189, allocations: 185 kB / 17.57 MB, free: 6.199 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.246/1.246, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8033/0.8033, allocations: 120.5 MB / 413.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002743, allocations: 8 kB / 0.495 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4594, allocations: 82.84 MB / 0.5759 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.02486/0.4843, allocations: 43.9 MB / 0.6188 GB, free: 2.238 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.01891/0.5033, allocations: 9.59 MB / 0.6281 GB, free: 8.609 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009862/0.5132, allocations: 191.3 kB / 0.6283 GB, free: 8.422 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006214/0.5194, allocations: 1.24 MB / 0.6295 GB, free: 7.172 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.5315, allocations: 2.545 MB / 0.632 GB, free: 4.605 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.006561/0.538, allocations: 2.099 MB / 0.6341 GB, free: 2.504 MB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.02122/0.5593, allocations: 11.54 MB / 0.6453 GB, free: 6.895 MB / 494.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007014/0.5664, allocations: 2.678 MB / 0.648 GB, free: 4.129 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005096/0.5715, allocations: 3.619 MB / 0.6515 GB, free: 0.4961 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006105/0.5776, allocations: 4.187 MB / 0.6556 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.00235/0.58, allocations: 0.4961 MB / 0.6561 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.5822, allocations: 0.4961 MB / 0.6565 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.5835, allocations: 1.633 MB / 0.6581 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.005357/0.5889, allocations: 4.568 MB / 0.6626 GB, free: 5.055 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.009478/0.5984, allocations: 10.28 MB / 0.6726 GB, free: 10.74 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5984, allocations: 0 / 0.6726 GB, free: 10.74 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5984, allocations: 0 / 0.6726 GB, free: 10.74 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0004337/0.5988, allocations: 0 / 0.6726 GB, free: 10.74 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.0156/0.6145, allocations: 8.317 MB / 0.6808 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.6145, allocations: 8.031 kB / 0.6808 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002061/0.6166, allocations: 1.082 MB / 0.6818 GB, free: 1.234 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.6182, allocations: 1.028 MB / 0.6828 GB, free: 200 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/0.6236, allocations: 3.369 MB / 0.6861 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.624, allocations: 0.6023 MB / 0.6867 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009029/0.6249, allocations: 0.7699 MB / 0.6875 GB, free: 11.37 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.6364, allocations: 6.48 MB / 0.6938 GB, free: 4.832 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.6365, allocations: 3.938 kB / 0.6938 GB, free: 4.828 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006871/0.6372, allocations: 368 kB / 0.6941 GB, free: 4.469 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.6373, allocations: 196 kB / 0.6943 GB, free: 4.277 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009628/0.6469, allocations: 5.538 MB / 0.6997 GB, free: 14.72 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04707/0.6941, allocations: 24.48 MB / 0.7236 GB, free: 5.504 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007964/0.7021, allocations: 6.72 MB / 0.7302 GB, free: 14.77 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003366/0.7055, allocations: 2.735 MB / 0.7329 GB, free: 12.02 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.7057, allocations: 64.94 kB / 0.7329 GB, free: 11.96 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.7058, allocations: 153.5 kB / 0.7331 GB, free: 11.8 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=630): time 8.646e-06/0.7058, allocations: 0 / 0.7331 GB, free: 11.8 MB / 0.5764 GB Notification: Performance of matching and sorting (n=630): time 0.01311/0.7189, allocations: 8.167 MB / 0.7411 GB, free: 3.539 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.719, allocations: 112.3 kB / 0.7412 GB, free: 3.414 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006949/0.726, allocations: 5.126 MB / 0.7462 GB, free: 14.28 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0007055/0.7267, allocations: 169.7 kB / 0.7463 GB, free: 14.11 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.002211/0.729, allocations: 3.621 MB / 0.7499 GB, free: 10.45 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/0.7307, allocations: 2.087 MB / 0.7519 GB, free: 8.332 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006453/0.7314, allocations: 0.5412 MB / 0.7524 GB, free: 7.785 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.7315, allocations: 305.1 kB / 0.7527 GB, free: 7.484 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/0.7346, allocations: 1.9 MB / 0.7546 GB, free: 5.582 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/0.7382, allocations: 2.947 MB / 0.7575 GB, free: 2.328 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4525/1.191, allocations: 4.938 MB / 0.7623 GB, free: 151.6 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.318e-05/1.191, allocations: 7.25 kB / 0.7623 GB, free: 151.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01429/1.205, allocations: 8.655 MB / 0.7707 GB, free: 148.9 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/1.205, allocations: 11.84 kB / 0.7708 GB, free: 148.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.986e-05/1.205, allocations: 23.72 kB / 0.7708 GB, free: 148.9 MB / 0.5923 GB Notification: Tearing is skipped for strong component 1 because system size of 419 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.0001107/1.205, allocations: 43.47 kB / 0.7708 GB, free: 148.9 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/1.209, allocations: 0.8146 MB / 0.7716 GB, free: 148.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.22e-05/1.209, allocations: 54.77 kB / 0.7717 GB, free: 148.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/1.214, allocations: 0.7158 MB / 0.7724 GB, free: 148.6 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004662/1.214, allocations: 238.8 kB / 0.7726 GB, free: 148.5 MB / 0.5923 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (523): * Single equations (assignments): 522 * 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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002374/1.217, allocations: 0.9646 MB / 0.7735 GB, free: 147.9 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.218, allocations: 0.7259 MB / 0.7743 GB, free: 147.6 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/1.219, allocations: 0.7107 MB / 0.7749 GB, free: 147.1 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/1.219, allocations: 63.14 kB / 0.775 GB, free: 147.1 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001411/1.219, allocations: 59.16 kB / 0.7751 GB, free: 147.1 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.392e-05/1.219, allocations: 27.28 kB / 0.7751 GB, free: 147.1 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/1.226, allocations: 5.599 MB / 0.7806 GB, free: 144.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/1.226, allocations: 3.625 kB / 0.7806 GB, free: 144.9 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.227, allocations: 335 kB / 0.7809 GB, free: 144.8 MB / 0.5923 GB Notification: Tearing is skipped for strong component 2 because system size of 419 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 2.25e-05/1.227, allocations: 9.594 kB / 0.7809 GB, free: 144.8 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/1.227, allocations: 96 kB / 0.781 GB, free: 144.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/1.227, allocations: 11 kB / 0.781 GB, free: 144.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.227, allocations: 0 / 0.781 GB, free: 144.8 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.237, allocations: 7.041 MB / 0.7879 GB, free: 141.7 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/1.239, allocations: 0.8278 MB / 0.7887 GB, free: 141.1 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009802/1.24, allocations: 105.7 kB / 0.7888 GB, free: 141 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005895/1.246, allocations: 0.8815 MB / 0.7896 GB, free: 140.9 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009257/1.247, allocations: 0.6384 MB / 0.7903 GB, free: 140.8 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000502/1.248, allocations: 181.9 kB / 0.7904 GB, free: 140.8 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.004418/1.252, allocations: 3.387 MB / 0.7937 GB, free: 139.4 MB / 0.5923 GB Notification: Performance of sort global known variables: time 4.31e-07/1.252, allocations: 0 / 0.7937 GB, free: 139.4 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.004922/1.257, allocations: 2.256 MB / 0.7959 GB, free: 138.5 MB / 0.5923 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 (212): * Single equations (assignments): 211 * 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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009979/1.267, allocations: 7.836 MB / 0.8036 GB, free: 130.6 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.008177/1.275, allocations: 5.697 MB / 0.8092 GB, free: 124.8 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/1.275, allocations: 18 kB / 0.8092 GB, free: 124.8 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003779/1.279, allocations: 2.976 MB / 0.8121 GB, free: 121.8 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006543/1.286, allocations: 1.477 MB / 0.8135 GB, free: 120.3 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08873/1.374, allocations: 85.53 MB / 0.897 GB, free: 27.69 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/1.377, allocations: 3.315 MB / 0.9003 GB, free: 24.33 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.004152/1.381, allocations: 0.6818 MB / 0.901 GB, free: 23.64 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003129/1.384, allocations: 3.237 MB / 0.9041 GB, free: 20.41 MB / 0.5923 GB Notification: Performance of SimCode: time 2.204e-06/1.384, allocations: 0 / 0.9041 GB, free: 20.41 MB / 0.5923 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4895/1.874, allocations: 142.3 MB / 1.043 GB, free: 231.6 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/1.874, allocations: 318.5 kB / 1.043 GB, free: 231.2 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.828/7.702, allocations: 0 / 1.043 GB, free: 231.2 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches