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.001147/0.001147, allocations: 105.3 kB / 16.62 MB, free: 6.812 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.00118/0.00118, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.238/1.238, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8021/0.8021, allocations: 119.3 MB / 410.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001115, allocations: 63.91 kB / 0.4906 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4141, allocations: 80.68 MB / 0.5693 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20): time 0.002694/0.4168, allocations: 2.443 MB / 0.5717 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005882/0.4174, allocations: 0.5318 MB / 0.5722 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.792e-05/0.4175, allocations: 7.562 kB / 0.5723 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.4177, allocations: 31.39 kB / 0.5723 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.933e-05/0.4178, allocations: 54.66 kB / 0.5723 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.4179, allocations: 45.95 kB / 0.5724 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02747/0.4454, allocations: 51.96 MB / 0.6231 GB, free: 10.57 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02678/0.4722, allocations: 22.73 MB / 0.6453 GB, free: 3.715 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02395/0.4962, allocations: 20.64 MB / 0.6655 GB, free: 15 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02836/0.5246, allocations: 21.11 MB / 0.6861 GB, free: 9.809 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.01145/0.536, allocations: 3.602 MB / 0.6896 GB, free: 6.207 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/0.5533, allocations: 3.602 MB / 0.6931 GB, free: 2.605 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.01771/0.571, allocations: 9.693 MB / 0.7026 GB, free: 8.883 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.04017/0.6112, allocations: 21.17 MB / 0.7233 GB, free: 3.621 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.4792/1.09, allocations: 56.35 MB / 0.7783 GB, free: 100.7 MB / 0.5923 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.091, allocations: 0 / 0.7783 GB, free: 100.7 MB / 0.5923 GB Notification: Performance of FrontEnd: time 1.984e-06/1.091, allocations: 0 / 0.7783 GB, free: 100.7 MB / 0.5923 GB Notification: Performance of Transformations before backend: time 0.002175/1.093, allocations: 0 / 0.7783 GB, free: 100.7 MB / 0.5923 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.1113/1.204, allocations: 51.1 MB / 0.8282 GB, free: 70.67 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.204, allocations: 19.89 kB / 0.8282 GB, free: 70.65 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01501/1.219, allocations: 4.631 MB / 0.8327 GB, free: 66.01 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/1.235, allocations: 4.007 MB / 0.8366 GB, free: 61.96 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04126/1.276, allocations: 20.85 MB / 0.857 GB, free: 42.11 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002006/1.279, allocations: 2.313 MB / 0.8593 GB, free: 39.79 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01364/1.292, allocations: 3.003 MB / 0.8622 GB, free: 36.79 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1108/1.403, allocations: 51.31 MB / 0.9123 GB, free: 1.43 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001172/1.404, allocations: 0.875 kB / 0.9123 GB, free: 1.43 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01307/1.417, allocations: 1.402 MB / 0.9137 GB, free: 28 kB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006162/1.418, allocations: 0.754 MB / 0.9144 GB, free: 15.27 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09681/1.515, allocations: 52.3 MB / 0.9655 GB, free: 10.94 MB / 0.6704 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5562/2.071, allocations: 154.4 MB / 1.116 GB, free: 156.3 MB / 0.7173 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04858/2.12, allocations: 46.08 MB / 1.161 GB, free: 123.5 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02134/2.141, allocations: 20.98 MB / 1.182 GB, free: 102.5 MB / 0.7173 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007219/2.142, allocations: 251.2 kB / 1.182 GB, free: 102.3 MB / 0.7173 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/2.142, allocations: 0.4885 MB / 1.182 GB, free: 101.8 MB / 0.7173 GB Notification: Performance of pre-optimization done (n=2460): time 2.543e-05/2.142, allocations: 0 / 1.182 GB, free: 101.8 MB / 0.7173 GB Notification: Performance of matching and sorting (n=2460): time 0.08475/2.227, allocations: 60.8 MB / 1.242 GB, free: 42.35 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/2.227, allocations: 298.6 kB / 1.242 GB, free: 42.05 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04528/2.272, allocations: 34.06 MB / 1.275 GB, free: 8.258 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 0.004934/2.277, allocations: 0.5524 MB / 1.276 GB, free: 7.699 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.01113/2.288, allocations: 14.73 MB / 1.29 GB, free: 9.027 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.009611/2.298, allocations: 8.311 MB / 1.298 GB, free: 0.5977 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2893/2.587, allocations: 5.485 MB / 1.304 GB, free: 222.8 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 4.391e-05/2.587, allocations: 303.9 kB / 1.304 GB, free: 222.5 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03036/2.618, allocations: 19.99 MB / 1.324 GB, free: 222.5 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03254/2.65, allocations: 24.3 MB / 1.347 GB, free: 215.2 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.104/2.754, allocations: 41.48 MB / 1.388 GB, free: 183.6 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001574/2.755, allocations: 33.98 kB / 1.388 GB, free: 183.6 MB / 0.7329 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1003/2.855, allocations: 66.49 MB / 1.453 GB, free: 122.9 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-05/2.855, allocations: 40 kB / 1.453 GB, free: 122.8 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/2.855, allocations: 88 kB / 1.453 GB, free: 122.7 MB / 0.7329 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.0001403/2.855, allocations: 168 kB / 1.453 GB, free: 122.6 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01648/2.872, allocations: 4.559 MB / 1.458 GB, free: 118 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002297/2.872, allocations: 224.2 kB / 1.458 GB, free: 117.8 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03439/2.906, allocations: 6.881 MB / 1.464 GB, free: 111.1 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005962/2.912, allocations: 0.9062 MB / 1.465 GB, free: 110.2 MB / 0.7329 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.02508/2.938, allocations: 12.37 MB / 1.477 GB, free: 97.77 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01257/2.95, allocations: 2.816 MB / 1.48 GB, free: 94.92 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/2.961, allocations: 4.371 MB / 1.484 GB, free: 90.54 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001402/2.961, allocations: 235.9 kB / 1.485 GB, free: 90.3 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006299/2.961, allocations: 232 kB / 1.485 GB, free: 90.08 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004402/2.962, allocations: 115.5 kB / 1.485 GB, free: 89.96 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05486/3.017, allocations: 30.95 MB / 1.515 GB, free: 59 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001004/3.017, allocations: 0 / 1.515 GB, free: 59 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006427/3.023, allocations: 1.903 MB / 1.517 GB, free: 57.09 MB / 0.7329 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.743e-05/3.023, allocations: 28 kB / 1.517 GB, free: 57.07 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003483/3.027, allocations: 384 kB / 1.517 GB, free: 56.69 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.181e-05/3.027, allocations: 31.94 kB / 1.518 GB, free: 56.66 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/3.027, allocations: 0 / 1.518 GB, free: 56.66 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06986/3.097, allocations: 49.2 MB / 1.566 GB, free: 7.336 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01201/3.109, allocations: 4.479 MB / 1.57 GB, free: 2.801 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01119/3.12, allocations: 388 kB / 1.57 GB, free: 2.422 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3284/3.448, allocations: 8.491 MB / 1.579 GB, free: 226.6 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009067/3.457, allocations: 2.502 MB / 1.581 GB, free: 226.6 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006301/3.464, allocations: 0.7002 MB / 1.582 GB, free: 226.6 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.03856/3.502, allocations: 23.45 MB / 1.605 GB, free: 223.1 MB / 0.7485 GB Notification: Performance of sort global known variables: time 4.31e-07/3.502, allocations: 0 / 1.605 GB, free: 223.1 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.03674/3.539, allocations: 10.82 MB / 1.615 GB, free: 222 MB / 0.7485 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.08766/3.627, allocations: 50.73 MB / 1.665 GB, free: 196.5 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.6048/4.232, allocations: 287.7 MB / 1.946 GB, free: 211.9 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 5.976e-05/4.232, allocations: 58.42 kB / 1.946 GB, free: 211.9 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.03/4.262, allocations: 19.57 MB / 1.965 GB, free: 195.6 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04051/4.302, allocations: 7.617 MB / 1.972 GB, free: 189.4 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.596/6.899, allocations: 0.8473 GB / 2.82 GB, free: 308.1 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01873/6.918, allocations: 21.39 MB / 2.84 GB, free: 306.6 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.0344/6.952, allocations: 13.58 MB / 2.854 GB, free: 305.2 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01818/6.97, allocations: 12.88 MB / 2.866 GB, free: 295.8 MB / 0.8423 GB Notification: Performance of SimCode: time 8.21e-07/6.97, allocations: 0 / 2.866 GB, free: 295.8 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/8.245, allocations: 0.7088 GB / 3.575 GB, free: 133.1 MB / 0.8423 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/8.245, allocations: 316.9 kB / 3.575 GB, free: 132.7 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.49/26.74, allocations: 3.281 kB / 3.575 GB, free: 132.7 MB / 0.8423 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