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.00126/0.00126, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001181/0.001181, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.23/1.23, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8246/0.8246, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.89 kB / 0.4911 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4444, allocations: 80.69 MB / 0.5699 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.02788/0.4724, allocations: 46.02 MB / 0.6148 GB, free: 3.449 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.4913, allocations: 9.563 MB / 0.6241 GB, free: 9.848 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008517/0.4999, allocations: 199.3 kB / 0.6243 GB, free: 9.652 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005621/0.5056, allocations: 1.663 MB / 0.6259 GB, free: 7.973 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.517, allocations: 2.884 MB / 0.6288 GB, free: 5.062 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.006629/0.5237, allocations: 2.461 MB / 0.6312 GB, free: 2.598 MB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.01599/0.5397, allocations: 11.98 MB / 0.6429 GB, free: 6.551 MB / 494.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00464/0.5443, allocations: 3.173 MB / 0.646 GB, free: 3.289 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006457/0.5508, allocations: 4.146 MB / 0.65 GB, free: 15.13 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007268/0.5581, allocations: 4.663 MB / 0.6546 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.002338/0.5604, allocations: 0.9219 MB / 0.6555 GB, free: 9.523 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.563, allocations: 0.9258 MB / 0.6564 GB, free: 8.598 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.5645, allocations: 2.11 MB / 0.6584 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.005607/0.5701, allocations: 5.058 MB / 0.6634 GB, free: 1.398 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.5806, allocations: 10.95 MB / 0.6741 GB, free: 6.41 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.5806, allocations: 4 kB / 0.6741 GB, free: 6.406 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5806, allocations: 3.938 kB / 0.6741 GB, free: 6.402 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0002796/0.5809, allocations: 0 / 0.6741 GB, free: 6.402 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.01631/0.5972, allocations: 9.657 MB / 0.6835 GB, free: 12.65 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5973, allocations: 12.03 kB / 0.6835 GB, free: 12.64 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001058/0.5983, allocations: 1.082 MB / 0.6846 GB, free: 11.55 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.5997, allocations: 1.032 MB / 0.6856 GB, free: 10.5 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/0.6043, allocations: 3.373 MB / 0.6889 GB, free: 7.047 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/0.6047, allocations: 0.5945 MB / 0.6895 GB, free: 6.449 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007472/0.6055, allocations: 0.7699 MB / 0.6902 GB, free: 5.68 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009737/0.6152, allocations: 6.476 MB / 0.6965 GB, free: 15.15 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.984e-05/0.6153, allocations: 0 / 0.6965 GB, free: 15.15 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005973/0.6159, allocations: 368 kB / 0.6969 GB, free: 14.79 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.616, allocations: 196 kB / 0.6971 GB, free: 14.6 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008725/0.6248, allocations: 5.53 MB / 0.7025 GB, free: 9.051 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04364/0.6684, allocations: 23.97 MB / 0.7259 GB, free: 352 kB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008292/0.6768, allocations: 6.725 MB / 0.7324 GB, free: 9.617 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003625/0.6804, allocations: 2.726 MB / 0.7351 GB, free: 6.871 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.6807, allocations: 64.94 kB / 0.7352 GB, free: 6.805 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.6808, allocations: 153.5 kB / 0.7353 GB, free: 6.645 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=630): time 1.221e-05/0.6808, allocations: 3.984 kB / 0.7353 GB, free: 6.641 MB / 0.5764 GB Notification: Performance of matching and sorting (n=630): time 0.01454/0.6954, allocations: 8.144 MB / 0.7433 GB, free: 14.41 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.6955, allocations: 116.3 kB / 0.7434 GB, free: 14.28 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009104/0.7046, allocations: 5.13 MB / 0.7484 GB, free: 9.137 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0006587/0.7053, allocations: 165.7 kB / 0.7486 GB, free: 8.969 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.002472/0.7078, allocations: 3.625 MB / 0.7521 GB, free: 5.309 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/0.7095, allocations: 2.087 MB / 0.7541 GB, free: 3.191 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002418/0.7119, allocations: 1.121 MB / 0.7552 GB, free: 2.062 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.712, allocations: 301.1 kB / 0.7555 GB, free: 1.766 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4133/1.125, allocations: 1.898 MB / 0.7574 GB, free: 156 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004755/1.13, allocations: 2.935 MB / 0.7602 GB, free: 155.1 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008324/1.138, allocations: 4.931 MB / 0.765 GB, free: 152.9 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.974e-05/1.139, allocations: 6.5 kB / 0.7651 GB, free: 152.9 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01385/1.152, allocations: 8.643 MB / 0.7735 GB, free: 149.7 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/1.152, allocations: 13.72 kB / 0.7735 GB, free: 149.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.839e-05/1.153, allocations: 26.28 kB / 0.7735 GB, free: 149.7 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 9.075e-05/1.153, allocations: 42.94 kB / 0.7736 GB, free: 149.7 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/1.156, allocations: 0.8175 MB / 0.7744 GB, free: 149.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.666e-05/1.156, allocations: 56.38 kB / 0.7744 GB, free: 149.6 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004928/1.161, allocations: 0.7022 MB / 0.7751 GB, free: 149.4 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/1.161, allocations: 242.8 kB / 0.7753 GB, free: 149.3 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.002037/1.163, allocations: 0.969 MB / 0.7763 GB, free: 148.7 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008887/1.164, allocations: 0.7277 MB / 0.777 GB, free: 148.4 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007748/1.165, allocations: 0.7057 MB / 0.7777 GB, free: 147.9 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.961e-05/1.165, allocations: 60.34 kB / 0.7777 GB, free: 147.9 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001601/1.165, allocations: 60.88 kB / 0.7778 GB, free: 147.9 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/1.165, allocations: 28.92 kB / 0.7778 GB, free: 147.9 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005407/1.171, allocations: 5.602 MB / 0.7833 GB, free: 145.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.171, allocations: 0 / 0.7833 GB, free: 145.7 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/1.172, allocations: 326.2 kB / 0.7836 GB, free: 145.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 1.618e-05/1.172, allocations: 15.81 kB / 0.7836 GB, free: 145.6 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/1.172, allocations: 103.3 kB / 0.7837 GB, free: 145.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.172, allocations: 3.938 kB / 0.7837 GB, free: 145.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.172, allocations: 3.938 kB / 0.7837 GB, free: 145.6 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008513/1.181, allocations: 7.022 MB / 0.7906 GB, free: 142.5 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.182, allocations: 0.8335 MB / 0.7914 GB, free: 141.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000681/1.182, allocations: 100.2 kB / 0.7915 GB, free: 141.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004986/1.187, allocations: 0.7623 MB / 0.7922 GB, free: 141.7 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000612/1.188, allocations: 0.6404 MB / 0.7929 GB, free: 141.4 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/1.188, allocations: 189.4 kB / 0.7931 GB, free: 141.3 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.003321/1.191, allocations: 3.382 MB / 0.7964 GB, free: 139.4 MB / 0.5923 GB Notification: Performance of sort global known variables: time 1.5e-07/1.191, allocations: 0 / 0.7964 GB, free: 139.4 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.003134/1.195, allocations: 2.264 MB / 0.7986 GB, free: 137.1 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.00874/1.203, allocations: 7.819 MB / 0.8062 GB, free: 129.2 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01504/1.218, allocations: 5.782 MB / 0.8118 GB, free: 123.3 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.218, allocations: 15.03 kB / 0.8119 GB, free: 123.3 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003548/1.222, allocations: 2.969 MB / 0.8148 GB, free: 120.3 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006778/1.229, allocations: 1.536 MB / 0.8163 GB, free: 118.8 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07883/1.308, allocations: 82.22 MB / 0.8966 GB, free: 29.49 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/1.31, allocations: 3.311 MB / 0.8998 GB, free: 26.14 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.00308/1.314, allocations: 0.6779 MB / 0.9005 GB, free: 25.45 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002431/1.316, allocations: 3.241 MB / 0.9036 GB, free: 22.21 MB / 0.5923 GB Notification: Performance of SimCode: time 7.21e-07/1.316, allocations: 0 / 0.9036 GB, free: 22.21 MB / 0.5923 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4464/1.762, allocations: 144.5 MB / 1.045 GB, free: 204.9 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/15.52, allocations: 6.25 kB / 1.045 GB, free: 204.9 MB / 0.6704 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches