Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.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_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",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.001129/0.001129, allocations: 113.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.001167/0.001167, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8558/0.8558, allocations: 119.3 MB / 410.7 MB, free: 9.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.91 kB / 0.4905 GB, free: 13.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3969, allocations: 80.69 MB / 0.5693 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.002606/0.3995, allocations: 2.44 MB / 0.5717 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000579/0.4001, allocations: 0.5312 MB / 0.5722 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.859e-05/0.4002, allocations: 3.812 kB / 0.5722 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.4003, allocations: 35.64 kB / 0.5723 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.4004, allocations: 49.45 kB / 0.5723 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.4006, allocations: 46.89 kB / 0.5724 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01383/0.4144, allocations: 25.77 MB / 0.5975 GB, free: 20.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007647/0.4221, allocations: 11.04 MB / 0.6083 GB, free: 9.699 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008768/0.4309, allocations: 10.22 MB / 0.6183 GB, free: 15.45 MB / 478.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01405/0.4449, allocations: 10.45 MB / 0.6285 GB, free: 4.961 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.005447/0.4504, allocations: 1.785 MB / 0.6303 GB, free: 3.176 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007344/0.4578, allocations: 1.785 MB / 0.632 GB, free: 1.391 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.005629/0.4634, allocations: 4.805 MB / 0.6367 GB, free: 12.57 MB / 494.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01469/0.4781, allocations: 10.49 MB / 0.6469 GB, free: 2.035 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02473/0.5029, allocations: 27.88 MB / 0.6742 GB, free: 6.082 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5029, allocations: 0 / 0.6742 GB, free: 6.082 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5029, allocations: 4 kB / 0.6742 GB, free: 6.078 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0008906/0.5038, allocations: 0 / 0.6742 GB, free: 6.078 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: 4055 * Number of variables: 4055 Notification: Performance of Generate backend data structure: time 0.05656/0.5604, allocations: 25.14 MB / 0.6987 GB, free: 12.8 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5604, allocations: 19.83 kB / 0.6987 GB, free: 12.78 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006319/0.5668, allocations: 2.3 MB / 0.701 GB, free: 10.46 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005117/0.5719, allocations: 1.99 MB / 0.7029 GB, free: 8.453 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01882/0.5907, allocations: 10.37 MB / 0.713 GB, free: 14 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008592/0.5916, allocations: 1.145 MB / 0.7142 GB, free: 12.86 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00354/0.5952, allocations: 1.493 MB / 0.7156 GB, free: 11.37 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0447/0.6399, allocations: 25.37 MB / 0.7404 GB, free: 1.961 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004673/0.6404, allocations: 4 kB / 0.7404 GB, free: 1.957 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003773/0.6442, allocations: 0.6914 MB / 0.7411 GB, free: 1.266 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002929/0.6445, allocations: 380 kB / 0.7414 GB, free: 0.8945 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4307/1.075, allocations: 25.83 MB / 0.7667 GB, free: 137.2 MB / 0.5923 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1228/1.198, allocations: 75.9 MB / 0.8408 GB, free: 81.08 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02076/1.219, allocations: 22.24 MB / 0.8625 GB, free: 58.89 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00956/1.228, allocations: 10.32 MB / 0.8726 GB, free: 48.54 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003468/1.229, allocations: 125.5 kB / 0.8727 GB, free: 48.42 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/1.229, allocations: 266.6 kB / 0.873 GB, free: 48.15 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=1218): time 1.318e-05/1.229, allocations: 0 / 0.873 GB, free: 48.15 MB / 0.5923 GB Notification: Performance of matching and sorting (n=1218): time 0.03481/1.264, allocations: 30 MB / 0.9022 GB, free: 18.06 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/1.264, allocations: 176.9 kB / 0.9024 GB, free: 17.88 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01867/1.283, allocations: 16.89 MB / 0.9189 GB, free: 1.047 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.002033/1.285, allocations: 293.7 kB / 0.9192 GB, free: 0.7539 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.005012/1.29, allocations: 7.182 MB / 0.9262 GB, free: 9.508 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.004354/1.294, allocations: 4.113 MB / 0.9302 GB, free: 5.336 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004667/1.299, allocations: 2.717 MB / 0.9329 GB, free: 2.609 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/1.299, allocations: 305.1 kB / 0.9332 GB, free: 2.309 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01252/1.311, allocations: 9.869 MB / 0.9428 GB, free: 8.43 MB / 0.6235 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/1.326, allocations: 12 MB / 0.9545 GB, free: 11.82 MB / 0.6392 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0354/1.361, allocations: 20.48 MB / 0.9745 GB, free: 6.652 MB / 0.6548 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.636e-05/1.361, allocations: 16 kB / 0.9745 GB, free: 6.637 MB / 0.6548 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.057/1.418, allocations: 32.8 MB / 1.007 GB, free: 5.707 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/1.418, allocations: 24 kB / 1.007 GB, free: 5.684 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.013e-05/1.418, allocations: 44 kB / 1.007 GB, free: 5.641 MB / 0.686 GB Notification: Tearing is skipped for strong component 1 because system size of 811 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.0001063/1.419, allocations: 80 kB / 1.007 GB, free: 5.562 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008513/1.427, allocations: 2.211 MB / 1.009 GB, free: 3.348 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000146/1.427, allocations: 114.1 kB / 1.009 GB, free: 3.238 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01681/1.444, allocations: 3.266 MB / 1.012 GB, free: 15.95 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002663/1.447, allocations: 468 kB / 1.013 GB, free: 15.49 MB / 0.7017 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * 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 (1011): * Single equations (assignments): 1010 * 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 {(811,0.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01139/1.458, allocations: 6.151 MB / 1.019 GB, free: 9.324 MB / 0.7017 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003477/1.462, allocations: 1.406 MB / 1.02 GB, free: 7.902 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/1.465, allocations: 2.164 MB / 1.022 GB, free: 5.73 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.242e-05/1.466, allocations: 119.9 kB / 1.022 GB, free: 5.613 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003439/1.466, allocations: 116 kB / 1.022 GB, free: 5.5 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.673e-05/1.466, allocations: 59.77 kB / 1.022 GB, free: 5.441 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2562/1.722, allocations: 15.35 MB / 1.037 GB, free: 231.9 MB / 0.7017 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.337e-05/1.722, allocations: 6.531 kB / 1.037 GB, free: 231.9 MB / 0.7017 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003072/1.725, allocations: 0.9264 MB / 1.038 GB, free: 231.9 MB / 0.7017 GB Notification: Tearing is skipped for strong component 2 because system size of 811 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.418e-05/1.725, allocations: 13.31 kB / 1.038 GB, free: 231.9 MB / 0.7017 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001208/1.727, allocations: 189.7 kB / 1.038 GB, free: 231.7 MB / 0.7017 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-05/1.727, allocations: 15.34 kB / 1.039 GB, free: 231.7 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.727, allocations: 7.469 kB / 1.039 GB, free: 231.7 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03447/1.761, allocations: 24.31 MB / 1.062 GB, free: 225.5 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005449/1.767, allocations: 2.251 MB / 1.064 GB, free: 224.9 MB / 0.7017 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004112/1.771, allocations: 190.2 kB / 1.065 GB, free: 224.8 MB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01564/1.786, allocations: 4.031 MB / 1.069 GB, free: 224.4 MB / 0.7017 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002877/1.789, allocations: 1.241 MB / 1.07 GB, free: 224.3 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001683/1.791, allocations: 355.2 kB / 1.07 GB, free: 224.2 MB / 0.7017 GB Notification: Performance of sorting global known variables: time 0.01611/1.807, allocations: 11.59 MB / 1.081 GB, free: 216.7 MB / 0.7017 GB Notification: Performance of sort global known variables: time 7.21e-07/1.807, allocations: 0 / 1.081 GB, free: 216.7 MB / 0.7017 GB Notification: Performance of remove unused functions: time 0.01534/1.823, allocations: 5.356 MB / 1.087 GB, free: 211.4 MB / 0.7017 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 (408): * Single equations (assignments): 407 * 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 {(811,0.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03612/1.859, allocations: 25.32 MB / 1.111 GB, free: 188.1 MB / 0.7017 GB Notification: Performance of simCode: created initialization part: time 0.09792/1.957, allocations: 80.61 MB / 1.19 GB, free: 107.5 MB / 0.7017 GB Notification: Performance of simCode: created event and clocks part: time 2.131e-05/1.957, allocations: 35.25 kB / 1.19 GB, free: 107.4 MB / 0.7017 GB Notification: Performance of simCode: created simulation system equations: time 0.01259/1.969, allocations: 9.704 MB / 1.2 GB, free: 97.71 MB / 0.7017 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01844/1.988, allocations: 3.747 MB / 1.203 GB, free: 93.97 MB / 0.7017 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7685/2.756, allocations: 301.4 MB / 1.498 GB, free: 44.53 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007311/2.764, allocations: 10.91 MB / 1.508 GB, free: 33.75 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.01298/2.777, allocations: 6.431 MB / 1.515 GB, free: 27.39 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007896/2.785, allocations: 6.008 MB / 1.52 GB, free: 21.38 MB / 0.7017 GB Notification: Performance of SimCode: time 9.51e-07/2.785, allocations: 0 / 1.52 GB, free: 21.38 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.855/3.64, allocations: 365.8 MB / 1.878 GB, free: 210.9 MB / 0.7173 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/3.64, allocations: 304.3 kB / 1.878 GB, free: 210.5 MB / 0.7173 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.615/13.25, allocations: 0 / 1.878 GB, free: 210.5 MB / 0.7173 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches