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.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.001453/0.001453, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001633/0.001633, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.339/1.339, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.8724/0.8724, allocations: 120.6 MB / 434.5 MB, free: 0.6406 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_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: 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.001855/0.001855, allocations: 63.91 kB / 0.6067 GB, free: 10.72 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1381, 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_14_M_14): time 0.003345/0.1414, allocations: 2.3 MB / 0.6928 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.000907/0.1423, allocations: 0.5455 MB / 0.6934 GB, free: 1.773 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.1424, allocations: 7.938 kB / 0.6934 GB, free: 1.766 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1425, allocations: 35.64 kB / 0.6934 GB, free: 1.73 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1426, allocations: 63.47 kB / 0.6935 GB, free: 1.668 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.1428, allocations: 59.86 kB / 0.6935 GB, free: 1.609 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.02213/0.1649, allocations: 25.54 MB / 0.7185 GB, free: 7.949 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007508/0.1724, allocations: 5.616 MB / 0.724 GB, free: 2.242 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.1843, allocations: 10.42 MB / 0.7341 GB, free: 7.797 MB / 0.5608 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01887/0.2032, allocations: 12.23 MB / 0.7461 GB, free: 11.52 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.00579/0.209, allocations: 1.785 MB / 0.7478 GB, free: 9.738 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007354/0.2163, allocations: 1.785 MB / 0.7496 GB, free: 7.953 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.006659/0.223, allocations: 4.806 MB / 0.7543 GB, free: 3.133 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.4892/0.7122, allocations: 8.966 MB / 0.763 GB, free: 27.76 MB / 0.5767 GB Notification: Performance of NFConvertDAE.convert: time 0.03029/0.7425, allocations: 28.43 MB / 0.7908 GB, free: 21.47 MB / 0.5767 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7425, allocations: 0 / 0.7908 GB, free: 21.47 MB / 0.5767 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7425, allocations: 0 / 0.7908 GB, free: 21.47 MB / 0.5767 GB Notification: Performance of Transformations before backend: time 0.0009876/0.7435, allocations: 0 / 0.7908 GB, free: 21.47 MB / 0.5767 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.05588/0.7994, allocations: 25.55 MB / 0.8157 GB, free: 5.875 MB / 0.5767 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.7994, allocations: 10.66 kB / 0.8157 GB, free: 5.867 MB / 0.5767 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006281/0.8057, allocations: 2.304 MB / 0.818 GB, free: 3.551 MB / 0.5767 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005765/0.8115, allocations: 2.079 MB / 0.82 GB, free: 1.461 MB / 0.5767 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02611/0.8376, allocations: 11.33 MB / 0.8311 GB, free: 6.43 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/0.8388, allocations: 1.141 MB / 0.8322 GB, free: 5.289 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005564/0.8444, allocations: 1.489 MB / 0.8336 GB, free: 3.801 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06198/0.9063, allocations: 35.64 MB / 0.8684 GB, free: 13.64 MB / 0.6392 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006007/0.9069, allocations: 0 / 0.8684 GB, free: 13.64 MB / 0.6392 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00599/0.9129, allocations: 0.6914 MB / 0.8691 GB, free: 12.95 MB / 0.6392 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000316/0.9132, allocations: 382.6 kB / 0.8695 GB, free: 12.57 MB / 0.6392 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05077/0.964, allocations: 25.78 MB / 0.8947 GB, free: 2.773 MB / 0.6548 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.179/1.143, allocations: 71.99 MB / 0.965 GB, free: 9.965 MB / 0.7329 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03451/1.178, allocations: 20.98 MB / 0.9855 GB, free: 5.176 MB / 0.7485 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01791/1.195, allocations: 9.439 MB / 0.9947 GB, free: 11.71 MB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007706/1.196, allocations: 125.5 kB / 0.9948 GB, free: 11.59 MB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/1.197, allocations: 255.3 kB / 0.995 GB, free: 11.32 MB / 0.7642 GB Notification: Performance of pre-optimization done (n=1218): time 2.927e-05/1.197, allocations: 4 kB / 0.995 GB, free: 11.32 MB / 0.7642 GB Notification: Performance of matching and sorting (n=1218): time 0.06467/1.261, allocations: 29.68 MB / 1.024 GB, free: 13.93 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/1.261, allocations: 172.9 kB / 1.024 GB, free: 13.75 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03457/1.296, allocations: 17.11 MB / 1.041 GB, free: 12.7 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.00389/1.3, allocations: 301.7 kB / 1.041 GB, free: 12.4 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.008051/1.308, allocations: 7.374 MB / 1.048 GB, free: 4.98 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.005966/1.314, allocations: 4.319 MB / 1.053 GB, free: 0.625 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01374/1.328, allocations: 2.729 MB / 1.055 GB, free: 13.89 MB / 0.8267 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.328, allocations: 301.1 kB / 1.056 GB, free: 13.59 MB / 0.8267 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01905/1.347, allocations: 9.873 MB / 1.065 GB, free: 3.711 MB / 0.8267 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3117/1.659, allocations: 11.99 MB / 1.077 GB, free: 267.5 MB / 0.8267 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03218/1.691, allocations: 20.49 MB / 1.097 GB, free: 263.4 MB / 0.8267 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/1.691, allocations: 11.41 kB / 1.097 GB, free: 263.4 MB / 0.8267 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.04526/1.736, allocations: 32.48 MB / 1.129 GB, free: 245.1 MB / 0.8267 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/1.736, allocations: 31.83 kB / 1.129 GB, free: 245.1 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.974e-05/1.736, allocations: 44 kB / 1.129 GB, free: 245 MB / 0.8267 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.957e-05/1.736, allocations: 80 kB / 1.129 GB, free: 244.9 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008802/1.745, allocations: 2.211 MB / 1.131 GB, free: 243.2 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001121/1.745, allocations: 114.9 kB / 1.131 GB, free: 243.1 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01828/1.764, allocations: 3.304 MB / 1.134 GB, free: 241.4 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003087/1.767, allocations: 464 kB / 1.135 GB, free: 241 MB / 0.8267 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.01362/1.78, allocations: 6.155 MB / 1.141 GB, free: 235.9 MB / 0.8267 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004353/1.785, allocations: 1.466 MB / 1.142 GB, free: 234.6 MB / 0.8267 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/1.789, allocations: 2.164 MB / 1.144 GB, free: 232.5 MB / 0.8267 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.536e-05/1.789, allocations: 116 kB / 1.144 GB, free: 232.4 MB / 0.8267 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002845/1.789, allocations: 120 kB / 1.145 GB, free: 232.3 MB / 0.8267 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/1.789, allocations: 57.42 kB / 1.145 GB, free: 232.3 MB / 0.8267 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/1.809, allocations: 13.52 MB / 1.158 GB, free: 220.5 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.611e-05/1.809, allocations: 7.844 kB / 1.158 GB, free: 220.5 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/1.812, allocations: 0.9166 MB / 1.159 GB, free: 219.6 MB / 0.8267 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 2.817e-05/1.812, allocations: 19.94 kB / 1.159 GB, free: 219.6 MB / 0.8267 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/1.813, allocations: 188 kB / 1.159 GB, free: 219.4 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/1.813, allocations: 20 kB / 1.159 GB, free: 219.4 MB / 0.8267 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.813, allocations: 3.984 kB / 1.159 GB, free: 219.4 MB / 0.8267 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02982/1.843, allocations: 23.98 MB / 1.182 GB, free: 195.2 MB / 0.8267 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006754/1.849, allocations: 2.395 MB / 1.185 GB, free: 192.8 MB / 0.8267 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004294/1.854, allocations: 189.5 kB / 1.185 GB, free: 192.7 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0172/1.871, allocations: 4.03 MB / 1.189 GB, free: 188.6 MB / 0.8267 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003379/1.874, allocations: 1.303 MB / 1.19 GB, free: 187.3 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002531/1.877, allocations: 360 kB / 1.19 GB, free: 187 MB / 0.8267 GB Notification: Performance of sorting global known variables: time 0.02067/1.897, allocations: 11.59 MB / 1.202 GB, free: 175.4 MB / 0.8267 GB Notification: Performance of sort global known variables: time 1.7e-07/1.897, allocations: 0.9844 kB / 1.202 GB, free: 175.4 MB / 0.8267 GB Notification: Performance of remove unused functions: time 0.02054/1.918, allocations: 5.387 MB / 1.207 GB, free: 170 MB / 0.8267 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.04874/1.967, allocations: 25 MB / 1.231 GB, free: 144.9 MB / 0.8267 GB Notification: Performance of simCode: created initialization part: time 0.03326/2, allocations: 20.57 MB / 1.251 GB, free: 124.3 MB / 0.8267 GB Notification: Performance of simCode: created event and clocks part: time 2.132e-05/2, allocations: 27.19 kB / 1.252 GB, free: 124.2 MB / 0.8267 GB Notification: Performance of simCode: created simulation system equations: time 0.01467/2.015, allocations: 9.122 MB / 1.26 GB, free: 115.1 MB / 0.8267 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02236/2.037, allocations: 3.734 MB / 1.264 GB, free: 111.4 MB / 0.8267 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5441/2.581, allocations: 182.3 MB / 1.442 GB, free: 238.6 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008408/2.59, allocations: 10.61 MB / 1.452 GB, free: 236.9 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.01309/2.603, allocations: 6.442 MB / 1.459 GB, free: 234.8 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009352/2.612, allocations: 6.01 MB / 1.465 GB, free: 229.2 MB / 0.8423 GB Notification: Performance of SimCode: time 1.202e-06/2.612, allocations: 0 / 1.465 GB, free: 229.2 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6928/3.305, allocations: 374.7 MB / 1.83 GB, free: 203.9 MB / 0.8579 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.75/40.05, allocations: 8 kB / 1.83 GB, free: 203.9 MB / 0.8579 GB " [Timeout remaining time 260] (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/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 50.74403301393613]