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.001127/0.001127, allocations: 115.6 kB / 16.63 MB, free: 6.332 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.001163/0.001163, allocations: 190 kB / 17.55 MB, free: 5.801 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.202/1.202, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7789/0.7789, allocations: 119.3 MB / 410.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 59.91 kB / 0.4905 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3946, allocations: 80.7 MB / 0.5693 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.002578/0.3972, allocations: 2.44 MB / 0.5717 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005535/0.3978, allocations: 0.5292 MB / 0.5722 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.3979, allocations: 10.62 kB / 0.5723 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.398, allocations: 23.97 kB / 0.5723 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.58e-05/0.3981, allocations: 53.5 kB / 0.5723 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.3982, allocations: 46.8 kB / 0.5724 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007472/0.4057, allocations: 13.36 MB / 0.5854 GB, free: 33.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.4092, allocations: 5.565 MB / 0.5909 GB, free: 27.68 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/0.4133, allocations: 5.287 MB / 0.596 GB, free: 22.38 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.4167, allocations: 5.417 MB / 0.6013 GB, free: 16.94 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.4179, allocations: 0.9258 MB / 0.6022 GB, free: 16.01 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.4193, allocations: 0.9258 MB / 0.6031 GB, free: 15.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.4207, allocations: 2.488 MB / 0.6055 GB, free: 12.59 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004421/0.4251, allocations: 5.429 MB / 0.6108 GB, free: 7.137 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008663/0.4338, allocations: 14.42 MB / 0.6249 GB, free: 8.68 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4338, allocations: 0 / 0.6249 GB, free: 8.68 MB / 478.3 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4338, allocations: 0 / 0.6249 GB, free: 8.68 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0002121/0.434, allocations: 0 / 0.6249 GB, free: 8.68 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.02092/0.4549, allocations: 12.94 MB / 0.6376 GB, free: 11.64 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.455, allocations: 15.89 kB / 0.6376 GB, free: 11.62 MB / 494.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001373/0.4564, allocations: 1.199 MB / 0.6388 GB, free: 10.41 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.4579, allocations: 1.036 MB / 0.6398 GB, free: 9.363 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007548/0.4655, allocations: 5.451 MB / 0.6451 GB, free: 3.828 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/0.4658, allocations: 0.5945 MB / 0.6457 GB, free: 3.23 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.4669, allocations: 0.7699 MB / 0.6464 GB, free: 2.461 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/0.4836, allocations: 13.11 MB / 0.6592 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.4837, allocations: 0 / 0.6592 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008546/0.4846, allocations: 368 kB / 0.6596 GB, free: 4.926 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.4847, allocations: 196 kB / 0.6598 GB, free: 4.734 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/0.5008, allocations: 13.33 MB / 0.6728 GB, free: 7.379 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05434/0.5551, allocations: 38.94 MB / 0.7108 GB, free: 15.69 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.5669, allocations: 11.27 MB / 0.7218 GB, free: 4.406 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/0.5725, allocations: 5.315 MB / 0.727 GB, free: 15.07 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.5727, allocations: 64.94 kB / 0.7271 GB, free: 15 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.5728, allocations: 153.5 kB / 0.7272 GB, free: 14.84 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=630): time 7.083e-06/0.5728, allocations: 0 / 0.7272 GB, free: 14.84 MB / 0.5764 GB Notification: Performance of matching and sorting (n=630): time 0.02002/0.5928, allocations: 15.45 MB / 0.7423 GB, free: 15.3 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.5929, allocations: 116.3 kB / 0.7424 GB, free: 15.17 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009566/0.6025, allocations: 8.779 MB / 0.751 GB, free: 6.379 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0004948/0.603, allocations: 165.6 kB / 0.7511 GB, free: 6.211 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.6053, allocations: 3.691 MB / 0.7548 GB, free: 2.484 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.001447/0.6068, allocations: 2.126 MB / 0.7568 GB, free: 336 kB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3593/0.9661, allocations: 1.399 MB / 0.7582 GB, free: 154.3 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 3.77e-05/0.9662, allocations: 302.6 kB / 0.7585 GB, free: 154 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006823/0.973, allocations: 5.098 MB / 0.7635 GB, free: 154 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006746/0.9798, allocations: 6.19 MB / 0.7695 GB, free: 152.1 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/0.9921, allocations: 10.56 MB / 0.7798 GB, free: 148.5 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/0.9921, allocations: 3.938 kB / 0.7798 GB, free: 148.5 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01777/1.01, allocations: 16.89 MB / 0.7963 GB, free: 138.3 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/1.01, allocations: 16 kB / 0.7963 GB, free: 138.3 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/1.01, allocations: 24 kB / 0.7964 GB, free: 138.2 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 4.726e-05/1.01, allocations: 44 kB / 0.7964 GB, free: 138.2 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/1.013, allocations: 1.115 MB / 0.7975 GB, free: 137.2 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-05/1.013, allocations: 51.86 kB / 0.7975 GB, free: 137.1 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/1.019, allocations: 1.6 MB / 0.7991 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/1.019, allocations: 243.9 kB / 0.7993 GB, free: 135.6 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.00345/1.022, allocations: 3.233 MB / 0.8025 GB, free: 132.4 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.023, allocations: 0.7206 MB / 0.8032 GB, free: 131.7 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/1.025, allocations: 1.123 MB / 0.8043 GB, free: 130.5 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/1.025, allocations: 60 kB / 0.8043 GB, free: 130.5 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001278/1.025, allocations: 60 kB / 0.8044 GB, free: 130.4 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-05/1.025, allocations: 31.88 kB / 0.8044 GB, free: 130.4 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006635/1.032, allocations: 7.98 MB / 0.8122 GB, free: 122.4 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.032, allocations: 4 kB / 0.8122 GB, free: 122.4 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.033, allocations: 475.6 kB / 0.8127 GB, free: 121.9 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.405e-05/1.033, allocations: 8 kB / 0.8127 GB, free: 121.9 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/1.033, allocations: 100 kB / 0.8128 GB, free: 121.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/1.033, allocations: 11.94 kB / 0.8128 GB, free: 121.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.033, allocations: 0 / 0.8128 GB, free: 121.8 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.046, allocations: 12.56 MB / 0.8251 GB, free: 109.1 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/1.048, allocations: 1.206 MB / 0.8262 GB, free: 107.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008787/1.049, allocations: 102.8 kB / 0.8263 GB, free: 107.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00592/1.054, allocations: 1.962 MB / 0.8283 GB, free: 105.8 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009513/1.055, allocations: 0.6403 MB / 0.8289 GB, free: 105.2 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003833/1.056, allocations: 188 kB / 0.8291 GB, free: 105 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.005501/1.061, allocations: 6.031 MB / 0.835 GB, free: 98.97 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.51e-07/1.061, allocations: 0 / 0.835 GB, free: 98.97 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.00377/1.065, allocations: 2.768 MB / 0.8377 GB, free: 96.2 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.01327/1.078, allocations: 13.34 MB / 0.8507 GB, free: 82.72 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.02947/1.108, allocations: 26.84 MB / 0.8769 GB, free: 55.85 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.108, allocations: 14 kB / 0.8769 GB, free: 55.84 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.005337/1.113, allocations: 5.058 MB / 0.8818 GB, free: 50.75 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005793/1.119, allocations: 1.922 MB / 0.8837 GB, free: 48.84 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1783/1.297, allocations: 124.6 MB / 1.005 GB, free: 13.07 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004387/1.302, allocations: 5.963 MB / 1.011 GB, free: 7.059 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.006394/1.308, allocations: 3.163 MB / 1.014 GB, free: 3.887 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003213/1.311, allocations: 2.956 MB / 1.017 GB, free: 0.9297 MB / 0.686 GB Notification: Performance of SimCode: time 9.42e-07/1.311, allocations: 0 / 1.017 GB, free: 0.9297 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3936/1.705, allocations: 194.9 MB / 1.208 GB, free: 76.42 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/1.705, allocations: 301.2 kB / 1.208 GB, free: 76.04 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.086/6.791, allocations: 3.906 kB / 1.208 GB, free: 76.03 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches