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.001871/0.001871, allocations: 110.9 kB / 17.06 MB, free: 5.984 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.001932/0.001932, allocations: 196 kB / 18 MB, free: 5.074 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.417/1.417, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9866/0.9866, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 62.66 kB / 0.5705 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1428, allocations: 80.69 MB / 0.6493 GB, free: 13.36 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.003694/0.1465, allocations: 2.414 MB / 0.6517 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.1475, allocations: 0.5299 MB / 0.6522 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1476, allocations: 7.938 kB / 0.6522 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.1478, allocations: 35.7 kB / 0.6522 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.148, allocations: 63.41 kB / 0.6523 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1482, allocations: 51.92 kB / 0.6523 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.01267/0.1609, allocations: 13.41 MB / 0.6654 GB, free: 12.77 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00696/0.1679, allocations: 5.567 MB / 0.6709 GB, free: 7.121 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/0.1751, allocations: 5.279 MB / 0.676 GB, free: 1.828 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009235/0.1844, allocations: 5.409 MB / 0.6813 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.00374/0.1881, allocations: 0.9257 MB / 0.6822 GB, free: 11.47 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004833/0.193, allocations: 0.9258 MB / 0.6831 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.004402/0.1974, allocations: 2.481 MB / 0.6855 GB, free: 8.055 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.01071/0.2082, allocations: 5.433 MB / 0.6908 GB, free: 2.598 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.2266, allocations: 14.61 MB / 0.7051 GB, free: 3.945 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.2266, allocations: 0 / 0.7051 GB, free: 3.945 MB / 0.5452 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2267, allocations: 0 / 0.7051 GB, free: 3.945 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0006275/0.2273, allocations: 4 kB / 0.7051 GB, free: 3.941 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.03383/0.2611, allocations: 13.17 MB / 0.718 GB, free: 6.656 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.2612, allocations: 11.89 kB / 0.718 GB, free: 6.645 MB / 0.5608 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004528/0.2657, allocations: 1.207 MB / 0.7192 GB, free: 5.426 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.27, allocations: 1.077 MB / 0.7202 GB, free: 4.344 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.283, allocations: 5.642 MB / 0.7257 GB, free: 14.62 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006688/0.2837, allocations: 0.5906 MB / 0.7263 GB, free: 14.03 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/0.2865, allocations: 0.7699 MB / 0.7271 GB, free: 13.26 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02881/0.3153, allocations: 13.12 MB / 0.7399 GB, free: 80 kB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001902/0.3155, allocations: 0 / 0.7399 GB, free: 80 kB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002497/0.318, allocations: 368.1 kB / 0.7402 GB, free: 15.71 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002205/0.3183, allocations: 200 kB / 0.7404 GB, free: 15.52 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02669/0.345, allocations: 13.32 MB / 0.7534 GB, free: 2.176 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5705/0.9155, allocations: 38.82 MB / 0.7913 GB, free: 84.06 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.9277, allocations: 11.26 MB / 0.8023 GB, free: 79.96 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005665/0.9334, allocations: 5.314 MB / 0.8075 GB, free: 78.25 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.9337, allocations: 63.97 kB / 0.8076 GB, free: 78.24 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.9338, allocations: 152.5 kB / 0.8077 GB, free: 78.12 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 8.346e-06/0.9338, allocations: 0 / 0.8077 GB, free: 78.12 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.01996/0.9538, allocations: 15.48 MB / 0.8228 GB, free: 68.09 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.9539, allocations: 120.3 kB / 0.823 GB, free: 67.96 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/0.964, allocations: 8.776 MB / 0.8315 GB, free: 59.21 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/0.9651, allocations: 161.7 kB / 0.8317 GB, free: 59.05 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.002106/0.9673, allocations: 3.79 MB / 0.8354 GB, free: 55.65 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/0.9692, allocations: 2.231 MB / 0.8376 GB, free: 53.67 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002442/0.9716, allocations: 1.415 MB / 0.839 GB, free: 52.25 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.9717, allocations: 305.1 kB / 0.8392 GB, free: 51.95 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00567/0.9774, allocations: 5.089 MB / 0.8442 GB, free: 46.86 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006542/0.9839, allocations: 6.19 MB / 0.8503 GB, free: 40.36 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/0.9976, allocations: 10.57 MB / 0.8606 GB, free: 29.44 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.902e-05/0.9977, allocations: 4 kB / 0.8606 GB, free: 29.44 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02367/1.021, allocations: 16.92 MB / 0.8771 GB, free: 12.46 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/1.021, allocations: 19.98 kB / 0.8771 GB, free: 12.44 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/1.022, allocations: 24 kB / 0.8771 GB, free: 12.42 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 5.467e-05/1.022, allocations: 40.88 kB / 0.8772 GB, free: 12.38 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/1.026, allocations: 1.111 MB / 0.8783 GB, free: 11.27 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.669e-05/1.026, allocations: 59.84 kB / 0.8783 GB, free: 11.21 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007983/1.034, allocations: 1.625 MB / 0.8799 GB, free: 9.777 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/1.035, allocations: 236 kB / 0.8801 GB, free: 9.547 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.005563/1.041, allocations: 3.238 MB / 0.8833 GB, free: 6.312 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/1.043, allocations: 0.7573 MB / 0.884 GB, free: 5.551 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.045, allocations: 1.115 MB / 0.8851 GB, free: 4.426 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/1.045, allocations: 67.98 kB / 0.8852 GB, free: 4.359 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001675/1.045, allocations: 60 kB / 0.8853 GB, free: 4.301 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.856e-05/1.045, allocations: 30.23 kB / 0.8853 GB, free: 4.273 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.057, allocations: 7.989 MB / 0.8931 GB, free: 12.28 MB / 0.6235 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/1.057, allocations: 0.875 kB / 0.8931 GB, free: 12.28 MB / 0.6235 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.059, allocations: 487.3 kB / 0.8935 GB, free: 11.81 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.239e-05/1.059, allocations: 4 kB / 0.8936 GB, free: 11.8 MB / 0.6235 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000645/1.06, allocations: 96 kB / 0.8936 GB, free: 11.71 MB / 0.6235 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/1.06, allocations: 8 kB / 0.8937 GB, free: 11.7 MB / 0.6235 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.06, allocations: 3.938 kB / 0.8937 GB, free: 11.7 MB / 0.6235 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/1.083, allocations: 12.6 MB / 0.906 GB, free: 14.98 MB / 0.6392 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/1.086, allocations: 1.237 MB / 0.9072 GB, free: 13.72 MB / 0.6392 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002188/1.088, allocations: 104 kB / 0.9073 GB, free: 13.62 MB / 0.6392 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009571/1.098, allocations: 1.958 MB / 0.9092 GB, free: 11.66 MB / 0.6392 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001747/1.1, allocations: 0.6442 MB / 0.9098 GB, free: 11.01 MB / 0.6392 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009769/1.101, allocations: 184 kB / 0.91 GB, free: 10.83 MB / 0.6392 GB Notification: Performance of sorting global known variables: time 0.01068/1.111, allocations: 6.031 MB / 0.9159 GB, free: 4.801 MB / 0.6392 GB Notification: Performance of sort global known variables: time 4.2e-07/1.111, allocations: 0 / 0.9159 GB, free: 4.801 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.008367/1.12, allocations: 2.781 MB / 0.9186 GB, free: 2.016 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.02431/1.144, allocations: 13.38 MB / 0.9317 GB, free: 4.504 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.02125/1.165, allocations: 11.05 MB / 0.9424 GB, free: 9.391 MB / 0.6704 GB Notification: Performance of simCode: created event and clocks part: time 2.317e-05/1.165, allocations: 15.94 kB / 0.9425 GB, free: 9.375 MB / 0.6704 GB Notification: Performance of simCode: created simulation system equations: time 0.01019/1.176, allocations: 5.056 MB / 0.9474 GB, free: 4.289 MB / 0.6704 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/1.186, allocations: 1.923 MB / 0.9493 GB, free: 2.371 MB / 0.6704 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1641/1.35, allocations: 91.93 MB / 1.039 GB, free: 5.379 MB / 0.7642 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007577/1.358, allocations: 5.959 MB / 1.045 GB, free: 15.37 MB / 0.7798 GB Notification: Performance of simCode: alias equations: time 0.007869/1.365, allocations: 3.163 MB / 1.048 GB, free: 12.2 MB / 0.7798 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00552/1.371, allocations: 2.956 MB / 1.051 GB, free: 9.242 MB / 0.7798 GB Notification: Performance of SimCode: time 7.92e-07/1.371, allocations: 0 / 1.051 GB, free: 9.242 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5546/1.926, allocations: 182.4 MB / 1.229 GB, free: 151.4 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.87/29.8, allocations: 4.25 kB / 1.229 GB, free: 151.4 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