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.00152/0.00152, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001669/0.001669, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 1.135/1.135, allocations: 120.6 MB / 434.5 MB, free: 0.8711 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.002004/0.002004, allocations: 59.91 kB / 0.6068 GB, free: 10.92 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 85.87 MB / 0.6907 GB, free: 4.836 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.004217/0.1811, allocations: 2.443 MB / 0.693 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1823, allocations: 0.5766 MB / 0.6936 GB, free: 1.801 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.1825, allocations: 7.938 kB / 0.6936 GB, free: 1.793 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.1827, allocations: 39.64 kB / 0.6937 GB, free: 1.754 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1829, allocations: 71.39 kB / 0.6937 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.1831, allocations: 59.92 kB / 0.6938 GB, free: 1.625 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.02409/0.2072, allocations: 25.54 MB / 0.7187 GB, free: 7.961 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.2186, allocations: 5.616 MB / 0.7242 GB, free: 2.258 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/0.2334, allocations: 10.4 MB / 0.7344 GB, free: 7.824 MB / 0.5608 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0183/0.2517, allocations: 10.45 MB / 0.7446 GB, free: 13.33 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.006726/0.2584, allocations: 1.789 MB / 0.7463 GB, free: 11.54 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009488/0.2679, allocations: 1.785 MB / 0.7481 GB, free: 9.758 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.009471/0.2774, allocations: 4.806 MB / 0.7528 GB, free: 4.938 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.7096/0.987, allocations: 10.49 MB / 0.763 GB, free: 23.05 MB / 0.5767 GB Notification: Performance of NFConvertDAE.convert: time 0.04953/1.037, allocations: 28.26 MB / 0.7906 GB, free: 18.11 MB / 0.5767 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.037, allocations: 0 / 0.7906 GB, free: 18.11 MB / 0.5767 GB Notification: Performance of FrontEnd: time 3.436e-06/1.037, allocations: 0 / 0.7906 GB, free: 18.11 MB / 0.5767 GB Notification: Performance of Transformations before backend: time 0.001587/1.038, allocations: 3.375 kB / 0.7906 GB, free: 18.11 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.0743/1.112, allocations: 25.55 MB / 0.8155 GB, free: 3.574 MB / 0.5767 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.112, allocations: 15.06 kB / 0.8156 GB, free: 3.57 MB / 0.5767 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01229/1.125, allocations: 2.303 MB / 0.8178 GB, free: 2.043 MB / 0.5767 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/1.137, allocations: 2.076 MB / 0.8198 GB, free: 1.008 MB / 0.5767 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03252/1.169, allocations: 11.33 MB / 0.8309 GB, free: 6.328 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001423/1.171, allocations: 1.149 MB / 0.832 GB, free: 5.18 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008126/1.179, allocations: 1.489 MB / 0.8335 GB, free: 3.691 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07299/1.252, allocations: 25.37 MB / 0.8583 GB, free: 10.29 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005714/1.252, allocations: 0 / 0.8583 GB, free: 10.29 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007919/1.26, allocations: 0.6953 MB / 0.8589 GB, free: 9.59 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003455/1.261, allocations: 380 kB / 0.8593 GB, free: 9.219 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06128/1.322, allocations: 25.84 MB / 0.8845 GB, free: 15.37 MB / 0.6548 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2134/1.535, allocations: 75.79 MB / 0.9585 GB, free: 2.754 MB / 0.7173 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04067/1.576, allocations: 21.04 MB / 0.9791 GB, free: 13.9 MB / 0.7485 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02178/1.598, allocations: 9.43 MB / 0.9883 GB, free: 4.445 MB / 0.7485 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/1.599, allocations: 136.2 kB / 0.9884 GB, free: 4.312 MB / 0.7485 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003765/1.599, allocations: 263.3 kB / 0.9887 GB, free: 4.043 MB / 0.7485 GB Notification: Performance of pre-optimization done (n=1218): time 4.548e-05/1.599, allocations: 1.594 kB / 0.9887 GB, free: 4.043 MB / 0.7485 GB Notification: Performance of matching and sorting (n=1218): time 0.08317/1.682, allocations: 29.67 MB / 1.018 GB, free: 6.664 MB / 0.7798 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/1.683, allocations: 184.9 kB / 1.018 GB, free: 6.469 MB / 0.7798 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04848/1.731, allocations: 16.9 MB / 1.034 GB, free: 5.637 MB / 0.7954 GB Notification: Performance of collectPreVariables (initialization): time 0.004702/1.736, allocations: 297.7 kB / 1.035 GB, free: 5.34 MB / 0.7954 GB Notification: Performance of collectInitialEqns (initialization): time 0.01173/1.748, allocations: 7.367 MB / 1.042 GB, free: 13.93 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.007721/1.755, allocations: 4.311 MB / 1.046 GB, free: 9.582 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02121/1.777, allocations: 2.734 MB / 1.049 GB, free: 6.84 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.777, allocations: 301.1 kB / 1.049 GB, free: 6.543 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02244/1.799, allocations: 9.873 MB / 1.059 GB, free: 12.66 MB / 0.8267 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0266/1.826, allocations: 11.99 MB / 1.07 GB, free: 76 kB / 0.8267 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4857/2.311, allocations: 20.49 MB / 1.09 GB, free: 262.5 MB / 0.8267 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-05/2.311, allocations: 12.19 kB / 1.09 GB, free: 262.5 MB / 0.8267 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.07417/2.386, allocations: 32.48 MB / 1.122 GB, free: 251.5 MB / 0.8267 GB Notification: Performance of prepare postOptimizeDAE: time 6.377e-05/2.386, allocations: 27.94 kB / 1.122 GB, free: 251.4 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-05/2.386, allocations: 44 kB / 1.122 GB, free: 251.4 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 0.0001167/2.386, allocations: 80 kB / 1.122 GB, free: 251.3 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009791/2.396, allocations: 2.216 MB / 1.124 GB, free: 249.5 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001683/2.396, allocations: 111.1 kB / 1.124 GB, free: 249.4 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02118/2.417, allocations: 3.311 MB / 1.128 GB, free: 247.7 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004707/2.422, allocations: 460 kB / 1.128 GB, free: 247.2 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.01938/2.441, allocations: 6.155 MB / 1.134 GB, free: 242.2 MB / 0.8267 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007857/2.449, allocations: 1.469 MB / 1.136 GB, free: 240.7 MB / 0.8267 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007107/2.456, allocations: 2.167 MB / 1.138 GB, free: 238.7 MB / 0.8267 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.519e-05/2.456, allocations: 116 kB / 1.138 GB, free: 238.6 MB / 0.8267 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003756/2.457, allocations: 112 kB / 1.138 GB, free: 238.5 MB / 0.8267 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002031/2.457, allocations: 61.8 kB / 1.138 GB, free: 238.5 MB / 0.8267 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03767/2.494, allocations: 15.34 MB / 1.153 GB, free: 225.9 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-05/2.495, allocations: 0.9375 kB / 1.153 GB, free: 225.9 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003601/2.498, allocations: 0.921 MB / 1.154 GB, free: 225 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 4.964e-05/2.498, allocations: 15.94 kB / 1.154 GB, free: 225 MB / 0.8267 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002367/2.501, allocations: 195.4 kB / 1.154 GB, free: 224.8 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-05/2.501, allocations: 12 kB / 1.154 GB, free: 224.8 MB / 0.8267 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.501, allocations: 6.5 kB / 1.154 GB, free: 224.8 MB / 0.8267 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05141/2.552, allocations: 23.99 MB / 1.178 GB, free: 200.7 MB / 0.8267 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009437/2.561, allocations: 2.395 MB / 1.18 GB, free: 198.3 MB / 0.8267 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008916/2.57, allocations: 196 kB / 1.18 GB, free: 198.1 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02193/2.592, allocations: 4.022 MB / 1.184 GB, free: 194.1 MB / 0.8267 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005267/2.598, allocations: 1.311 MB / 1.185 GB, free: 192.8 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004311/2.602, allocations: 356 kB / 1.186 GB, free: 192.4 MB / 0.8267 GB Notification: Performance of sorting global known variables: time 0.02508/2.627, allocations: 11.59 MB / 1.197 GB, free: 180.9 MB / 0.8267 GB Notification: Performance of sort global known variables: time 3.51e-07/2.627, allocations: 0 / 1.197 GB, free: 180.9 MB / 0.8267 GB Notification: Performance of remove unused functions: time 0.02622/2.653, allocations: 5.387 MB / 1.202 GB, free: 175.5 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.05193/2.705, allocations: 25 MB / 1.227 GB, free: 150.4 MB / 0.8267 GB Notification: Performance of simCode: created initialization part: time 0.04065/2.746, allocations: 20.56 MB / 1.247 GB, free: 129.7 MB / 0.8267 GB Notification: Performance of simCode: created event and clocks part: time 2.954e-05/2.746, allocations: 31.19 kB / 1.247 GB, free: 129.7 MB / 0.8267 GB Notification: Performance of simCode: created simulation system equations: time 0.01947/2.765, allocations: 9.126 MB / 1.256 GB, free: 120.5 MB / 0.8267 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02955/2.795, allocations: 3.741 MB / 1.259 GB, free: 116.8 MB / 0.8267 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7539/3.549, allocations: 182.3 MB / 1.437 GB, free: 267.1 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01758/3.566, allocations: 10.91 MB / 1.448 GB, free: 259 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.01954/3.586, allocations: 6.442 MB / 1.454 GB, free: 254.3 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01412/3.6, allocations: 6.011 MB / 1.46 GB, free: 248.7 MB / 0.8423 GB Notification: Performance of SimCode: time 2.595e-06/3.6, allocations: 4 kB / 1.46 GB, free: 248.7 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8523/4.452, allocations: 360.5 MB / 1.812 GB, free: 195.3 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.86/64.31, allocations: 13.69 kB / 1.812 GB, free: 195.3 MB / 0.8423 GB " [Timeout remaining time 235] (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: 76.90939241019078]