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.001247/0.001247, 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.001353/0.001353, allocations: 170 kB / 23.94 MB, free: 0.6172 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.8961/0.8961, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.5409/0.5409, allocations: 88.06 MB / 348.7 MB, free: 14.38 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.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 1.493e-06/1.493e-06, allocations: 0 / 0.5231 GB, free: 3.984 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.966e-05, allocations: 6.281 kB / 0.5231 GB, free: 3.977 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.002472/0.002492, allocations: 2.307 MB / 0.5253 GB, free: 1.656 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.003339, allocations: 0.557 MB / 0.5259 GB, free: 1.094 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.003428, allocations: 0 / 0.5259 GB, free: 1.094 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.00355, allocations: 35.64 kB / 0.5259 GB, free: 1.059 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.003657, allocations: 67.42 kB / 0.526 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.003821, allocations: 63.89 kB / 0.526 GB, free: 0.9297 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.01406/0.01788, allocations: 26.46 MB / 0.5519 GB, free: 6.34 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007002/0.02488, allocations: 5.635 MB / 0.5574 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01818/0.04306, allocations: 14.64 MB / 0.5717 GB, free: 1.941 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01487/0.05794, allocations: 11 MB / 0.5824 GB, free: 6.922 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.004425/0.06236, allocations: 1.785 MB / 0.5842 GB, free: 5.137 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005262/0.06762, allocations: 1.789 MB / 0.5859 GB, free: 3.348 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.003773/0.0714, allocations: 4.878 MB / 0.5907 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.01496/0.08636, allocations: 7.746 MB / 0.5982 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.03272/0.1191, allocations: 29.33 MB / 0.6269 GB, free: 9.285 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.1191, allocations: 0 / 0.6269 GB, free: 9.285 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1191, allocations: 0 / 0.6269 GB, free: 9.285 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.001252/0.1203, allocations: 0 / 0.6269 GB, free: 9.285 MB / 0.5418 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.4807/0.601, allocations: 25.36 MB / 0.6516 GB, free: 83.08 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.6011, allocations: 12.03 kB / 0.6517 GB, free: 83.07 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005182/0.6063, allocations: 2.304 MB / 0.6539 GB, free: 80.75 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.6112, allocations: 2.079 MB / 0.6559 GB, free: 78.66 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01807/0.6293, allocations: 11.32 MB / 0.667 GB, free: 68.25 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007496/0.63, allocations: 1.145 MB / 0.6681 GB, free: 67.11 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003913/0.6339, allocations: 1.485 MB / 0.6696 GB, free: 65.62 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03742/0.6714, allocations: 35.63 MB / 0.7044 GB, free: 27.46 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/0.6716, allocations: 192 / 0.7044 GB, free: 27.46 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003013/0.6746, allocations: 0.6959 MB / 0.705 GB, free: 26.77 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.6748, allocations: 383.9 kB / 0.7054 GB, free: 26.39 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03244/0.7072, allocations: 25.78 MB / 0.7306 GB, free: 0.5938 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.134/0.8412, allocations: 72.03 MB / 0.8009 GB, free: 7.809 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03023/0.8714, allocations: 20.98 MB / 0.8214 GB, free: 2.871 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01932/0.8907, allocations: 9.436 MB / 0.8306 GB, free: 9.414 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00062/0.8914, allocations: 125.5 kB / 0.8308 GB, free: 9.289 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.8917, allocations: 259.3 kB / 0.831 GB, free: 9.023 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=1218): time 3.018e-05/0.8918, allocations: 0 / 0.831 GB, free: 9.023 MB / 0.6513 GB Notification: Performance of matching and sorting (n=1218): time 0.04921/0.941, allocations: 29.68 MB / 0.86 GB, free: 11.26 MB / 0.6825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002917/0.9413, allocations: 176.9 kB / 0.8602 GB, free: 11.07 MB / 0.6825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02241/0.9637, allocations: 17.12 MB / 0.8769 GB, free: 10.08 MB / 0.6981 GB Notification: Performance of collectPreVariables (initialization): time 0.002407/0.9661, allocations: 297.7 kB / 0.8772 GB, free: 9.785 MB / 0.6981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004395/0.9705, allocations: 7.343 MB / 0.8843 GB, free: 2.402 MB / 0.6981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00475/0.9752, allocations: 4.265 MB / 0.8885 GB, free: 14.1 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004314/0.9796, allocations: 2.71 MB / 0.8911 GB, free: 11.38 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.9796, allocations: 304.9 kB / 0.8914 GB, free: 11.08 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01156/0.9912, allocations: 9.869 MB / 0.9011 GB, free: 1.203 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4385/1.43, allocations: 12 MB / 0.9128 GB, free: 237.2 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02331/1.453, allocations: 20.49 MB / 0.9328 GB, free: 230.5 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.388e-05/1.453, allocations: 11.22 kB / 0.9328 GB, free: 230.5 MB / 0.714 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.03241/1.485, allocations: 32.48 MB / 0.9645 GB, free: 205.4 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/1.485, allocations: 24 kB / 0.9645 GB, free: 205.4 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.939e-05/1.486, allocations: 47.94 kB / 0.9646 GB, free: 205.3 MB / 0.714 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 7.176e-05/1.486, allocations: 84 kB / 0.9647 GB, free: 205.3 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/1.49, allocations: 2.21 MB / 0.9668 GB, free: 203.4 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.997e-05/1.49, allocations: 107.7 kB / 0.9669 GB, free: 203.3 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008379/1.498, allocations: 3.307 MB / 0.9702 GB, free: 200.8 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005797/1.499, allocations: 460 kB / 0.9706 GB, free: 200.4 MB / 0.714 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.006033/1.505, allocations: 6.158 MB / 0.9766 GB, free: 194.2 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001801/1.507, allocations: 1.472 MB / 0.9781 GB, free: 192.9 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/1.508, allocations: 2.164 MB / 0.9802 GB, free: 190.7 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/1.509, allocations: 112 kB / 0.9803 GB, free: 190.6 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002683/1.509, allocations: 119.8 kB / 0.9804 GB, free: 190.5 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.051e-05/1.509, allocations: 59.77 kB / 0.9804 GB, free: 190.4 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01952/1.528, allocations: 13.51 MB / 0.9936 GB, free: 177.2 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.538e-05/1.528, allocations: 0 / 0.9936 GB, free: 177.2 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002659/1.531, allocations: 0.9288 MB / 0.9945 GB, free: 176.2 MB / 0.714 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 5.23e-05/1.531, allocations: 12 kB / 0.9946 GB, free: 176.2 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001707/1.533, allocations: 195.9 kB / 0.9947 GB, free: 176 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.42e-05/1.533, allocations: 12 kB / 0.9948 GB, free: 176 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.533, allocations: 4.031 kB / 0.9948 GB, free: 176 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03372/1.567, allocations: 23.98 MB / 1.018 GB, free: 151.9 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005165/1.572, allocations: 2.396 MB / 1.021 GB, free: 149.7 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001738/1.573, allocations: 192 kB / 1.021 GB, free: 149.5 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007969/1.581, allocations: 4.026 MB / 1.025 GB, free: 145.5 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001511/1.583, allocations: 1.303 MB / 1.026 GB, free: 144.1 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000766/1.584, allocations: 356 kB / 1.026 GB, free: 143.8 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.009796/1.594, allocations: 11.59 MB / 1.038 GB, free: 132.3 MB / 0.714 GB Notification: Performance of sort global known variables: time 2.01e-07/1.594, allocations: 0 / 1.038 GB, free: 132.3 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.008143/1.602, allocations: 5.388 MB / 1.043 GB, free: 127.1 MB / 0.714 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.02112/1.623, allocations: 25 MB / 1.067 GB, free: 102 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.01939/1.642, allocations: 20.57 MB / 1.087 GB, free: 81.37 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/1.642, allocations: 27.19 kB / 1.087 GB, free: 81.34 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.007969/1.65, allocations: 9.13 MB / 1.096 GB, free: 72.18 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00968/1.66, allocations: 3.749 MB / 1.1 GB, free: 68.46 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5109/2.171, allocations: 183.6 MB / 1.279 GB, free: 164 MB / 0.7296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005037/2.176, allocations: 10.62 MB / 1.29 GB, free: 153.3 MB / 0.7296 GB Notification: Performance of simCode: alias equations: time 0.00883/2.185, allocations: 6.441 MB / 1.296 GB, free: 146.9 MB / 0.7296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004807/2.189, allocations: 6.008 MB / 1.302 GB, free: 140.9 MB / 0.7296 GB Notification: Performance of SimCode: time 1.824e-06/2.189, allocations: 4 kB / 1.302 GB, free: 140.9 MB / 0.7296 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5449/2.734, allocations: 372.3 MB / 1.665 GB, free: 61.7 MB / 0.7453 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.54/29.28, allocations: 11.98 kB / 1.665 GB, free: 61.69 MB / 0.7453 GB " [Timeout remaining time 270] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat","/var/lib/jenkins/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: 38.977160106413066]