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.0009163/0.0009164, allocations: 91.16 kB / 16.65 MB, free: 6.59 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.001099/0.001099, allocations: 185 kB / 17.57 MB, free: 6.199 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.298/1.298, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8411/0.8411, allocations: 120.5 MB / 413.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002883, allocations: 12 kB / 0.495 GB, free: 11.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4461, allocations: 82.83 MB / 0.5759 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.001926/0.4481, allocations: 2.085 MB / 0.5779 GB, free: 39.7 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006558/0.4488, allocations: 0.5199 MB / 0.5784 GB, free: 39.27 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.4489, allocations: 3.25 kB / 0.5784 GB, free: 39.27 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.449, allocations: 32.86 kB / 0.5785 GB, free: 39.24 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.4491, allocations: 59.16 kB / 0.5785 GB, free: 39.19 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.4492, allocations: 54.88 kB / 0.5786 GB, free: 39.14 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01399/0.4632, allocations: 24.79 MB / 0.6028 GB, free: 18.62 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008381/0.4716, allocations: 9.369 MB / 0.6119 GB, free: 9.152 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007837/0.4795, allocations: 7.157 MB / 0.6189 GB, free: 1.969 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01481/0.4943, allocations: 8.191 MB / 0.6269 GB, free: 9.738 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00606/0.5004, allocations: 0.957 MB / 0.6279 GB, free: 8.781 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009321/0.5098, allocations: 0.957 MB / 0.6288 GB, free: 7.824 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.008129/0.518, allocations: 3.208 MB / 0.6319 GB, free: 4.602 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02282/0.5408, allocations: 8.847 MB / 0.6406 GB, free: 11.69 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03129/0.5721, allocations: 26.14 MB / 0.6661 GB, free: 1.477 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.5722, allocations: 0 / 0.6661 GB, free: 1.477 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5722, allocations: 0 / 0.6661 GB, free: 1.477 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001025/0.5732, allocations: 0 / 0.6661 GB, free: 1.477 MB / 0.4983 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.04748/0.6207, allocations: 21.8 MB / 0.6874 GB, free: 11.55 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.6208, allocations: 8.031 kB / 0.6874 GB, free: 11.54 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007495/0.6283, allocations: 2.315 MB / 0.6897 GB, free: 9.215 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007417/0.6357, allocations: 1.986 MB / 0.6916 GB, free: 7.207 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0227/0.6585, allocations: 10.37 MB / 0.7017 GB, free: 12.75 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/0.6596, allocations: 1.145 MB / 0.7028 GB, free: 11.61 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004792/0.6644, allocations: 1.485 MB / 0.7043 GB, free: 10.12 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04921/0.7136, allocations: 25.38 MB / 0.7291 GB, free: 0.7109 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003963/0.7141, allocations: 0 / 0.7291 GB, free: 0.7109 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003965/0.7181, allocations: 0.6953 MB / 0.7298 GB, free: 16 kB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002843/0.7183, allocations: 388 kB / 0.7301 GB, free: 15.63 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04321/0.7616, allocations: 25.84 MB / 0.7554 GB, free: 5.77 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.606/1.368, allocations: 76.87 MB / 0.8304 GB, free: 91.37 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02587/1.393, allocations: 22.25 MB / 0.8522 GB, free: 69.14 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01273/1.406, allocations: 10.32 MB / 0.8622 GB, free: 58.8 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006561/1.407, allocations: 129.5 kB / 0.8624 GB, free: 58.67 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/1.407, allocations: 263.2 kB / 0.8626 GB, free: 58.4 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=1218): time 2.801e-05/1.407, allocations: 0 / 0.8626 GB, free: 58.4 MB / 0.5923 GB Notification: Performance of matching and sorting (n=1218): time 0.04579/1.453, allocations: 30.01 MB / 0.8919 GB, free: 28.3 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.453, allocations: 176.9 kB / 0.8921 GB, free: 28.12 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02455/1.478, allocations: 16.89 MB / 0.9086 GB, free: 11.29 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.002394/1.48, allocations: 301.6 kB / 0.9089 GB, free: 10.99 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.004451/1.485, allocations: 7.178 MB / 0.9159 GB, free: 3.746 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.00384/1.488, allocations: 4.117 MB / 0.9199 GB, free: 15.57 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002733/1.491, allocations: 1.143 MB / 0.921 GB, free: 14.42 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.491, allocations: 309.1 kB / 0.9213 GB, free: 14.11 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01454/1.506, allocations: 9.876 MB / 0.9309 GB, free: 4.227 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01662/1.523, allocations: 12 MB / 0.9427 GB, free: 7.613 MB / 0.6235 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03546/1.558, allocations: 20.5 MB / 0.9627 GB, free: 2.43 MB / 0.6392 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.344e-05/1.558, allocations: 15.72 kB / 0.9627 GB, free: 2.418 MB / 0.6392 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.05238/1.611, allocations: 32.81 MB / 0.9947 GB, free: 1.48 MB / 0.6704 GB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/1.611, allocations: 31.88 kB / 0.9948 GB, free: 1.449 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.859e-05/1.611, allocations: 44 kB / 0.9948 GB, free: 1.406 MB / 0.6704 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 9.523e-05/1.611, allocations: 80 kB / 0.9949 GB, free: 1.328 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008665/1.619, allocations: 2.211 MB / 0.9971 GB, free: 15.11 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001234/1.62, allocations: 111.6 kB / 0.9972 GB, free: 15 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0159/1.636, allocations: 3.265 MB / 1 GB, free: 11.72 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/1.637, allocations: 464 kB / 1.001 GB, free: 11.27 MB / 0.686 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.01153/1.649, allocations: 6.159 MB / 1.007 GB, free: 5.09 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004581/1.653, allocations: 1.406 MB / 1.008 GB, free: 3.668 MB / 0.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005806/1.659, allocations: 2.164 MB / 1.01 GB, free: 1.496 MB / 0.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.084e-05/1.659, allocations: 116 kB / 1.01 GB, free: 1.383 MB / 0.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003703/1.66, allocations: 116 kB / 1.011 GB, free: 1.27 MB / 0.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001905/1.66, allocations: 55.78 kB / 1.011 GB, free: 1.215 MB / 0.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02912/1.689, allocations: 15.35 MB / 1.026 GB, free: 1.781 MB / 0.7017 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.086e-05/1.689, allocations: 0 / 1.026 GB, free: 1.781 MB / 0.7017 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003575/1.693, allocations: 0.9283 MB / 1.026 GB, free: 0.8516 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 5.685e-05/1.693, allocations: 15.94 kB / 1.026 GB, free: 0.8359 MB / 0.7017 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001623/1.694, allocations: 192 kB / 1.027 GB, free: 0.6484 MB / 0.7017 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-05/1.695, allocations: 12 kB / 1.027 GB, free: 0.6367 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.695, allocations: 0 / 1.027 GB, free: 0.6367 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2708/1.965, allocations: 24.32 MB / 1.05 GB, free: 232.2 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0046/1.97, allocations: 2.252 MB / 1.053 GB, free: 231.4 MB / 0.7017 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00289/1.973, allocations: 190.5 kB / 1.053 GB, free: 231.2 MB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01566/1.989, allocations: 4.242 MB / 1.057 GB, free: 230.8 MB / 0.7017 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002177/1.991, allocations: 1.238 MB / 1.058 GB, free: 230.7 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001184/1.992, allocations: 354 kB / 1.059 GB, free: 230.6 MB / 0.7017 GB Notification: Performance of sorting global known variables: time 0.0133/2.005, allocations: 11.59 MB / 1.07 GB, free: 223.5 MB / 0.7017 GB Notification: Performance of sort global known variables: time 7.31e-07/2.005, allocations: 0 / 1.07 GB, free: 223.5 MB / 0.7017 GB Notification: Performance of remove unused functions: time 0.01109/2.016, allocations: 5.351 MB / 1.075 GB, free: 218.2 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.03125/2.048, allocations: 25.34 MB / 1.1 GB, free: 196 MB / 0.7017 GB Notification: Performance of simCode: created initialization part: time 0.02605/2.074, allocations: 21.2 MB / 1.12 GB, free: 174.8 MB / 0.7017 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-05/2.074, allocations: 31.94 kB / 1.121 GB, free: 174.8 MB / 0.7017 GB Notification: Performance of simCode: created simulation system equations: time 0.01226/2.086, allocations: 9.714 MB / 1.13 GB, free: 165 MB / 0.7017 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01582/2.102, allocations: 3.65 MB / 1.134 GB, free: 161.4 MB / 0.7017 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7568/2.859, allocations: 301.5 MB / 1.428 GB, free: 135.9 MB / 0.7173 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008205/2.867, allocations: 10.91 MB / 1.439 GB, free: 127.9 MB / 0.7173 GB Notification: Performance of simCode: alias equations: time 0.01389/2.881, allocations: 6.423 MB / 1.445 GB, free: 122.2 MB / 0.7173 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008238/2.889, allocations: 6.006 MB / 1.451 GB, free: 116.1 MB / 0.7173 GB Notification: Performance of SimCode: time 1.112e-06/2.889, allocations: 1.75 kB / 1.451 GB, free: 116.1 MB / 0.7173 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.627/3.516, allocations: 354 MB / 1.797 GB, free: 69.31 MB / 0.7329 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/3.516, allocations: 313.2 kB / 1.797 GB, free: 68.93 MB / 0.7329 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.426/12.94, allocations: 0 / 1.797 GB, free: 68.93 MB / 0.7329 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