Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_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.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_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.001343/0.001343, allocations: 104 kB / 16.92 MB, free: 5.793 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.001366/0.001366, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.45/1.45, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.279/1.279, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.4911 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7105, allocations: 80.68 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.003661/0.7142, allocations: 2.385 MB / 0.5722 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.7151, allocations: 0.5465 MB / 0.5727 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.7153, allocations: 3.844 kB / 0.5727 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.7154, allocations: 31.59 kB / 0.5727 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.7155, allocations: 70.2 kB / 0.5728 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.7157, allocations: 53.7 kB / 0.5729 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0116/0.7273, allocations: 13.34 MB / 0.5859 GB, free: 33.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005303/0.7327, allocations: 5.563 MB / 0.5913 GB, free: 27.51 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007809/0.7405, allocations: 5.271 MB / 0.5965 GB, free: 22.23 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009096/0.7496, allocations: 5.413 MB / 0.6018 GB, free: 16.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.003411/0.7531, allocations: 0.9258 MB / 0.6027 GB, free: 15.87 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005435/0.7585, allocations: 0.9258 MB / 0.6036 GB, free: 14.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003025/0.7616, allocations: 2.481 MB / 0.606 GB, free: 12.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0129/0.7745, allocations: 5.437 MB / 0.6113 GB, free: 6.992 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02121/0.7957, allocations: 14.41 MB / 0.6254 GB, free: 8.543 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.7958, allocations: 4 kB / 0.6254 GB, free: 8.539 MB / 478.3 MB Notification: Performance of FrontEnd: time 3.357e-06/0.7958, allocations: 3.938 kB / 0.6254 GB, free: 8.535 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0006715/0.7965, allocations: 3.938 kB / 0.6254 GB, free: 8.531 MB / 478.3 MB 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.03523/0.8317, allocations: 12.94 MB / 0.638 GB, free: 11.49 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.8318, allocations: 11.89 kB / 0.638 GB, free: 11.48 MB / 494.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004555/0.8364, allocations: 1.203 MB / 0.6392 GB, free: 10.26 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/0.8407, allocations: 1.036 MB / 0.6402 GB, free: 9.215 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/0.856, allocations: 5.443 MB / 0.6455 GB, free: 3.688 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007697/0.8568, allocations: 0.5945 MB / 0.6461 GB, free: 3.09 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00357/0.8604, allocations: 0.766 MB / 0.6469 GB, free: 2.324 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03466/0.8951, allocations: 13.12 MB / 0.6597 GB, free: 5.141 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004134/0.8956, allocations: 4 kB / 0.6597 GB, free: 5.137 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003736/0.8994, allocations: 368 kB / 0.66 GB, free: 4.777 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/0.8996, allocations: 200 kB / 0.6602 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02945/0.9291, allocations: 13.32 MB / 0.6732 GB, free: 7.238 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/1.031, allocations: 38.96 MB / 0.7113 GB, free: 15.54 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01828/1.049, allocations: 11.28 MB / 0.7223 GB, free: 4.25 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008978/1.058, allocations: 5.309 MB / 0.7275 GB, free: 14.92 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/1.059, allocations: 60.94 kB / 0.7275 GB, free: 14.86 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/1.059, allocations: 157.5 kB / 0.7277 GB, free: 14.69 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=630): time 1.77e-05/1.059, allocations: 0 / 0.7277 GB, free: 14.69 MB / 0.5764 GB Notification: Performance of matching and sorting (n=630): time 0.03314/1.092, allocations: 15.45 MB / 0.7428 GB, free: 15.14 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.092, allocations: 116.3 kB / 0.7429 GB, free: 15.01 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02194/1.114, allocations: 8.783 MB / 0.7515 GB, free: 6.215 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001849/1.116, allocations: 161.7 kB / 0.7516 GB, free: 6.051 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.004575/1.121, allocations: 3.691 MB / 0.7552 GB, free: 2.324 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.003473/1.124, allocations: 2.126 MB / 0.7573 GB, free: 172 kB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.6562/1.78, allocations: 1.403 MB / 0.7587 GB, free: 154.4 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.96e-05/1.781, allocations: 302.5 kB / 0.7589 GB, free: 154.1 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009509/1.79, allocations: 5.09 MB / 0.7639 GB, free: 154.1 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.8, allocations: 6.193 MB / 0.77 GB, free: 152.1 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02129/1.822, allocations: 10.56 MB / 0.7803 GB, free: 148.4 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.595e-05/1.822, allocations: 7.875 kB / 0.7803 GB, free: 148.4 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.029/1.851, allocations: 16.88 MB / 0.7968 GB, free: 138 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/1.851, allocations: 16 kB / 0.7968 GB, free: 138 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.507e-05/1.851, allocations: 24 kB / 0.7968 GB, free: 138 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 6.854e-05/1.851, allocations: 40 kB / 0.7969 GB, free: 137.9 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/1.855, allocations: 1.124 MB / 0.7979 GB, free: 136.9 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-05/1.855, allocations: 55.86 kB / 0.798 GB, free: 136.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009241/1.865, allocations: 1.597 MB / 0.7996 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.866, allocations: 243.9 kB / 0.7998 GB, free: 135.4 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.006542/1.873, allocations: 3.233 MB / 0.803 GB, free: 132.1 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003008/1.876, allocations: 0.7224 MB / 0.8037 GB, free: 131.4 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/1.878, allocations: 1.122 MB / 0.8048 GB, free: 130.3 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.35e-05/1.879, allocations: 60 kB / 0.8048 GB, free: 130.2 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002473/1.879, allocations: 60 kB / 0.8049 GB, free: 130.1 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-05/1.879, allocations: 31.88 kB / 0.8049 GB, free: 130.1 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/1.894, allocations: 7.982 MB / 0.8127 GB, free: 122.1 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.169e-05/1.895, allocations: 0 / 0.8127 GB, free: 122.1 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.896, allocations: 471.3 kB / 0.8131 GB, free: 121.6 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 3.934e-05/1.896, allocations: 8 kB / 0.8131 GB, free: 121.6 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/1.898, allocations: 104 kB / 0.8132 GB, free: 121.5 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.383e-05/1.898, allocations: 11.94 kB / 0.8133 GB, free: 121.5 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.898, allocations: 0 / 0.8133 GB, free: 121.5 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02294/1.921, allocations: 12.56 MB / 0.8255 GB, free: 108.8 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003453/1.924, allocations: 1.206 MB / 0.8267 GB, free: 107.6 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002808/1.927, allocations: 100 kB / 0.8268 GB, free: 107.5 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009498/1.936, allocations: 1.966 MB / 0.8287 GB, free: 105.5 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001978/1.938, allocations: 0.6403 MB / 0.8293 GB, free: 104.9 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001408/1.94, allocations: 188.3 kB / 0.8295 GB, free: 104.7 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.01025/1.95, allocations: 6.027 MB / 0.8354 GB, free: 98.69 MB / 0.5923 GB Notification: Performance of sort global known variables: time 7.42e-07/1.95, allocations: 4 kB / 0.8354 GB, free: 98.68 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.009767/1.96, allocations: 2.768 MB / 0.8381 GB, free: 95.91 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.02356/1.984, allocations: 13.34 MB / 0.8511 GB, free: 82.43 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.03755/2.021, allocations: 26.83 MB / 0.8773 GB, free: 55.56 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.349e-05/2.021, allocations: 14.5 kB / 0.8774 GB, free: 55.55 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.009375/2.031, allocations: 5.053 MB / 0.8823 GB, free: 50.46 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01298/2.044, allocations: 1.916 MB / 0.8842 GB, free: 48.56 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.184/2.228, allocations: 121.7 MB / 1.003 GB, free: 15.73 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006739/2.234, allocations: 5.955 MB / 1.009 GB, free: 9.723 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.009731/2.244, allocations: 3.167 MB / 1.012 GB, free: 6.547 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006056/2.25, allocations: 2.956 MB / 1.015 GB, free: 3.59 MB / 0.686 GB Notification: Performance of SimCode: time 1.433e-06/2.25, allocations: 0 / 1.015 GB, free: 3.59 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5656/2.816, allocations: 188.7 MB / 1.199 GB, free: 84.75 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/16.66, allocations: 9.469 kB / 1.199 GB, free: 84.74 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches