Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.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.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",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.001375/0.001375, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.001323/0.001323, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.372/1.372, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.034/1.034, allocations: 119.3 MB / 411 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 67.91 kB / 0.4911 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5597/0.561, allocations: 80.68 MB / 0.5699 GB, free: 43.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.003333/0.5644, allocations: 2.392 MB / 0.5722 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007596/0.5652, allocations: 0.5435 MB / 0.5727 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.5653, allocations: 2.812 kB / 0.5727 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.5654, allocations: 35.8 kB / 0.5728 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.5656, allocations: 70.34 kB / 0.5728 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.5657, allocations: 53.55 kB / 0.5729 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009143/0.5749, allocations: 13.33 MB / 0.5859 GB, free: 33.13 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004432/0.5793, allocations: 5.567 MB / 0.5913 GB, free: 27.49 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005941/0.5853, allocations: 5.275 MB / 0.5965 GB, free: 22.2 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007181/0.5925, allocations: 5.409 MB / 0.6018 GB, free: 16.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.003313/0.5959, allocations: 0.9219 MB / 0.6027 GB, free: 15.85 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005549/0.6014, allocations: 0.9258 MB / 0.6036 GB, free: 14.92 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00403/0.6055, allocations: 2.488 MB / 0.606 GB, free: 12.43 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01103/0.6165, allocations: 5.429 MB / 0.6113 GB, free: 6.973 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01491/0.6315, allocations: 14.42 MB / 0.6254 GB, free: 8.516 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.6315, allocations: 0 / 0.6254 GB, free: 8.516 MB / 478.3 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6316, allocations: 4 kB / 0.6254 GB, free: 8.512 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0007223/0.6323, allocations: 0 / 0.6254 GB, free: 8.512 MB / 478.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.0356/0.6679, allocations: 12.94 MB / 0.638 GB, free: 11.47 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.668, allocations: 11.89 kB / 0.638 GB, free: 11.46 MB / 494.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002679/0.6707, allocations: 1.207 MB / 0.6392 GB, free: 10.24 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.673, allocations: 1.032 MB / 0.6402 GB, free: 9.195 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.6849, allocations: 5.443 MB / 0.6455 GB, free: 3.668 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005573/0.6855, allocations: 0.5945 MB / 0.6461 GB, free: 3.07 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002494/0.688, allocations: 0.7699 MB / 0.6469 GB, free: 2.301 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02698/0.715, allocations: 13.12 MB / 0.6597 GB, free: 5.117 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.7152, allocations: 3.938 kB / 0.6597 GB, free: 5.113 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/0.7167, allocations: 372 kB / 0.66 GB, free: 4.75 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.7168, allocations: 196 kB / 0.6602 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/0.7418, allocations: 13.33 MB / 0.6732 GB, free: 7.211 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08619/0.8281, allocations: 38.95 MB / 0.7113 GB, free: 15.52 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/0.843, allocations: 11.28 MB / 0.7223 GB, free: 4.234 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006711/0.8498, allocations: 5.31 MB / 0.7275 GB, free: 14.9 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.85, allocations: 64.94 kB / 0.7275 GB, free: 14.84 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.8501, allocations: 157.5 kB / 0.7277 GB, free: 14.67 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=630): time 7.815e-06/0.8502, allocations: 0 / 0.7277 GB, free: 14.67 MB / 0.5764 GB Notification: Performance of matching and sorting (n=630): time 0.02398/0.8741, allocations: 15.44 MB / 0.7428 GB, free: 15.13 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/0.8743, allocations: 120.3 kB / 0.7429 GB, free: 15 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01851/0.8928, allocations: 8.779 MB / 0.7514 GB, free: 6.207 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001807/0.8947, allocations: 169.6 kB / 0.7516 GB, free: 6.035 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.003468/0.8981, allocations: 3.683 MB / 0.7552 GB, free: 2.316 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.00286/0.901, allocations: 2.126 MB / 0.7573 GB, free: 164 kB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.516/1.417, allocations: 1.406 MB / 0.7587 GB, free: 154.3 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/1.417, allocations: 301.8 kB / 0.7589 GB, free: 154 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008775/1.426, allocations: 5.094 MB / 0.7639 GB, free: 154 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009074/1.435, allocations: 6.19 MB / 0.77 GB, free: 152 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01565/1.451, allocations: 10.56 MB / 0.7803 GB, free: 148.3 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.213e-05/1.451, allocations: 7.656 kB / 0.7803 GB, free: 148.3 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.0274/1.478, allocations: 16.88 MB / 0.7968 GB, free: 138 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/1.478, allocations: 12 kB / 0.7968 GB, free: 138 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-05/1.478, allocations: 24 kB / 0.7968 GB, free: 138 MB / 0.5923 GB Notification: Tearing is skipped for strong component 1 because system size of 419 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.054e-05/1.479, allocations: 44 kB / 0.7969 GB, free: 137.9 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/1.484, allocations: 1.123 MB / 0.7979 GB, free: 136.9 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.906e-05/1.484, allocations: 55.8 kB / 0.798 GB, free: 136.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009896/1.493, allocations: 1.595 MB / 0.7996 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.495, allocations: 243.9 kB / 0.7998 GB, free: 135.4 MB / 0.5923 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (523): * Single equations (assignments): 522 * 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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0057/1.501, allocations: 3.237 MB / 0.803 GB, free: 132.1 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/1.503, allocations: 0.7224 MB / 0.8037 GB, free: 131.4 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/1.504, allocations: 1.122 MB / 0.8048 GB, free: 130.3 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/1.504, allocations: 60 kB / 0.8048 GB, free: 130.2 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002033/1.505, allocations: 56 kB / 0.8049 GB, free: 130.1 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/1.505, allocations: 31.89 kB / 0.8049 GB, free: 130.1 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008829/1.514, allocations: 7.986 MB / 0.8127 GB, free: 122.1 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.514, allocations: 0 / 0.8127 GB, free: 122.1 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/1.515, allocations: 471.3 kB / 0.8131 GB, free: 121.6 MB / 0.5923 GB Notification: Tearing is skipped for strong component 2 because system size of 419 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.105e-05/1.515, allocations: 12 kB / 0.8132 GB, free: 121.6 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003107/1.515, allocations: 100 kB / 0.8133 GB, free: 121.5 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/1.515, allocations: 8 kB / 0.8133 GB, free: 121.5 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.515, allocations: 0 / 0.8133 GB, free: 121.5 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/1.531, allocations: 12.56 MB / 0.8255 GB, free: 108.8 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003182/1.534, allocations: 1.21 MB / 0.8267 GB, free: 107.6 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00226/1.536, allocations: 100 kB / 0.8268 GB, free: 107.5 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009067/1.545, allocations: 1.966 MB / 0.8287 GB, free: 105.5 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002375/1.548, allocations: 0.6435 MB / 0.8293 GB, free: 104.9 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001627/1.55, allocations: 184 kB / 0.8295 GB, free: 104.7 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.0105/1.56, allocations: 6.027 MB / 0.8354 GB, free: 98.69 MB / 0.5923 GB Notification: Performance of sort global known variables: time 5.91e-07/1.56, allocations: 0 / 0.8354 GB, free: 98.69 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.01008/1.57, allocations: 2.768 MB / 0.8381 GB, free: 95.91 MB / 0.5923 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 (212): * Single equations (assignments): 211 * 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 {(419,0.6%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02517/1.595, allocations: 13.34 MB / 0.8511 GB, free: 82.44 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.03517/1.631, allocations: 26.84 MB / 0.8773 GB, free: 55.56 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.032e-05/1.631, allocations: 22.06 kB / 0.8774 GB, free: 55.54 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.007424/1.638, allocations: 5.041 MB / 0.8823 GB, free: 50.47 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/1.649, allocations: 1.917 MB / 0.8842 GB, free: 48.56 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1698/1.819, allocations: 121.7 MB / 1.003 GB, free: 15.71 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006574/1.826, allocations: 5.959 MB / 1.009 GB, free: 9.707 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.008801/1.835, allocations: 3.163 MB / 1.012 GB, free: 6.539 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00575/1.84, allocations: 2.956 MB / 1.015 GB, free: 3.582 MB / 0.686 GB Notification: Performance of SimCode: time 1.193e-06/1.84, allocations: 0 / 1.015 GB, free: 3.582 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5717/2.412, allocations: 188.7 MB / 1.199 GB, free: 84.96 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/15.26, allocations: 21.48 kB / 1.199 GB, free: 84.94 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches