Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_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.001423/0.001423, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001516/0.001516, allocations: 212.4 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.298/1.298, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 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.8389/0.8389, allocations: 120.6 MB / 434.5 MB, free: 0.6367 MB / 334.1 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.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 67.89 kB / 0.6067 GB, free: 10.72 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.133, allocations: 85.87 MB / 0.6906 GB, free: 4.637 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20): time 0.003263/0.1363, allocations: 2.287 MB / 0.6928 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.1372, allocations: 0.5455 MB / 0.6934 GB, free: 1.789 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.1373, allocations: 11.94 kB / 0.6934 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.1374, allocations: 35.64 kB / 0.6934 GB, free: 1.742 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.1375, allocations: 63.47 kB / 0.6935 GB, free: 1.68 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.1377, allocations: 55.92 kB / 0.6935 GB, free: 1.625 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.04451/0.1822, allocations: 51.5 MB / 0.7438 GB, free: 13.89 MB / 0.5764 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01734/0.1995, allocations: 11.67 MB / 0.7552 GB, free: 2.098 MB / 0.5764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4905/0.69, allocations: 21.05 MB / 0.7758 GB, free: 9.527 MB / 0.5767 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03473/0.7247, allocations: 24.72 MB / 0.7999 GB, free: 4.66 MB / 0.5767 GB Notification: Performance of NFPackage.collectConstants: time 0.01254/0.7373, allocations: 3.6 MB / 0.8034 GB, free: 4.66 MB / 0.5767 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01681/0.7541, allocations: 3.601 MB / 0.8069 GB, free: 4.66 MB / 0.5767 GB Notification: Performance of NFScalarize.scalarize: time 0.01471/0.7688, allocations: 9.71 MB / 0.8164 GB, free: 14.5 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.0347/0.8035, allocations: 18.11 MB / 0.8341 GB, free: 13.76 MB / 0.6079 GB Notification: Performance of NFConvertDAE.convert: time 0.06268/0.8662, allocations: 57.44 MB / 0.8902 GB, free: 4.781 MB / 0.6548 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.8662, allocations: 0 / 0.8902 GB, free: 4.781 MB / 0.6548 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8662, allocations: 0 / 0.8902 GB, free: 4.781 MB / 0.6548 GB Notification: Performance of Transformations before backend: time 0.001856/0.868, allocations: 0 / 0.8902 GB, free: 4.781 MB / 0.6548 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.1215/0.9896, allocations: 52.02 MB / 0.941 GB, free: 0.5195 MB / 0.7017 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.9896, allocations: 12.03 kB / 0.941 GB, free: 0.5078 MB / 0.7017 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01345/1.003, allocations: 4.635 MB / 0.9455 GB, free: 11.86 MB / 0.7173 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/1.016, allocations: 4.195 MB / 0.9496 GB, free: 7.641 MB / 0.7173 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05055/1.067, allocations: 22.82 MB / 0.9719 GB, free: 1.434 MB / 0.7329 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002597/1.069, allocations: 2.313 MB / 0.9742 GB, free: 15.12 MB / 0.7485 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009595/1.079, allocations: 3.004 MB / 0.9771 GB, free: 12.11 MB / 0.7485 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1136/1.193, allocations: 72.01 MB / 1.047 GB, free: 15.01 MB / 0.8267 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007026/1.193, allocations: 0 / 1.047 GB, free: 15.01 MB / 0.8267 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007516/1.201, allocations: 1.398 MB / 1.049 GB, free: 13.61 MB / 0.8267 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006114/1.202, allocations: 0.75 MB / 1.05 GB, free: 12.86 MB / 0.8267 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.352/1.554, allocations: 52.2 MB / 1.101 GB, free: 243.7 MB / 0.8423 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2538/1.807, allocations: 146.5 MB / 1.244 GB, free: 127.4 MB / 0.8423 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04195/1.849, allocations: 43.55 MB / 1.286 GB, free: 84.04 MB / 0.8423 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02279/1.872, allocations: 19.19 MB / 1.305 GB, free: 64.81 MB / 0.8423 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008837/1.873, allocations: 251.2 kB / 1.305 GB, free: 64.57 MB / 0.8423 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/1.873, allocations: 492.2 kB / 1.306 GB, free: 64.07 MB / 0.8423 GB Notification: Performance of pre-optimization done (n=2460): time 3.092e-05/1.873, allocations: 0 / 1.306 GB, free: 64.07 MB / 0.8423 GB Notification: Performance of matching and sorting (n=2460): time 0.08005/1.953, allocations: 60.14 MB / 1.364 GB, free: 3.887 MB / 0.8423 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.953, allocations: 302.6 kB / 1.365 GB, free: 3.578 MB / 0.8423 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0586/2.012, allocations: 34.53 MB / 1.398 GB, free: 1.488 MB / 0.8735 GB Notification: Performance of collectPreVariables (initialization): time 0.004447/2.017, allocations: 0.5531 MB / 1.399 GB, free: 0.9297 MB / 0.8735 GB Notification: Performance of collectInitialEqns (initialization): time 0.3039/2.32, allocations: 15.1 MB / 1.414 GB, free: 270 MB / 0.8892 GB Notification: Performance of collectInitialBindings (initialization): time 0.009203/2.33, allocations: 8.725 MB / 1.422 GB, free: 266.2 MB / 0.8892 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01772/2.347, allocations: 5.507 MB / 1.427 GB, free: 265.9 MB / 0.8892 GB Notification: Performance of setup shared object (initialization): time 4.154e-05/2.347, allocations: 303 kB / 1.428 GB, free: 265.6 MB / 0.8892 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03033/2.378, allocations: 19.99 MB / 1.447 GB, free: 263 MB / 0.8892 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03393/2.412, allocations: 24.3 MB / 1.471 GB, free: 254.8 MB / 0.8892 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1019/2.513, allocations: 41.49 MB / 1.512 GB, free: 227.4 MB / 0.8892 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001911/2.514, allocations: 28.25 kB / 1.512 GB, free: 227.4 MB / 0.8892 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.1115/2.625, allocations: 65.85 MB / 1.576 GB, free: 170.7 MB / 0.8892 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/2.625, allocations: 44 kB / 1.576 GB, free: 170.7 MB / 0.8892 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/2.625, allocations: 88 kB / 1.576 GB, free: 170.6 MB / 0.8892 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.0001472/2.626, allocations: 165.1 kB / 1.576 GB, free: 170.4 MB / 0.8892 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0166/2.642, allocations: 4.558 MB / 1.581 GB, free: 165.9 MB / 0.8892 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000233/2.642, allocations: 220.7 kB / 1.581 GB, free: 165.7 MB / 0.8892 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03417/2.677, allocations: 6.963 MB / 1.588 GB, free: 159.5 MB / 0.8892 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0058/2.682, allocations: 0.9102 MB / 1.589 GB, free: 158.6 MB / 0.8892 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.0226/2.705, allocations: 12.37 MB / 1.601 GB, free: 146.2 MB / 0.8892 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009625/2.715, allocations: 2.952 MB / 1.603 GB, free: 143.3 MB / 0.8892 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00887/2.724, allocations: 4.378 MB / 1.608 GB, free: 138.9 MB / 0.8892 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.714e-05/2.724, allocations: 228 kB / 1.608 GB, free: 138.6 MB / 0.8892 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005771/2.724, allocations: 232 kB / 1.608 GB, free: 138.4 MB / 0.8892 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002801/2.724, allocations: 115.5 kB / 1.608 GB, free: 138.3 MB / 0.8892 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04652/2.771, allocations: 27.27 MB / 1.635 GB, free: 111.4 MB / 0.8892 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.176e-05/2.771, allocations: 0 / 1.635 GB, free: 111.4 MB / 0.8892 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006248/2.777, allocations: 1.904 MB / 1.637 GB, free: 109.5 MB / 0.8892 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.085e-05/2.777, allocations: 30.91 kB / 1.637 GB, free: 109.5 MB / 0.8892 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002747/2.78, allocations: 391.9 kB / 1.637 GB, free: 109.1 MB / 0.8892 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-05/2.78, allocations: 24 kB / 1.637 GB, free: 109.1 MB / 0.8892 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/2.78, allocations: 0 / 1.637 GB, free: 109.1 MB / 0.8892 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07862/2.859, allocations: 48.55 MB / 1.685 GB, free: 60.42 MB / 0.8892 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01332/2.872, allocations: 4.831 MB / 1.689 GB, free: 55.91 MB / 0.8892 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009521/2.882, allocations: 380 kB / 1.69 GB, free: 55.54 MB / 0.8892 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03845/2.92, allocations: 8.497 MB / 1.698 GB, free: 47.03 MB / 0.8892 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005964/2.926, allocations: 2.637 MB / 1.701 GB, free: 44.38 MB / 0.8892 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00453/2.931, allocations: 0.6992 MB / 1.701 GB, free: 43.68 MB / 0.8892 GB Notification: Performance of sorting global known variables: time 0.03305/2.964, allocations: 23.44 MB / 1.724 GB, free: 20.33 MB / 0.8892 GB Notification: Performance of sort global known variables: time 1.7e-07/2.964, allocations: 0 / 1.724 GB, free: 20.33 MB / 0.8892 GB Notification: Performance of remove unused functions: time 0.02896/2.993, allocations: 10.88 MB / 1.735 GB, free: 9.949 MB / 0.8892 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.3918/3.384, allocations: 50.07 MB / 1.784 GB, free: 258.2 MB / 0.9048 GB Notification: Performance of simCode: created initialization part: time 0.06181/3.446, allocations: 41.62 MB / 1.824 GB, free: 248.6 MB / 0.9048 GB Notification: Performance of simCode: created event and clocks part: time 4.06e-05/3.446, allocations: 56.27 kB / 1.824 GB, free: 248.6 MB / 0.9048 GB Notification: Performance of simCode: created simulation system equations: time 0.02991/3.476, allocations: 18.46 MB / 1.842 GB, free: 238.1 MB / 0.9048 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.041/3.517, allocations: 7.629 MB / 1.85 GB, free: 231.7 MB / 0.9048 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8949/4.412, allocations: 391.3 MB / 2.232 GB, free: 175.3 MB / 0.9204 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0279/4.44, allocations: 21.41 MB / 2.253 GB, free: 159.8 MB / 0.9204 GB Notification: Performance of simCode: alias equations: time 0.03455/4.474, allocations: 13.62 MB / 2.266 GB, free: 147 MB / 0.9204 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01928/4.494, allocations: 12.88 MB / 2.279 GB, free: 134.1 MB / 0.9204 GB Notification: Performance of SimCode: time 1.933e-06/4.494, allocations: 0 / 2.279 GB, free: 134.1 MB / 0.9204 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.482/5.975, allocations: 0.7398 GB / 3.018 GB, free: 150.5 MB / 0.9673 GB Notification: Performance of buildModelFMU: Generate platform static: time 112.1/118, allocations: 2.734 kB / 3.018 GB, free: 150.5 MB / 0.9673 GB " [Timeout remaining time 181] (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_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: 158.54498138511553]