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.001118/0.001118, allocations: 107.8 kB / 17.06 MB, free: 5.82 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.001163/0.001163, allocations: 195.9 kB / 18 MB, free: 4.965 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8179/0.8179, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 63.25 kB / 0.5705 GB, free: 40 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 80.69 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.00324/0.1342, allocations: 2.402 MB / 0.6517 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.1351, allocations: 0.5377 MB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1352, allocations: 4 kB / 0.6522 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.1354, allocations: 35.64 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.1355, allocations: 71.41 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.1357, allocations: 55.92 kB / 0.6523 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.009417/0.1451, allocations: 13.41 MB / 0.6654 GB, free: 12.88 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005458/0.1506, allocations: 5.564 MB / 0.6709 GB, free: 7.227 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006395/0.157, allocations: 5.283 MB / 0.676 GB, free: 1.93 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007869/0.1649, allocations: 5.409 MB / 0.6813 GB, free: 12.5 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.003032/0.168, allocations: 0.9296 MB / 0.6822 GB, free: 11.57 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.1718, allocations: 0.9258 MB / 0.6831 GB, free: 10.64 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003154/0.175, allocations: 2.481 MB / 0.6856 GB, free: 8.152 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.008536/0.1835, allocations: 5.437 MB / 0.6909 GB, free: 2.691 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.1969, allocations: 14.61 MB / 0.7051 GB, free: 4.039 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1969, allocations: 0 / 0.7051 GB, free: 4.039 MB / 0.5452 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1969, allocations: 0 / 0.7051 GB, free: 4.039 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0005327/0.1974, allocations: 4 kB / 0.7051 GB, free: 4.035 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.02927/0.2267, allocations: 13.18 MB / 0.718 GB, free: 6.746 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2268, allocations: 8.031 kB / 0.718 GB, free: 6.738 MB / 0.5608 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00355/0.2303, allocations: 1.203 MB / 0.7192 GB, free: 5.523 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/0.2341, allocations: 1.081 MB / 0.7202 GB, free: 4.438 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/0.2491, allocations: 5.638 MB / 0.7257 GB, free: 14.72 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006096/0.2497, allocations: 0.5945 MB / 0.7263 GB, free: 14.12 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002644/0.2524, allocations: 0.7699 MB / 0.7271 GB, free: 13.35 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/0.2785, allocations: 13.12 MB / 0.7399 GB, free: 180 kB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002957/0.2789, allocations: 0 / 0.7399 GB, free: 180 kB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00239/0.2813, allocations: 364.1 kB / 0.7402 GB, free: 15.82 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.2814, allocations: 196 kB / 0.7404 GB, free: 15.62 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.3039, allocations: 13.33 MB / 0.7534 GB, free: 2.27 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6054/0.9093, allocations: 38.82 MB / 0.7913 GB, free: 84.18 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.9205, allocations: 11.27 MB / 0.8023 GB, free: 80.07 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005311/0.9258, allocations: 5.313 MB / 0.8075 GB, free: 78.38 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.926, allocations: 66.34 kB / 0.8076 GB, free: 78.37 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.9262, allocations: 147.5 kB / 0.8077 GB, free: 78.26 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 7.404e-06/0.9262, allocations: 4 kB / 0.8077 GB, free: 78.25 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.01911/0.9453, allocations: 15.48 MB / 0.8229 GB, free: 68.35 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.9454, allocations: 120.3 kB / 0.823 GB, free: 68.22 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009689/0.9551, allocations: 8.776 MB / 0.8315 GB, free: 59.47 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.001161/0.9563, allocations: 161.7 kB / 0.8317 GB, free: 59.31 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/0.9582, allocations: 3.793 MB / 0.8354 GB, free: 55.9 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/0.9599, allocations: 2.232 MB / 0.8376 GB, free: 53.91 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/0.9619, allocations: 1.415 MB / 0.839 GB, free: 52.49 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.9619, allocations: 301.1 kB / 0.8393 GB, free: 52.2 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005086/0.967, allocations: 5.093 MB / 0.8442 GB, free: 47.1 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005588/0.9726, allocations: 6.19 MB / 0.8503 GB, free: 40.61 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/0.9857, allocations: 10.57 MB / 0.8606 GB, free: 29.68 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.9858, allocations: 4 kB / 0.8606 GB, free: 29.68 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02438/1.01, allocations: 16.91 MB / 0.8771 GB, free: 12.71 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/1.01, allocations: 16 kB / 0.8771 GB, free: 12.7 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.868e-05/1.01, allocations: 24 kB / 0.8772 GB, free: 12.67 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.968e-05/1.01, allocations: 40.88 kB / 0.8772 GB, free: 12.63 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/1.015, allocations: 1.123 MB / 0.8783 GB, free: 11.51 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.787e-05/1.015, allocations: 63.73 kB / 0.8783 GB, free: 11.45 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008129/1.023, allocations: 1.615 MB / 0.8799 GB, free: 10.03 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/1.024, allocations: 240 kB / 0.8802 GB, free: 9.793 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.005695/1.03, allocations: 3.23 MB / 0.8833 GB, free: 6.566 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002462/1.032, allocations: 0.7612 MB / 0.8841 GB, free: 5.801 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/1.034, allocations: 1.123 MB / 0.8851 GB, free: 4.668 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/1.034, allocations: 60 kB / 0.8852 GB, free: 4.609 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001724/1.034, allocations: 63.94 kB / 0.8853 GB, free: 4.547 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.538e-05/1.035, allocations: 27.89 kB / 0.8853 GB, free: 4.52 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/1.048, allocations: 7.986 MB / 0.8931 GB, free: 12.53 MB / 0.6235 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/1.048, allocations: 0.875 kB / 0.8931 GB, free: 12.53 MB / 0.6235 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.05, allocations: 479.3 kB / 0.8935 GB, free: 12.06 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 4.059e-05/1.05, allocations: 4 kB / 0.8936 GB, free: 12.06 MB / 0.6235 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008103/1.051, allocations: 105.5 kB / 0.8937 GB, free: 11.96 MB / 0.6235 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/1.051, allocations: 8 kB / 0.8937 GB, free: 11.95 MB / 0.6235 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.051, allocations: 3.938 kB / 0.8937 GB, free: 11.95 MB / 0.6235 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02189/1.072, allocations: 12.59 MB / 0.906 GB, free: 15.24 MB / 0.6392 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003766/1.076, allocations: 1.237 MB / 0.9072 GB, free: 13.98 MB / 0.6392 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002243/1.079, allocations: 101.6 kB / 0.9073 GB, free: 13.88 MB / 0.6392 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009036/1.088, allocations: 1.962 MB / 0.9092 GB, free: 11.91 MB / 0.6392 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001604/1.089, allocations: 0.6403 MB / 0.9098 GB, free: 11.27 MB / 0.6392 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001108/1.09, allocations: 188 kB / 0.91 GB, free: 11.09 MB / 0.6392 GB Notification: Performance of sorting global known variables: time 0.01002/1.1, allocations: 6.035 MB / 0.9159 GB, free: 5.051 MB / 0.6392 GB Notification: Performance of sort global known variables: time 3.31e-07/1.1, allocations: 0 / 0.9159 GB, free: 5.051 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.008854/1.109, allocations: 2.777 MB / 0.9186 GB, free: 2.27 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.02449/1.134, allocations: 13.37 MB / 0.9317 GB, free: 4.766 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.01975/1.154, allocations: 11.05 MB / 0.9424 GB, free: 9.652 MB / 0.6704 GB Notification: Performance of simCode: created event and clocks part: time 2.072e-05/1.154, allocations: 22.38 kB / 0.9425 GB, free: 9.629 MB / 0.6704 GB Notification: Performance of simCode: created simulation system equations: time 0.009366/1.163, allocations: 5.06 MB / 0.9474 GB, free: 4.539 MB / 0.6704 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01128/1.174, allocations: 1.918 MB / 0.9493 GB, free: 2.625 MB / 0.6704 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1559/1.33, allocations: 91.94 MB / 1.039 GB, free: 5.637 MB / 0.7642 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007691/1.338, allocations: 5.959 MB / 1.045 GB, free: 15.63 MB / 0.7798 GB Notification: Performance of simCode: alias equations: time 0.008277/1.346, allocations: 3.159 MB / 1.048 GB, free: 12.46 MB / 0.7798 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005356/1.352, allocations: 2.956 MB / 1.051 GB, free: 9.504 MB / 0.7798 GB Notification: Performance of SimCode: time 7.32e-07/1.352, allocations: 0 / 1.051 GB, free: 9.504 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4884/1.84, allocations: 182.4 MB / 1.229 GB, free: 152 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.61/29.45, allocations: 12.11 kB / 1.229 GB, free: 152 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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