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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 107.7 kB / 17.06 MB, free: 5.996 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.001649/0.001649, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.392/1.392, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9647/0.9647, allocations: 119.3 MB / 411.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 66.5 kB / 0.5705 GB, free: 39.96 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.132, allocations: 80.69 MB / 0.6493 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.003529/0.1355, allocations: 2.402 MB / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.1365, allocations: 0.5416 MB / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.1366, allocations: 3.938 kB / 0.6522 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.1368, allocations: 39.64 kB / 0.6522 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.1369, allocations: 55.48 kB / 0.6523 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.1371, allocations: 59.92 kB / 0.6524 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0232/0.1603, allocations: 25.83 MB / 0.6776 GB, free: 432 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01506/0.1754, allocations: 11.04 MB / 0.6884 GB, free: 5.293 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01428/0.1897, allocations: 10.19 MB / 0.6983 GB, free: 11.07 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0176/0.2074, allocations: 10.46 MB / 0.7085 GB, free: 0.5742 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.00681/0.2142, allocations: 1.785 MB / 0.7103 GB, free: 14.79 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009112/0.2234, allocations: 1.785 MB / 0.712 GB, free: 13 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.009308/0.2327, allocations: 4.794 MB / 0.7167 GB, free: 8.195 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.01981/0.2525, allocations: 10.49 MB / 0.7269 GB, free: 13.66 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.03419/0.2868, allocations: 28.23 MB / 0.7545 GB, free: 1.34 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2868, allocations: 0 / 0.7545 GB, free: 1.34 MB / 0.592 GB Notification: Performance of FrontEnd: time 5.811e-06/0.2868, allocations: 7.984 kB / 0.7545 GB, free: 1.332 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.001091/0.2879, allocations: 0 / 0.7545 GB, free: 1.332 MB / 0.592 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.5932/0.8812, allocations: 25.59 MB / 0.7795 GB, free: 85.81 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.8812, allocations: 10 kB / 0.7795 GB, free: 85.81 MB / 0.6079 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008582/0.8898, allocations: 2.301 MB / 0.7818 GB, free: 84.66 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008989/0.8988, allocations: 2.083 MB / 0.7838 GB, free: 83.62 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02986/0.9287, allocations: 10.76 MB / 0.7943 GB, free: 80.79 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001122/0.9299, allocations: 1.144 MB / 0.7954 GB, free: 80.26 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00518/0.9351, allocations: 1.488 MB / 0.7969 GB, free: 79.77 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04816/0.9832, allocations: 25.37 MB / 0.8217 GB, free: 58.3 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005049/0.9838, allocations: 3.938 kB / 0.8217 GB, free: 58.3 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005417/0.9892, allocations: 0.6946 MB / 0.8223 GB, free: 57.61 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.9894, allocations: 380 kB / 0.8227 GB, free: 57.23 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04285/1.032, allocations: 25.84 MB / 0.8479 GB, free: 31.38 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1665/1.199, allocations: 75.64 MB / 0.9218 GB, free: 2.988 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03475/1.234, allocations: 22.23 MB / 0.9435 GB, free: 12.8 MB / 0.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0183/1.252, allocations: 10.32 MB / 0.9536 GB, free: 2.461 MB / 0.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008887/1.253, allocations: 125.5 kB / 0.9537 GB, free: 2.336 MB / 0.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/1.253, allocations: 259.3 kB / 0.954 GB, free: 2.07 MB / 0.686 GB Notification: Performance of pre-optimization done (n=1218): time 1.771e-05/1.253, allocations: 7.984 kB / 0.954 GB, free: 2.062 MB / 0.686 GB Notification: Performance of matching and sorting (n=1218): time 0.06349/1.317, allocations: 30.05 MB / 0.9833 GB, free: 3.922 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.317, allocations: 180.9 kB / 0.9835 GB, free: 3.73 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03261/1.35, allocations: 16.91 MB / 1 GB, free: 2.953 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.002564/1.352, allocations: 289.7 kB / 1 GB, free: 2.664 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.00845/1.361, allocations: 7.37 MB / 1.007 GB, free: 11.25 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.005918/1.367, allocations: 4.323 MB / 1.012 GB, free: 6.895 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009956/1.377, allocations: 2.726 MB / 1.014 GB, free: 4.16 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.377, allocations: 301.1 kB / 1.015 GB, free: 3.863 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01876/1.396, allocations: 9.873 MB / 1.024 GB, free: 9.98 MB / 0.7642 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02175/1.417, allocations: 12 MB / 1.036 GB, free: 13.38 MB / 0.7798 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04475/1.462, allocations: 20.48 MB / 1.056 GB, free: 8.211 MB / 0.7954 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.119e-05/1.462, allocations: 16 kB / 1.056 GB, free: 8.195 MB / 0.7954 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.413/1.875, allocations: 32.87 MB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/1.875, allocations: 25.59 kB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/1.875, allocations: 44.19 kB / 1.088 GB, free: 257.9 MB / 0.811 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.0002054/1.876, allocations: 81.69 kB / 1.088 GB, free: 257.9 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009548/1.885, allocations: 2.221 MB / 1.09 GB, free: 257.7 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001982/1.885, allocations: 104.7 kB / 1.091 GB, free: 257.7 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01987/1.905, allocations: 3.31 MB / 1.094 GB, free: 257.5 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003472/1.909, allocations: 461.7 kB / 1.094 GB, free: 257.5 MB / 0.811 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.01365/1.923, allocations: 6.155 MB / 1.1 GB, free: 257.2 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005924/1.928, allocations: 1.469 MB / 1.102 GB, free: 257.2 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005771/1.934, allocations: 2.162 MB / 1.104 GB, free: 256.7 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/1.934, allocations: 118.2 kB / 1.104 GB, free: 256.7 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003898/1.935, allocations: 114.4 kB / 1.104 GB, free: 256.7 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000181/1.935, allocations: 57.98 kB / 1.104 GB, free: 256.7 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02783/1.963, allocations: 15.37 MB / 1.119 GB, free: 252.5 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-05/1.963, allocations: 5.906 kB / 1.119 GB, free: 252.5 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/1.966, allocations: 0.9237 MB / 1.12 GB, free: 252.4 MB / 0.811 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.365e-05/1.966, allocations: 14.69 kB / 1.12 GB, free: 252.4 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001663/1.968, allocations: 192.9 kB / 1.12 GB, free: 252.2 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.34e-05/1.968, allocations: 19.75 kB / 1.12 GB, free: 252.2 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.968, allocations: 0 / 1.12 GB, free: 252.2 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04152/2.009, allocations: 24.37 MB / 1.144 GB, free: 244.1 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006648/2.016, allocations: 2.321 MB / 1.146 GB, free: 242.1 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006024/2.022, allocations: 192 kB / 1.146 GB, free: 241.9 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01901/2.041, allocations: 4.024 MB / 1.15 GB, free: 238 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003227/2.045, allocations: 1.237 MB / 1.152 GB, free: 236.8 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002481/2.047, allocations: 360 kB / 1.152 GB, free: 236.4 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.01946/2.066, allocations: 11.59 MB / 1.163 GB, free: 224.9 MB / 0.811 GB Notification: Performance of sort global known variables: time 5.51e-07/2.067, allocations: 4 kB / 1.163 GB, free: 224.9 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.01754/2.084, allocations: 5.385 MB / 1.169 GB, free: 219.8 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 (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.04343/2.128, allocations: 25.38 MB / 1.193 GB, free: 194.2 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.03441/2.162, allocations: 21.35 MB / 1.214 GB, free: 172.8 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 2.872e-05/2.162, allocations: 31.19 kB / 1.214 GB, free: 172.8 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.016/2.178, allocations: 9.719 MB / 1.224 GB, free: 163.1 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02387/2.202, allocations: 3.742 MB / 1.227 GB, free: 159.4 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6353/2.837, allocations: 183.1 MB / 1.406 GB, free: 249.1 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/2.851, allocations: 10.92 MB / 1.417 GB, free: 247.9 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.01542/2.866, allocations: 6.424 MB / 1.423 GB, free: 247.2 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009847/2.876, allocations: 6.006 MB / 1.429 GB, free: 243 MB / 0.8267 GB Notification: Performance of SimCode: time 1.042e-06/2.876, allocations: 0 / 1.429 GB, free: 243 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7756/3.652, allocations: 352.8 MB / 1.773 GB, free: 262.3 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 62.47/66.12, allocations: 6.859 kB / 1.773 GB, free: 262.2 MB / 0.8423 GB (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 --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) 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) Reference file matches