Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008885/0.0008885, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9257/0.9257, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5878/0.5878, allocations: 88.07 MB / 348.8 MB, free: 14.35 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5244 GB, free: 2.699 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.991e-05, allocations: 9.516 kB / 0.5244 GB, free: 2.691 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20): time 0.6292/0.6292, allocations: 146.2 MB / 0.6672 GB, free: 5.445 MB / 0.5419 GB Notification: Performance of NFInst.instExpressions: time 0.06585/0.695, allocations: 36.48 MB / 0.7028 GB, free: 9.984 MB / 0.5575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03458/0.7296, allocations: 0.9012 MB / 0.7037 GB, free: 9.68 MB / 0.5575 GB Notification: Performance of NFTyping.typeComponents: time 0.02417/0.7538, allocations: 6.499 MB / 0.71 GB, free: 3.961 MB / 0.5575 GB Notification: Performance of NFTyping.typeBindings: time 0.04551/0.7993, allocations: 12.15 MB / 0.7219 GB, free: 11.59 MB / 0.5731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02974/0.829, allocations: 9.68 MB / 0.7313 GB, free: 3.18 MB / 0.5731 GB Notification: Performance of NFFlatten.flatten: time 0.06335/0.8924, allocations: 48.61 MB / 0.7788 GB, free: 12.64 MB / 0.62 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02128/0.9137, allocations: 8.422 MB / 0.787 GB, free: 4.602 MB / 0.62 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05337/0.967, allocations: 25.13 MB / 0.8116 GB, free: 12.05 MB / 0.6513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02507/0.9921, allocations: 13.29 MB / 0.8246 GB, free: 15.26 MB / 0.6669 GB Notification: Performance of NFPackage.collectConstants: time 0.01229/1.004, allocations: 3.605 MB / 0.8281 GB, free: 11.66 MB / 0.6669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01457/1.019, allocations: 3.605 MB / 0.8316 GB, free: 8.051 MB / 0.6669 GB Notification: Performance of NFScalarize.scalarize: time 0.008647/1.028, allocations: 8.378 MB / 0.8398 GB, free: 15.64 MB / 0.6825 GB Notification: Performance of NFVerifyModel.verify: time 0.02684/1.054, allocations: 14.15 MB / 0.8536 GB, free: 1.457 MB / 0.6825 GB Notification: Performance of NFConvertDAE.convert: time 0.05106/1.106, allocations: 44.64 MB / 0.8972 GB, free: 4.676 MB / 0.7294 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.106, allocations: 0 / 0.8972 GB, free: 4.676 MB / 0.7294 GB Notification: Performance of FrontEnd: time 1.874e-06/1.106, allocations: 4 kB / 0.8972 GB, free: 4.672 MB / 0.7294 GB Notification: Performance of Transformations before backend: time 0.002168/1.108, allocations: 0 / 0.8972 GB, free: 4.672 MB / 0.7294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.5833/1.691, allocations: 37.18 MB / 0.9335 GB, free: 251.5 MB / 0.7453 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.691, allocations: 11.56 kB / 0.9335 GB, free: 251.5 MB / 0.7453 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008013/1.699, allocations: 4.133 MB / 0.9375 GB, free: 249 MB / 0.7453 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007718/1.707, allocations: 4.196 MB / 0.9416 GB, free: 246.9 MB / 0.7453 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02381/1.731, allocations: 12.8 MB / 0.9541 GB, free: 239.6 MB / 0.7453 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00138/1.732, allocations: 2.315 MB / 0.9564 GB, free: 238.6 MB / 0.7453 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004299/1.736, allocations: 3.003 MB / 0.9593 GB, free: 236.4 MB / 0.7453 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04492/1.781, allocations: 45.84 MB / 1.004 GB, free: 185.4 MB / 0.7453 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000357/1.782, allocations: 192 / 1.004 GB, free: 185.4 MB / 0.7453 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002573/1.784, allocations: 1.403 MB / 1.005 GB, free: 184 MB / 0.7453 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000332/1.784, allocations: 0.7538 MB / 1.006 GB, free: 183.3 MB / 0.7453 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03631/1.821, allocations: 21.38 MB / 1.027 GB, free: 161.9 MB / 0.7453 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1598/1.981, allocations: 83.5 MB / 1.109 GB, free: 78.13 MB / 0.7453 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/2, allocations: 25.57 MB / 1.134 GB, free: 52.73 MB / 0.7453 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009998/2.01, allocations: 8.987 MB / 1.142 GB, free: 43.72 MB / 0.7453 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005708/2.011, allocations: 251.2 kB / 1.143 GB, free: 43.47 MB / 0.7453 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/2.011, allocations: 496.2 kB / 1.143 GB, free: 42.98 MB / 0.7453 GB Notification: Performance of pre-optimization done (n=2460): time 4.513e-05/2.011, allocations: 0 / 1.143 GB, free: 42.98 MB / 0.7453 GB Notification: Performance of matching and sorting (n=2460): time 0.04299/2.054, allocations: 30.97 MB / 1.173 GB, free: 11.99 MB / 0.7453 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/2.055, allocations: 302.6 kB / 1.174 GB, free: 11.68 MB / 0.7453 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03298/2.087, allocations: 20.17 MB / 1.193 GB, free: 7.742 MB / 0.7609 GB Notification: Performance of collectPreVariables (initialization): time 0.004115/2.092, allocations: 0.5524 MB / 1.194 GB, free: 7.184 MB / 0.7609 GB Notification: Performance of collectInitialEqns (initialization): time 0.3589/2.451, allocations: 14.93 MB / 1.208 GB, free: 243.1 MB / 0.7609 GB Notification: Performance of collectInitialBindings (initialization): time 0.008185/2.459, allocations: 8.46 MB / 1.217 GB, free: 238.5 MB / 0.7609 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009552/2.468, allocations: 4.339 MB / 1.221 GB, free: 238.2 MB / 0.7609 GB Notification: Performance of setup shared object (initialization): time 5.59e-05/2.468, allocations: 306.5 kB / 1.221 GB, free: 237.9 MB / 0.7609 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009902/2.478, allocations: 7.37 MB / 1.228 GB, free: 236.7 MB / 0.7609 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01168/2.49, allocations: 11.47 MB / 1.24 GB, free: 229.9 MB / 0.7609 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04801/2.538, allocations: 19.24 MB / 1.258 GB, free: 218.4 MB / 0.7609 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/2.538, allocations: 24.94 kB / 1.258 GB, free: 218.4 MB / 0.7609 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.04636/2.585, allocations: 32.98 MB / 1.291 GB, free: 192.3 MB / 0.7609 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/2.585, allocations: 41.2 kB / 1.291 GB, free: 192.2 MB / 0.7609 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/2.585, allocations: 92 kB / 1.291 GB, free: 192.1 MB / 0.7609 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0001383/2.585, allocations: 171.9 kB / 1.291 GB, free: 192 MB / 0.7609 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007858/2.593, allocations: 3.173 MB / 1.294 GB, free: 189.1 MB / 0.7609 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001501/2.593, allocations: 217.8 kB / 1.294 GB, free: 188.9 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01784/2.611, allocations: 2.838 MB / 1.297 GB, free: 186.8 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002178/2.613, allocations: 0.9062 MB / 1.298 GB, free: 185.9 MB / 0.7609 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * 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 (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009879/2.623, allocations: 3.439 MB / 1.301 GB, free: 182.5 MB / 0.7609 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00658/2.629, allocations: 2.948 MB / 1.304 GB, free: 179.6 MB / 0.7609 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/2.633, allocations: 2.747 MB / 1.307 GB, free: 177.1 MB / 0.7609 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.159e-05/2.633, allocations: 232 kB / 1.307 GB, free: 176.9 MB / 0.7609 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007315/2.634, allocations: 238.7 kB / 1.307 GB, free: 176.6 MB / 0.7609 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.449e-05/2.634, allocations: 116.2 kB / 1.307 GB, free: 176.6 MB / 0.7609 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02744/2.661, allocations: 17.82 MB / 1.325 GB, free: 161.5 MB / 0.7609 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.405e-05/2.661, allocations: 0 / 1.325 GB, free: 161.5 MB / 0.7609 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002671/2.664, allocations: 1.222 MB / 1.326 GB, free: 160.3 MB / 0.7609 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 6.45e-05/2.664, allocations: 28 kB / 1.326 GB, free: 160.2 MB / 0.7609 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/2.665, allocations: 384 kB / 1.326 GB, free: 159.9 MB / 0.7609 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.302e-05/2.665, allocations: 24.75 kB / 1.326 GB, free: 159.8 MB / 0.7609 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/2.665, allocations: 11.88 kB / 1.326 GB, free: 159.8 MB / 0.7609 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0311/2.696, allocations: 26.39 MB / 1.352 GB, free: 133.3 MB / 0.7609 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00887/2.705, allocations: 3.047 MB / 1.355 GB, free: 130.3 MB / 0.7609 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006168/2.711, allocations: 389.4 kB / 1.356 GB, free: 129.9 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01542/2.727, allocations: 2.967 MB / 1.358 GB, free: 126.9 MB / 0.7609 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003788/2.731, allocations: 2.634 MB / 1.361 GB, free: 124.3 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002387/2.733, allocations: 0.7031 MB / 1.362 GB, free: 123.6 MB / 0.7609 GB Notification: Performance of sorting global known variables: time 0.02099/2.754, allocations: 13.03 MB / 1.374 GB, free: 110.6 MB / 0.7609 GB Notification: Performance of sort global known variables: time 4.4e-07/2.754, allocations: 0 / 1.374 GB, free: 110.6 MB / 0.7609 GB Notification: Performance of remove unused functions: time 0.02497/2.779, allocations: 8.86 MB / 1.383 GB, free: 101.8 MB / 0.7609 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 (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03649/2.815, allocations: 27.91 MB / 1.41 GB, free: 73.75 MB / 0.7609 GB Notification: Performance of simCode: created initialization part: time 0.02672/2.842, allocations: 20.17 MB / 1.43 GB, free: 53.56 MB / 0.7609 GB Notification: Performance of simCode: created event and clocks part: time 4.161e-05/2.842, allocations: 58.42 kB / 1.43 GB, free: 53.5 MB / 0.7609 GB Notification: Performance of simCode: created simulation system equations: time 0.0121/2.854, allocations: 9.918 MB / 1.44 GB, free: 43.55 MB / 0.7609 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02634/2.881, allocations: 5.945 MB / 1.446 GB, free: 37.6 MB / 0.7609 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6784/3.559, allocations: 235.7 MB / 1.676 GB, free: 70.82 MB / 0.7609 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006968/3.566, allocations: 11.04 MB / 1.686 GB, free: 59.72 MB / 0.7609 GB Notification: Performance of simCode: alias equations: time 0.01104/3.577, allocations: 2.679 MB / 1.689 GB, free: 57.05 MB / 0.7609 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007695/3.585, allocations: 14.09 MB / 1.703 GB, free: 42.95 MB / 0.7609 GB Notification: Performance of SimCode: time 1.352e-06/3.585, allocations: 4 kB / 1.703 GB, free: 42.95 MB / 0.7609 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.228/4.813, allocations: 0.5656 GB / 2.268 GB, free: 98.83 MB / 0.8234 GB Notification: Performance of buildModelFMU: Generate platform static: time 79.36/84.17, allocations: 8.703 kB / 2.268 GB, free: 98.82 MB / 0.8234 GB " [Timeout remaining time 215] (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 116.98118930496275]