Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.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_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28",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.001196/0.001196, allocations: 112.5 kB / 16.51 MB, free: 6.715 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.001254/0.001254, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8181/0.8181, allocations: 119.3 MB / 410.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.91 kB / 0.4904 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4223, allocations: 80.69 MB / 0.5692 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28): time 0.002861/0.4252, allocations: 2.445 MB / 0.5715 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006541/0.4258, allocations: 0.5319 MB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.4259, allocations: 7.25 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.4261, allocations: 27.55 kB / 0.5721 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.837e-05/0.4262, allocations: 50.61 kB / 0.5721 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.4263, allocations: 50.45 kB / 0.5722 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.06216/0.4885, allocations: 97.35 MB / 0.6673 GB, free: 12.99 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0542/0.5427, allocations: 38.55 MB / 0.7049 GB, free: 6.285 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03751/0.5803, allocations: 30.62 MB / 0.7348 GB, free: 7.562 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.515/1.095, allocations: 35.28 MB / 0.7693 GB, free: 42.67 MB / 0.5923 GB Notification: Performance of NFPackage.collectConstants: time 0.02018/1.116, allocations: 4.625 MB / 0.7738 GB, free: 42.67 MB / 0.5923 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02777/1.143, allocations: 4.618 MB / 0.7783 GB, free: 42.67 MB / 0.5923 GB Notification: Performance of NFScalarize.scalarize: time 0.02504/1.168, allocations: 14.12 MB / 0.7921 GB, free: 42.67 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.07706/1.246, allocations: 36.45 MB / 0.8277 GB, free: 32.98 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1042/1.35, allocations: 104.7 MB / 0.93 GB, free: 7.512 MB / 0.6392 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.35, allocations: 0 / 0.93 GB, free: 7.512 MB / 0.6392 GB Notification: Performance of FrontEnd: time 2.354e-06/1.35, allocations: 3.938 kB / 0.93 GB, free: 7.512 MB / 0.6392 GB Notification: Performance of Transformations before backend: time 0.004672/1.355, allocations: 0 / 0.93 GB, free: 7.512 MB / 0.6392 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15941 * Number of variables: 15941 Notification: Performance of Generate backend data structure: time 0.2405/1.595, allocations: 100.1 MB / 1.028 GB, free: 3.051 MB / 0.7329 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.595, allocations: 16.03 kB / 1.028 GB, free: 3.035 MB / 0.7329 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.5511/2.146, allocations: 8.987 MB / 1.036 GB, free: 178.8 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03464/2.181, allocations: 7.794 MB / 1.044 GB, free: 177.6 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0978/2.279, allocations: 40.59 MB / 1.084 GB, free: 164.8 MB / 0.7334 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005827/2.285, allocations: 4.503 MB / 1.088 GB, free: 162.8 MB / 0.7334 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02345/2.308, allocations: 5.841 MB / 1.094 GB, free: 157.1 MB / 0.7334 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2096/2.518, allocations: 99.97 MB / 1.191 GB, free: 64.71 MB / 0.7334 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002775/2.521, allocations: 3.938 kB / 1.191 GB, free: 64.71 MB / 0.7334 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02224/2.543, allocations: 2.723 MB / 1.194 GB, free: 61.98 MB / 0.7334 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009335/2.544, allocations: 1.465 MB / 1.196 GB, free: 60.52 MB / 0.7334 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1834/2.727, allocations: 102 MB / 1.295 GB, free: 6.477 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9413/3.669, allocations: 302.5 MB / 1.591 GB, free: 63.94 MB / 0.8272 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4432/4.112, allocations: 91.73 MB / 1.68 GB, free: 197.3 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05918/4.171, allocations: 41.14 MB / 1.72 GB, free: 185.8 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003259/4.174, allocations: 485.1 kB / 1.721 GB, free: 185.8 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007773/4.175, allocations: 0.9144 MB / 1.722 GB, free: 185.2 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=4788): time 6.432e-05/4.175, allocations: 0 / 1.722 GB, free: 185.2 MB / 0.8428 GB Notification: Performance of matching and sorting (n=4788): time 0.2139/4.389, allocations: 118.6 MB / 1.838 GB, free: 154 MB / 0.8428 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005318/4.39, allocations: 0.5242 MB / 1.838 GB, free: 153.4 MB / 0.8428 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1169/4.507, allocations: 66.27 MB / 1.903 GB, free: 90.99 MB / 0.8428 GB Notification: Performance of collectPreVariables (initialization): time 0.009472/4.516, allocations: 1.052 MB / 1.904 GB, free: 89.93 MB / 0.8428 GB Notification: Performance of collectInitialEqns (initialization): time 0.02501/4.541, allocations: 29.16 MB / 1.932 GB, free: 60.71 MB / 0.8428 GB Notification: Performance of collectInitialBindings (initialization): time 0.01668/4.558, allocations: 16.28 MB / 1.948 GB, free: 44.32 MB / 0.8428 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04676/4.605, allocations: 10.7 MB / 1.959 GB, free: 33.6 MB / 0.8428 GB Notification: Performance of setup shared object (initialization): time 4.165e-05/4.605, allocations: 305.1 kB / 1.959 GB, free: 33.3 MB / 0.8428 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4037/5.008, allocations: 38.97 MB / 1.997 GB, free: 191.7 MB / 0.8428 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07018/5.079, allocations: 47.39 MB / 2.043 GB, free: 184.8 MB / 0.8428 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3346/5.413, allocations: 80.9 MB / 2.122 GB, free: 157.8 MB / 0.8428 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000355/5.414, allocations: 50.84 kB / 2.122 GB, free: 157.8 MB / 0.8428 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.2589/5.672, allocations: 129.8 MB / 2.249 GB, free: 45.27 MB / 0.8428 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002254/5.673, allocations: 76 kB / 2.249 GB, free: 45.2 MB / 0.8428 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004075/5.673, allocations: 172 kB / 2.249 GB, free: 45.03 MB / 0.8428 GB Notification: Tearing is skipped for strong component 1 because system size of 3191 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.0003357/5.674, allocations: 332 kB / 2.25 GB, free: 44.7 MB / 0.8428 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03358/5.707, allocations: 8.975 MB / 2.258 GB, free: 35.71 MB / 0.8428 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006502/5.708, allocations: 434.7 kB / 2.259 GB, free: 35.29 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07262/5.78, allocations: 13.76 MB / 2.272 GB, free: 21.46 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01354/5.794, allocations: 1.773 MB / 2.274 GB, free: 19.68 MB / 0.8428 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * 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 (3979): * Single equations (assignments): 3978 * 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 {(3191,0.1%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.05744/5.851, allocations: 24.02 MB / 2.297 GB, free: 11.63 MB / 0.8584 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4016/6.253, allocations: 5.479 MB / 2.303 GB, free: 220.5 MB / 0.8584 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02251/6.276, allocations: 8.518 MB / 2.311 GB, free: 218.5 MB / 0.8584 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003634/6.276, allocations: 449.1 kB / 2.312 GB, free: 218.5 MB / 0.8584 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001476/6.278, allocations: 449.2 kB / 2.312 GB, free: 218.5 MB / 0.8584 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007873/6.278, allocations: 223.9 kB / 2.312 GB, free: 218.5 MB / 0.8584 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1345/6.413, allocations: 60.25 MB / 2.371 GB, free: 201.5 MB / 0.8584 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00048/6.413, allocations: 2.031 kB / 2.371 GB, free: 201.5 MB / 0.8584 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01361/6.427, allocations: 3.764 MB / 2.375 GB, free: 201.3 MB / 0.8584 GB Notification: Tearing is skipped for strong component 2 because system size of 3191 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 0.0002401/6.427, allocations: 54.97 kB / 2.375 GB, free: 201.3 MB / 0.8584 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.009076/6.436, allocations: 0.7278 MB / 2.375 GB, free: 200.7 MB / 0.8584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001666/6.436, allocations: 50.75 kB / 2.375 GB, free: 200.7 MB / 0.8584 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/6.436, allocations: 0 / 2.375 GB, free: 200.7 MB / 0.8584 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2141/6.651, allocations: 95.97 MB / 2.469 GB, free: 159.1 MB / 0.8584 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02798/6.679, allocations: 8.655 MB / 2.478 GB, free: 150.5 MB / 0.8584 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.025/6.704, allocations: 0.7344 MB / 2.478 GB, free: 149.7 MB / 0.8584 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07489/6.779, allocations: 17 MB / 2.495 GB, free: 132.8 MB / 0.8584 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01648/6.795, allocations: 4.862 MB / 2.5 GB, free: 127.9 MB / 0.8584 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01297/6.808, allocations: 1.363 MB / 2.501 GB, free: 126.5 MB / 0.8584 GB Notification: Performance of sorting global known variables: time 0.08326/6.891, allocations: 45.7 MB / 2.546 GB, free: 81.04 MB / 0.8584 GB Notification: Performance of sort global known variables: time 1.052e-06/6.891, allocations: 4 kB / 2.546 GB, free: 81.03 MB / 0.8584 GB Notification: Performance of remove unused functions: time 0.07396/6.965, allocations: 21.08 MB / 2.566 GB, free: 59.91 MB / 0.8584 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 (1598): * Single equations (assignments): 1597 * 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 {(3191,0.1%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.5929/7.558, allocations: 98.46 MB / 2.662 GB, free: 174.1 MB / 0.8584 GB Notification: Performance of simCode: created initialization part: time 0.1415/7.7, allocations: 83.41 MB / 2.744 GB, free: 154.4 MB / 0.8584 GB Notification: Performance of simCode: created event and clocks part: time 7.102e-05/7.7, allocations: 112.6 kB / 2.744 GB, free: 154.4 MB / 0.8584 GB Notification: Performance of simCode: created simulation system equations: time 0.06533/7.765, allocations: 38.09 MB / 2.781 GB, free: 144.4 MB / 0.8584 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0954/7.861, allocations: 14.52 MB / 2.795 GB, free: 137.8 MB / 0.8584 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.951/17.81, allocations: 2.569 GB / 5.364 GB, free: 487.1 MB / 1.155 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08379/17.9, allocations: 41.83 MB / 5.405 GB, free: 480.7 MB / 1.155 GB Notification: Performance of simCode: alias equations: time 0.08011/17.98, allocations: 26.6 MB / 5.431 GB, free: 478.2 MB / 1.155 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05776/18.03, allocations: 26.44 MB / 5.457 GB, free: 455.7 MB / 1.155 GB Notification: Performance of SimCode: time 1.623e-06/18.03, allocations: 0 / 5.457 GB, free: 455.7 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.397/21.43, allocations: 1.351 GB / 6.808 GB, free: 209.8 MB / 1.155 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/21.43, allocations: 326.6 kB / 6.808 GB, free: 209.4 MB / 1.155 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.81/59.24, allocations: 2.297 kB / 6.808 GB, free: 209.4 MB / 1.155 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches