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.00129/0.00129, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.001246/0.001246, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9501/0.9501, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 62.67 kB / 0.5705 GB, free: 39.96 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1598, allocations: 80.71 MB / 0.6493 GB, free: 13.47 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.00341/0.1633, allocations: 2.394 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000899/0.1642, allocations: 0.5415 MB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.1643, allocations: 4 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1644, allocations: 39.66 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1646, allocations: 59.47 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1648, allocations: 59.86 kB / 0.6523 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.1754, allocations: 13.39 MB / 0.6654 GB, free: 12.9 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005778/0.1812, allocations: 5.571 MB / 0.6709 GB, free: 7.242 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00665/0.1879, allocations: 5.279 MB / 0.676 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008681/0.1966, allocations: 5.413 MB / 0.6813 GB, free: 12.52 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.003272/0.1999, allocations: 0.9258 MB / 0.6822 GB, free: 11.59 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004221/0.2041, allocations: 0.9258 MB / 0.6831 GB, free: 10.66 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003094/0.2072, allocations: 2.481 MB / 0.6855 GB, free: 8.176 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.009603/0.2169, allocations: 5.441 MB / 0.6908 GB, free: 2.711 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.2309, allocations: 14.56 MB / 0.7051 GB, free: 4.117 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2309, allocations: 4 kB / 0.7051 GB, free: 4.113 MB / 0.5452 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2309, allocations: 0 / 0.7051 GB, free: 4.113 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0006269/0.2316, allocations: 0 / 0.7051 GB, free: 4.113 MB / 0.5452 GB 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.03418/0.2658, allocations: 12.93 MB / 0.7177 GB, free: 7.078 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.2658, allocations: 11.89 kB / 0.7177 GB, free: 7.066 MB / 0.5608 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004138/0.27, allocations: 1.203 MB / 0.7189 GB, free: 5.852 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/0.2738, allocations: 1.032 MB / 0.7199 GB, free: 4.809 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/0.2902, allocations: 5.603 MB / 0.7254 GB, free: 15.12 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000637/0.2909, allocations: 0.5945 MB / 0.7259 GB, free: 14.52 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002915/0.2938, allocations: 0.766 MB / 0.7267 GB, free: 13.75 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02738/0.3212, allocations: 13.12 MB / 0.7395 GB, free: 0.5781 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.3214, allocations: 0 / 0.7395 GB, free: 0.5781 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001177/0.3226, allocations: 372 kB / 0.7399 GB, free: 220 kB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.3227, allocations: 196 kB / 0.74 GB, free: 24 kB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0235/0.3462, allocations: 13.33 MB / 0.7531 GB, free: 2.668 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6834/1.03, allocations: 38.72 MB / 0.7909 GB, free: 84.1 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/1.042, allocations: 11.28 MB / 0.8019 GB, free: 80.01 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00573/1.048, allocations: 5.3 MB / 0.8071 GB, free: 78.38 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/1.048, allocations: 71.09 kB / 0.8071 GB, free: 78.37 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/1.048, allocations: 148 kB / 0.8073 GB, free: 78.25 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 8.426e-06/1.048, allocations: 7.984 kB / 0.8073 GB, free: 78.25 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.02047/1.069, allocations: 15.46 MB / 0.8224 GB, free: 68.88 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/1.069, allocations: 116.3 kB / 0.8225 GB, free: 68.75 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.08, allocations: 8.767 MB / 0.831 GB, free: 60.01 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.001289/1.081, allocations: 161.7 kB / 0.8312 GB, free: 59.84 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.083, allocations: 3.696 MB / 0.8348 GB, free: 56.2 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001858/1.085, allocations: 2.13 MB / 0.8369 GB, free: 54.05 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002145/1.087, allocations: 1.407 MB / 0.8383 GB, free: 52.63 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.195e-05/1.087, allocations: 305.1 kB / 0.8386 GB, free: 52.33 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005533/1.093, allocations: 5.093 MB / 0.8435 GB, free: 47.23 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005936/1.099, allocations: 6.186 MB / 0.8496 GB, free: 40.75 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/1.111, allocations: 10.57 MB / 0.8599 GB, free: 29.82 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-05/1.111, allocations: 4 kB / 0.8599 GB, free: 29.82 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02088/1.132, allocations: 16.89 MB / 0.8764 GB, free: 12.87 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/1.132, allocations: 12 kB / 0.8764 GB, free: 12.86 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.692e-05/1.132, allocations: 24 kB / 0.8764 GB, free: 12.84 MB / 0.6079 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 7.624e-05/1.132, allocations: 44.88 kB / 0.8765 GB, free: 12.79 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00408/1.136, allocations: 1.115 MB / 0.8776 GB, free: 11.68 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-05/1.136, allocations: 59.8 kB / 0.8776 GB, free: 11.62 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008267/1.145, allocations: 1.595 MB / 0.8792 GB, free: 10.01 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008217/1.145, allocations: 237.6 kB / 0.8794 GB, free: 9.781 MB / 0.6079 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.005365/1.151, allocations: 3.233 MB / 0.8826 GB, free: 6.535 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002443/1.153, allocations: 0.7262 MB / 0.8833 GB, free: 5.801 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/1.155, allocations: 1.123 MB / 0.8844 GB, free: 4.668 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-05/1.155, allocations: 56 kB / 0.8844 GB, free: 4.613 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002233/1.155, allocations: 60 kB / 0.8845 GB, free: 4.555 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.812e-05/1.155, allocations: 27.89 kB / 0.8845 GB, free: 4.527 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/1.166, allocations: 7.989 MB / 0.8923 GB, free: 12.47 MB / 0.6235 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.166, allocations: 0 / 0.8923 GB, free: 12.47 MB / 0.6235 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.168, allocations: 479.3 kB / 0.8928 GB, free: 12 MB / 0.6235 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.659e-05/1.168, allocations: 8 kB / 0.8928 GB, free: 11.99 MB / 0.6235 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003581/1.169, allocations: 104 kB / 0.8929 GB, free: 11.89 MB / 0.6235 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/1.169, allocations: 4 kB / 0.8929 GB, free: 11.89 MB / 0.6235 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.169, allocations: 4 kB / 0.8929 GB, free: 11.88 MB / 0.6235 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/1.189, allocations: 12.55 MB / 0.9051 GB, free: 15.21 MB / 0.6392 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004246/1.193, allocations: 1.206 MB / 0.9063 GB, free: 13.97 MB / 0.6392 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/1.195, allocations: 96 kB / 0.9064 GB, free: 13.88 MB / 0.6392 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009404/1.204, allocations: 1.969 MB / 0.9083 GB, free: 11.91 MB / 0.6392 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001894/1.206, allocations: 0.6403 MB / 0.9089 GB, free: 11.27 MB / 0.6392 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009426/1.207, allocations: 184 kB / 0.9091 GB, free: 11.09 MB / 0.6392 GB Notification: Performance of sorting global known variables: time 0.01032/1.218, allocations: 6.031 MB / 0.915 GB, free: 5.055 MB / 0.6392 GB Notification: Performance of sort global known variables: time 4e-07/1.218, allocations: 0 / 0.915 GB, free: 5.055 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.009556/1.227, allocations: 2.764 MB / 0.9177 GB, free: 2.285 MB / 0.6392 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.02688/1.254, allocations: 13.34 MB / 0.9307 GB, free: 4.805 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.02234/1.277, allocations: 11.05 MB / 0.9415 GB, free: 9.691 MB / 0.6704 GB Notification: Performance of simCode: created event and clocks part: time 3.881e-05/1.277, allocations: 14.5 kB / 0.9415 GB, free: 9.676 MB / 0.6704 GB Notification: Performance of simCode: created simulation system equations: time 0.01031/1.287, allocations: 5.061 MB / 0.9465 GB, free: 4.586 MB / 0.6704 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01329/1.3, allocations: 1.915 MB / 0.9484 GB, free: 2.684 MB / 0.6704 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1688/1.469, allocations: 91.63 MB / 1.038 GB, free: 6.016 MB / 0.7642 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005729/1.475, allocations: 5.965 MB / 1.044 GB, free: 4 kB / 0.7642 GB Notification: Performance of simCode: alias equations: time 0.007355/1.482, allocations: 3.167 MB / 1.047 GB, free: 12.83 MB / 0.7798 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00471/1.487, allocations: 2.952 MB / 1.05 GB, free: 9.875 MB / 0.7798 GB Notification: Performance of SimCode: time 7.21e-07/1.487, allocations: 0 / 1.05 GB, free: 9.875 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5738/2.061, allocations: 184.8 MB / 1.23 GB, free: 149.6 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.33/30.39, allocations: 4.188 kB / 1.23 GB, free: 149.6 MB / 0.7954 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