Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00085/0.0008501, allocations: 88.45 kB / 16.65 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009019/0.0009019, allocations: 182.9 kB / 17.57 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8398/0.8398, allocations: 120.5 MB / 413.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 8 kB / 0.495 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5028, allocations: 82.83 MB / 0.5759 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20): time 0.1168/0.6196, allocations: 167.5 MB / 0.7395 GB, free: 5.984 MB / 0.5764 GB Notification: Performance of NFInst.instExpressions: time 0.5869/1.207, allocations: 36.38 MB / 0.775 GB, free: 228 kB / 0.5923 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03213/1.239, allocations: 0.7245 MB / 0.7757 GB, free: 228 kB / 0.5923 GB Notification: Performance of NFTyping.typeComponents: time 0.02197/1.261, allocations: 4.842 MB / 0.7805 GB, free: 224 kB / 0.5923 GB Notification: Performance of NFTyping.typeBindings: time 0.04165/1.302, allocations: 9.891 MB / 0.7901 GB, free: 96 kB / 0.5923 GB Notification: Performance of NFTyping.typeClassSections: time 0.02748/1.33, allocations: 8.181 MB / 0.7981 GB, free: 14.29 MB / 0.6079 GB Notification: Performance of NFFlatten.flatten: time 0.06412/1.394, allocations: 44.94 MB / 0.842 GB, free: 9.605 MB / 0.6235 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02587/1.42, allocations: 10.43 MB / 0.8522 GB, free: 3.66 MB / 0.6235 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02945/1.45, allocations: 14.07 MB / 0.8659 GB, free: 6.73 MB / 0.6392 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03017/1.48, allocations: 16.28 MB / 0.8818 GB, free: 6.367 MB / 0.6548 GB Notification: Performance of NFPackage.collectConstants: time 0.01259/1.492, allocations: 1.926 MB / 0.8837 GB, free: 4.441 MB / 0.6548 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01605/1.508, allocations: 1.926 MB / 0.8856 GB, free: 2.516 MB / 0.6548 GB Notification: Performance of NFScalarize.scalarize: time 0.01264/1.521, allocations: 6.348 MB / 0.8918 GB, free: 12.14 MB / 0.6704 GB Notification: Performance of NFVerifyModel.verify: time 0.03872/1.56, allocations: 17.71 MB / 0.9091 GB, free: 10.32 MB / 0.686 GB Notification: Performance of NFConvertDAE.convert: time 0.05115/1.611, allocations: 40.01 MB / 0.9482 GB, free: 3.168 MB / 0.7173 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.611, allocations: 0 / 0.9482 GB, free: 3.168 MB / 0.7173 GB Notification: Performance of FrontEnd: time 2.054e-06/1.611, allocations: 0 / 0.9482 GB, free: 3.168 MB / 0.7173 GB Notification: Performance of Transformations before backend: time 0.002159/1.613, allocations: 0 / 0.9482 GB, free: 3.168 MB / 0.7173 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.06472/1.678, allocations: 31.44 MB / 0.9789 GB, free: 3.723 MB / 0.7485 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.678, allocations: 8.031 kB / 0.9789 GB, free: 3.715 MB / 0.7485 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01085/1.689, allocations: 4.138 MB / 0.9829 GB, free: 15.57 MB / 0.7642 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/1.699, allocations: 4.014 MB / 0.9868 GB, free: 11.52 MB / 0.7642 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02838/1.728, allocations: 12.66 MB / 0.9992 GB, free: 15.11 MB / 0.7798 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002424/1.73, allocations: 2.317 MB / 1.001 GB, free: 12.79 MB / 0.7798 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006648/1.737, allocations: 3 MB / 1.004 GB, free: 9.789 MB / 0.7798 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0671/1.804, allocations: 25.14 MB / 1.029 GB, free: 0.6211 MB / 0.7954 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001098/1.805, allocations: 0 / 1.029 GB, free: 0.6211 MB / 0.7954 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006757/1.812, allocations: 1.399 MB / 1.03 GB, free: 15.22 MB / 0.811 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006124/1.812, allocations: 0.75 MB / 1.031 GB, free: 14.47 MB / 0.811 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3696/2.182, allocations: 21.49 MB / 1.052 GB, free: 306.3 MB / 0.811 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2026/2.385, allocations: 95.48 MB / 1.145 GB, free: 245.4 MB / 0.811 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0393/2.424, allocations: 28.12 MB / 1.173 GB, free: 227.7 MB / 0.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01675/2.441, allocations: 10.77 MB / 1.183 GB, free: 218.9 MB / 0.811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/2.442, allocations: 247.2 kB / 1.183 GB, free: 218.6 MB / 0.811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/2.443, allocations: 496.2 kB / 1.184 GB, free: 218.1 MB / 0.811 GB Notification: Performance of pre-optimization done (n=2460): time 8.533e-05/2.443, allocations: 0 / 1.184 GB, free: 218.1 MB / 0.811 GB Notification: Performance of matching and sorting (n=2460): time 0.06255/2.506, allocations: 31.64 MB / 1.215 GB, free: 186.5 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/2.506, allocations: 298.6 kB / 1.215 GB, free: 186.2 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03459/2.54, allocations: 19.71 MB / 1.234 GB, free: 166.6 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.004055/2.544, allocations: 0.5524 MB / 1.235 GB, free: 166 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.009223/2.554, allocations: 14.62 MB / 1.249 GB, free: 151.4 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.006688/2.56, allocations: 8.164 MB / 1.257 GB, free: 143.3 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005168/2.566, allocations: 2.09 MB / 1.259 GB, free: 141.2 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 3.749e-05/2.566, allocations: 304.2 kB / 1.259 GB, free: 140.9 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0146/2.58, allocations: 7.385 MB / 1.267 GB, free: 133.5 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01802/2.598, allocations: 11.47 MB / 1.278 GB, free: 120.8 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06966/2.668, allocations: 19.25 MB / 1.297 GB, free: 100.3 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/2.668, allocations: 28 kB / 1.297 GB, free: 100.2 MB / 0.811 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.07514/2.743, allocations: 33.64 MB / 1.33 GB, free: 66.5 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/2.744, allocations: 55.92 kB / 1.33 GB, free: 66.45 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/2.744, allocations: 88 kB / 1.33 GB, free: 66.36 MB / 0.811 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.0002167/2.744, allocations: 167.9 kB / 1.33 GB, free: 66.2 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01289/2.757, allocations: 3.171 MB / 1.333 GB, free: 63.02 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002564/2.757, allocations: 219.4 kB / 1.333 GB, free: 62.8 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02516/2.782, allocations: 2.748 MB / 1.336 GB, free: 60.02 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003679/2.786, allocations: 0.9074 MB / 1.337 GB, free: 59.12 MB / 0.811 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.01365/2.8, allocations: 3.447 MB / 1.34 GB, free: 55.66 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007335/2.807, allocations: 2.82 MB / 1.343 GB, free: 52.8 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006233/2.813, allocations: 2.742 MB / 1.346 GB, free: 50.05 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001383/2.813, allocations: 232 kB / 1.346 GB, free: 49.82 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007259/2.814, allocations: 228.9 kB / 1.346 GB, free: 49.6 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004054/2.815, allocations: 119.5 kB / 1.346 GB, free: 49.48 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03949/2.854, allocations: 21.5 MB / 1.367 GB, free: 28.2 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001028/2.854, allocations: 0 / 1.367 GB, free: 28.2 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004549/2.859, allocations: 1.225 MB / 1.368 GB, free: 26.97 MB / 0.811 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 8.887e-05/2.859, allocations: 31.94 kB / 1.368 GB, free: 26.94 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00223/2.861, allocations: 388 kB / 1.369 GB, free: 26.56 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.589e-05/2.861, allocations: 24 kB / 1.369 GB, free: 26.54 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/2.861, allocations: 9.531 kB / 1.369 GB, free: 26.53 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.332/3.193, allocations: 27.05 MB / 1.395 GB, free: 274.7 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008038/3.201, allocations: 2.993 MB / 1.398 GB, free: 274.6 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007966/3.209, allocations: 390.4 kB / 1.398 GB, free: 274.6 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02876/3.238, allocations: 3.391 MB / 1.402 GB, free: 274.6 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005175/3.243, allocations: 2.496 MB / 1.404 GB, free: 274.6 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004417/3.248, allocations: 0.707 MB / 1.405 GB, free: 274.6 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.02518/3.273, allocations: 13.03 MB / 1.418 GB, free: 270.9 MB / 0.811 GB Notification: Performance of sort global known variables: time 5.71e-07/3.273, allocations: 0 / 1.418 GB, free: 270.9 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.02358/3.296, allocations: 8.799 MB / 1.426 GB, free: 269.7 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 (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.05078/3.347, allocations: 28.59 MB / 1.454 GB, free: 258.1 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.03647/3.384, allocations: 21.97 MB / 1.476 GB, free: 250.3 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 4.415e-05/3.384, allocations: 58.45 kB / 1.476 GB, free: 250.3 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.01896/3.403, allocations: 11.33 MB / 1.487 GB, free: 246.1 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03684/3.44, allocations: 5.761 MB / 1.492 GB, free: 243.8 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.322/4.762, allocations: 0.6949 GB / 2.187 GB, free: 106.5 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/4.774, allocations: 11.02 MB / 2.198 GB, free: 104.9 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.0148/4.789, allocations: 2.648 MB / 2.201 GB, free: 104.1 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01459/4.803, allocations: 14.08 MB / 2.214 GB, free: 92.04 MB / 0.8267 GB Notification: Performance of SimCode: time 8.52e-07/4.803, allocations: 0 / 2.214 GB, free: 92.04 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.367/6.17, allocations: 0.5039 GB / 2.718 GB, free: 160.1 MB / 0.8267 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/6.17, allocations: 346 kB / 2.719 GB, free: 159.7 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.37/24.54, allocations: 0 / 2.719 GB, free: 159.7 MB / 0.8267 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches