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.001183/0.001183, allocations: 110.4 kB / 16.92 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.001214/0.001214, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.341/1.341, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9972/0.9972, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 71.84 kB / 0.4911 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.562, allocations: 80.68 MB / 0.5698 GB, free: 43.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.003326/0.5654, allocations: 2.388 MB / 0.5722 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.5662, allocations: 0.5442 MB / 0.5727 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.5663, allocations: 6.656 kB / 0.5727 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.5664, allocations: 36.27 kB / 0.5728 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.5665, allocations: 65.53 kB / 0.5728 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.5667, allocations: 53.77 kB / 0.5729 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01605/0.5828, allocations: 25.72 MB / 0.598 GB, free: 20.74 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008645/0.5914, allocations: 11.04 MB / 0.6088 GB, free: 9.609 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.6028, allocations: 10.18 MB / 0.6187 GB, free: 15.4 MB / 478.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01676/0.6196, allocations: 10.45 MB / 0.6289 GB, free: 4.91 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.007359/0.6269, allocations: 1.789 MB / 0.6307 GB, free: 3.121 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009776/0.6367, allocations: 1.781 MB / 0.6324 GB, free: 1.34 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.008739/0.6455, allocations: 4.802 MB / 0.6371 GB, free: 12.52 MB / 494.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02304/0.6685, allocations: 10.49 MB / 0.6473 GB, free: 1.984 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0371/0.7057, allocations: 27.89 MB / 0.6746 GB, free: 6.023 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.7057, allocations: 0 / 0.6746 GB, free: 6.023 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7057, allocations: 0 / 0.6746 GB, free: 6.023 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.001373/0.7071, allocations: 0 / 0.6746 GB, free: 6.023 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.07205/0.7792, allocations: 25.13 MB / 0.6991 GB, free: 12.75 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.7793, allocations: 15.89 kB / 0.6991 GB, free: 12.73 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009994/0.7893, allocations: 2.296 MB / 0.7014 GB, free: 10.43 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.7996, allocations: 1.998 MB / 0.7033 GB, free: 8.406 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02868/0.8284, allocations: 10.38 MB / 0.7135 GB, free: 13.95 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00155/0.8299, allocations: 1.149 MB / 0.7146 GB, free: 12.8 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007095/0.8371, allocations: 1.485 MB / 0.716 GB, free: 11.32 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06832/0.9054, allocations: 25.37 MB / 0.7408 GB, free: 1.91 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007976/0.9063, allocations: 0 / 0.7408 GB, free: 1.91 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007403/0.9137, allocations: 0.7031 MB / 0.7415 GB, free: 1.207 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004585/0.9142, allocations: 380 kB / 0.7419 GB, free: 0.8359 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6461/1.56, allocations: 25.83 MB / 0.7671 GB, free: 137.2 MB / 0.5923 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1636/1.724, allocations: 75.91 MB / 0.8412 GB, free: 80.88 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02694/1.751, allocations: 22.23 MB / 0.8629 GB, free: 58.69 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01346/1.764, allocations: 10.32 MB / 0.873 GB, free: 48.35 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/1.765, allocations: 129.5 kB / 0.8731 GB, free: 48.22 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/1.766, allocations: 259.3 kB / 0.8734 GB, free: 47.95 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=1218): time 4.293e-05/1.766, allocations: 0 / 0.8734 GB, free: 47.95 MB / 0.5923 GB Notification: Performance of matching and sorting (n=1218): time 0.04836/1.814, allocations: 30 MB / 0.9027 GB, free: 17.87 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/1.814, allocations: 172.9 kB / 0.9028 GB, free: 17.68 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02337/1.838, allocations: 16.9 MB / 0.9193 GB, free: 0.8516 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.002629/1.84, allocations: 293.7 kB / 0.9196 GB, free: 0.5586 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.006335/1.847, allocations: 7.186 MB / 0.9266 GB, free: 9.301 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.005423/1.852, allocations: 4.114 MB / 0.9306 GB, free: 5.129 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01164/1.864, allocations: 2.717 MB / 0.9333 GB, free: 2.402 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.864, allocations: 305.1 kB / 0.9336 GB, free: 2.102 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01693/1.881, allocations: 9.869 MB / 0.9432 GB, free: 8.223 MB / 0.6235 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02087/1.902, allocations: 12.01 MB / 0.9549 GB, free: 11.61 MB / 0.6392 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04266/1.944, allocations: 20.48 MB / 0.9749 GB, free: 6.445 MB / 0.6548 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.813e-05/1.945, allocations: 12 kB / 0.975 GB, free: 6.434 MB / 0.6548 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.07605/2.021, allocations: 32.8 MB / 1.007 GB, free: 5.504 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/2.021, allocations: 27.98 kB / 1.007 GB, free: 5.477 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/2.021, allocations: 44 kB / 1.007 GB, free: 5.434 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.0001812/2.021, allocations: 80 kB / 1.007 GB, free: 5.355 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/2.032, allocations: 2.216 MB / 1.009 GB, free: 3.137 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003397/2.033, allocations: 110.5 kB / 1.009 GB, free: 3.031 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02466/2.057, allocations: 3.269 MB / 1.013 GB, free: 15.74 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00526/2.063, allocations: 460 kB / 1.013 GB, free: 15.29 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.01876/2.081, allocations: 6.155 MB / 1.019 GB, free: 9.121 MB / 0.7017 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008525/2.09, allocations: 1.402 MB / 1.02 GB, free: 7.703 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007554/2.097, allocations: 2.164 MB / 1.023 GB, free: 5.531 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001355/2.098, allocations: 123.9 kB / 1.023 GB, free: 5.41 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004944/2.098, allocations: 112 kB / 1.023 GB, free: 5.301 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003692/2.098, allocations: 59.77 kB / 1.023 GB, free: 5.242 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3107/2.409, allocations: 15.35 MB / 1.038 GB, free: 231.9 MB / 0.7017 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.237e-05/2.409, allocations: 4.844 kB / 1.038 GB, free: 231.9 MB / 0.7017 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003376/2.413, allocations: 0.9215 MB / 1.039 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.408e-05/2.413, allocations: 14.48 kB / 1.039 GB, free: 231.9 MB / 0.7017 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/2.414, allocations: 196.1 kB / 1.039 GB, free: 231.7 MB / 0.7017 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.788e-05/2.414, allocations: 13.56 kB / 1.039 GB, free: 231.7 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.414, allocations: 6.781 kB / 1.039 GB, free: 231.7 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03469/2.449, allocations: 24.3 MB / 1.063 GB, free: 225.5 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004968/2.454, allocations: 2.254 MB / 1.065 GB, free: 224.9 MB / 0.7017 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002635/2.456, allocations: 192.5 kB / 1.065 GB, free: 224.8 MB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0152/2.471, allocations: 4.036 MB / 1.069 GB, free: 224.3 MB / 0.7017 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002354/2.474, allocations: 1.236 MB / 1.07 GB, free: 224.2 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001601/2.475, allocations: 363.3 kB / 1.071 GB, free: 224.1 MB / 0.7017 GB Notification: Performance of sorting global known variables: time 0.01801/2.493, allocations: 11.59 MB / 1.082 GB, free: 216.4 MB / 0.7017 GB Notification: Performance of sort global known variables: time 4.51e-07/2.493, allocations: 0 / 1.082 GB, free: 216.4 MB / 0.7017 GB Notification: Performance of remove unused functions: time 0.01651/2.51, allocations: 5.356 MB / 1.087 GB, free: 211.1 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.04663/2.557, allocations: 25.32 MB / 1.112 GB, free: 187.7 MB / 0.7017 GB Notification: Performance of simCode: created initialization part: time 0.1083/2.665, allocations: 80.61 MB / 1.191 GB, free: 107.1 MB / 0.7017 GB Notification: Performance of simCode: created event and clocks part: time 3.463e-05/2.665, allocations: 31.19 kB / 1.191 GB, free: 107.1 MB / 0.7017 GB Notification: Performance of simCode: created simulation system equations: time 0.01859/2.684, allocations: 9.706 MB / 1.2 GB, free: 97.36 MB / 0.7017 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.029/2.713, allocations: 3.748 MB / 1.204 GB, free: 93.62 MB / 0.7017 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5983/3.311, allocations: 295.8 MB / 1.493 GB, free: 49.22 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01525/3.326, allocations: 10.91 MB / 1.503 GB, free: 38.43 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.01885/3.345, allocations: 6.426 MB / 1.509 GB, free: 32.09 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01206/3.357, allocations: 6.006 MB / 1.515 GB, free: 26.08 MB / 0.7017 GB Notification: Performance of SimCode: time 2.054e-06/3.357, allocations: 0 / 1.515 GB, free: 26.08 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9772/4.334, allocations: 353.5 MB / 1.861 GB, free: 196.1 MB / 0.7173 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.92/22.25, allocations: 13.2 kB / 1.861 GB, free: 196.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches