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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 120.7 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7441/0.7441, allocations: 120.6 MB / 424.6 MB, free: 5.539 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.89 kB / 0.5933 GB, free: 3.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5807/0.5827, allocations: 84.65 MB / 0.6759 GB, free: 16.41 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.003373/0.5861, allocations: 2.415 MB / 0.6783 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.5869, allocations: 0.5408 MB / 0.6788 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.587, allocations: 4.125 kB / 0.6788 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.5871, allocations: 35.77 kB / 0.6789 GB, free: 14.15 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.5872, allocations: 66.34 kB / 0.6789 GB, free: 14.09 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.5874, allocations: 58.73 kB / 0.679 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01839/0.6058, allocations: 25.74 MB / 0.7041 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.6193, allocations: 8.889 MB / 0.7128 GB, free: 5.359 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0164/0.6357, allocations: 10.22 MB / 0.7228 GB, free: 11.12 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01933/0.6551, allocations: 10.45 MB / 0.733 GB, free: 0.6211 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.007122/0.6622, allocations: 1.785 MB / 0.7347 GB, free: 14.83 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009844/0.672, allocations: 1.785 MB / 0.7365 GB, free: 13.05 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.009305/0.6814, allocations: 4.805 MB / 0.7412 GB, free: 8.23 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.0237/0.705, allocations: 10.48 MB / 0.7514 GB, free: 13.7 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.03865/0.7437, allocations: 28.24 MB / 0.779 GB, free: 1.367 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.7437, allocations: 0 / 0.779 GB, free: 1.367 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7437, allocations: 0 / 0.779 GB, free: 1.367 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.001387/0.7451, allocations: 0 / 0.779 GB, free: 1.367 MB / 0.592 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.07131/0.8164, allocations: 25.6 MB / 0.804 GB, free: 7.609 MB / 0.6233 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.8165, allocations: 15.89 kB / 0.804 GB, free: 7.594 MB / 0.6233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00846/0.8249, allocations: 2.304 MB / 0.8062 GB, free: 5.277 MB / 0.6233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008206/0.8331, allocations: 2.086 MB / 0.8083 GB, free: 3.18 MB / 0.6233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03431/0.8674, allocations: 10.76 MB / 0.8188 GB, free: 8.352 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001442/0.8689, allocations: 1.145 MB / 0.8199 GB, free: 7.207 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006133/0.875, allocations: 1.489 MB / 0.8213 GB, free: 5.719 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05857/0.9336, allocations: 25.37 MB / 0.8461 GB, free: 12.32 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004615/0.934, allocations: 3.938 kB / 0.8461 GB, free: 12.31 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005057/0.9391, allocations: 0.6953 MB / 0.8468 GB, free: 11.62 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003641/0.9395, allocations: 380 kB / 0.8472 GB, free: 11.25 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0538/0.9933, allocations: 25.84 MB / 0.8724 GB, free: 1.391 MB / 0.6858 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7586/1.752, allocations: 75.64 MB / 0.9463 GB, free: 141.2 MB / 0.7173 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02807/1.78, allocations: 21.04 MB / 0.9668 GB, free: 130.7 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01383/1.794, allocations: 9.441 MB / 0.976 GB, free: 126.8 MB / 0.7173 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/1.794, allocations: 123.9 kB / 0.9761 GB, free: 126.8 MB / 0.7173 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/1.795, allocations: 261.6 kB / 0.9764 GB, free: 126.7 MB / 0.7173 GB Notification: Performance of pre-optimization done (n=1218): time 3.566e-05/1.795, allocations: 0 / 0.9764 GB, free: 126.7 MB / 0.7173 GB Notification: Performance of matching and sorting (n=1218): time 0.05065/1.845, allocations: 29.69 MB / 1.005 GB, free: 103 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/1.846, allocations: 172.9 kB / 1.006 GB, free: 102.8 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0298/1.875, allocations: 16.9 MB / 1.022 GB, free: 86.05 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 0.002602/1.878, allocations: 293.7 kB / 1.022 GB, free: 85.76 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.007245/1.885, allocations: 7.364 MB / 1.03 GB, free: 79.11 MB / 0.7173 GB Notification: Performance of collectInitialBindings (initialization): time 0.005165/1.89, allocations: 4.316 MB / 1.034 GB, free: 75.27 MB / 0.7173 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01187/1.902, allocations: 2.726 MB / 1.036 GB, free: 72.54 MB / 0.7173 GB Notification: Performance of setup shared object (initialization): time 5.21e-05/1.902, allocations: 313 kB / 1.037 GB, free: 72.23 MB / 0.7173 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01336/1.916, allocations: 9.873 MB / 1.046 GB, free: 62.34 MB / 0.7173 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01602/1.932, allocations: 12 MB / 1.058 GB, free: 49.74 MB / 0.7173 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03548/1.967, allocations: 20.48 MB / 1.078 GB, free: 28.57 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.193e-05/1.967, allocations: 12 kB / 1.078 GB, free: 28.56 MB / 0.7173 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.05691/2.024, allocations: 32.49 MB / 1.11 GB, free: 11.96 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 8.928e-05/2.024, allocations: 24 kB / 1.11 GB, free: 11.94 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/2.024, allocations: 43.94 kB / 1.11 GB, free: 11.89 MB / 0.7329 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.0001246/2.024, allocations: 84 kB / 1.11 GB, free: 11.81 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009604/2.034, allocations: 2.207 MB / 1.112 GB, free: 9.602 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002246/2.034, allocations: 111.6 kB / 1.112 GB, free: 9.492 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02019/2.054, allocations: 3.314 MB / 1.115 GB, free: 6.559 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004002/2.058, allocations: 466.2 kB / 1.116 GB, free: 6.105 MB / 0.7329 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.01693/2.075, allocations: 6.16 MB / 1.122 GB, free: 15.95 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007171/2.083, allocations: 1.464 MB / 1.123 GB, free: 14.48 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006592/2.089, allocations: 2.172 MB / 1.125 GB, free: 12.3 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/2.089, allocations: 112 kB / 1.126 GB, free: 12.19 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004737/2.09, allocations: 116 kB / 1.126 GB, free: 12.07 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002762/2.09, allocations: 55.78 kB / 1.126 GB, free: 12.02 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0408/2.131, allocations: 15.38 MB / 1.141 GB, free: 12.67 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.744e-05/2.131, allocations: 0 / 1.141 GB, free: 12.67 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003785/2.135, allocations: 0.9224 MB / 1.142 GB, free: 11.75 MB / 0.7642 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 6.905e-05/2.135, allocations: 15.94 kB / 1.142 GB, free: 11.73 MB / 0.7642 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002126/2.137, allocations: 195.9 kB / 1.142 GB, free: 11.54 MB / 0.7642 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.836e-05/2.137, allocations: 12 kB / 1.142 GB, free: 11.53 MB / 0.7642 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/2.137, allocations: 0 / 1.142 GB, free: 11.53 MB / 0.7642 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05794/2.195, allocations: 23.99 MB / 1.165 GB, free: 3.418 MB / 0.7798 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008896/2.204, allocations: 2.318 MB / 1.168 GB, free: 1.07 MB / 0.7798 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006021/2.21, allocations: 199.7 kB / 1.168 GB, free: 0.8789 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02044/2.23, allocations: 4.03 MB / 1.172 GB, free: 12.84 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004022/2.234, allocations: 1.237 MB / 1.173 GB, free: 11.6 MB / 0.7954 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002888/2.237, allocations: 356 kB / 1.173 GB, free: 11.25 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 0.02541/2.263, allocations: 11.59 MB / 1.185 GB, free: 15.73 MB / 0.811 GB Notification: Performance of sort global known variables: time 1.71e-07/2.263, allocations: 0 / 1.185 GB, free: 15.73 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.0208/2.283, allocations: 5.383 MB / 1.19 GB, free: 10.34 MB / 0.811 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.06088/2.344, allocations: 25 MB / 1.214 GB, free: 1.207 MB / 0.8267 GB Notification: Performance of simCode: created initialization part: time 0.3765/2.721, allocations: 20.57 MB / 1.234 GB, free: 290.4 MB / 0.8423 GB Notification: Performance of simCode: created event and clocks part: time 4.657e-05/2.721, allocations: 28.06 kB / 1.234 GB, free: 290.4 MB / 0.8423 GB Notification: Performance of simCode: created simulation system equations: time 0.0209/2.742, allocations: 9.128 MB / 1.243 GB, free: 288.3 MB / 0.8423 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02373/2.765, allocations: 3.735 MB / 1.247 GB, free: 287 MB / 0.8423 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3419/3.107, allocations: 182.3 MB / 1.425 GB, free: 133.9 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01712/3.124, allocations: 10.92 MB / 1.436 GB, free: 122.9 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.01807/3.143, allocations: 6.424 MB / 1.442 GB, free: 116.4 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01258/3.155, allocations: 6.01 MB / 1.448 GB, free: 110.4 MB / 0.8423 GB Notification: Performance of SimCode: time 1.723e-06/3.155, allocations: 0 / 1.448 GB, free: 110.4 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8446/4, allocations: 354.9 MB / 1.794 GB, free: 75.13 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 76.07/80.07, allocations: 9.266 kB / 1.794 GB, free: 75.12 MB / 0.8423 GB " [Timeout remaining time 220] (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 --stepSize=0.001 --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) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 92.31630456913263]