Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_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.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_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.001081/0.001081, allocations: 106.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.0009653/0.0009656, 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.319/1.319, 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.9334/0.9334, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.88 kB / 0.5708 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1481, allocations: 80.68 MB / 0.6496 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.03715/0.1853, allocations: 46.02 MB / 0.6945 GB, free: 14.99 MB / 0.5452 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.2074, allocations: 9.566 MB / 0.7039 GB, free: 5.387 MB / 0.5452 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01052/0.218, allocations: 195.4 kB / 0.7041 GB, free: 5.195 MB / 0.5452 GB Notification: Performance of NFTyping.typeComponents: time 0.007201/0.2253, allocations: 1.659 MB / 0.7057 GB, free: 3.52 MB / 0.5452 GB Notification: Performance of NFTyping.typeBindings: time 0.01298/0.2383, allocations: 2.966 MB / 0.7086 GB, free: 0.5273 MB / 0.5452 GB Notification: Performance of NFTyping.typeClassSections: time 0.008236/0.2466, allocations: 2.461 MB / 0.711 GB, free: 14.06 MB / 0.5608 GB Notification: Performance of NFFlatten.flatten: time 0.01798/0.2646, allocations: 12.05 MB / 0.7228 GB, free: 1.953 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005232/0.2699, allocations: 3.173 MB / 0.7259 GB, free: 14.69 MB / 0.5764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006915/0.2768, allocations: 4.162 MB / 0.7299 GB, free: 10.52 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007161/0.284, allocations: 4.655 MB / 0.7345 GB, free: 5.84 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.002576/0.2866, allocations: 0.9258 MB / 0.7354 GB, free: 4.914 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.2894, allocations: 0.9258 MB / 0.7363 GB, free: 3.988 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.2911, allocations: 2.11 MB / 0.7383 GB, free: 1.871 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.007212/0.2983, allocations: 5.066 MB / 0.7433 GB, free: 12.78 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.3111, allocations: 11.14 MB / 0.7542 GB, free: 1.598 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.3112, allocations: 0 / 0.7542 GB, free: 1.598 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3112, allocations: 0 / 0.7542 GB, free: 1.598 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.0003724/0.3115, allocations: 0 / 0.7542 GB, free: 1.598 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01925/0.3308, allocations: 9.904 MB / 0.7638 GB, free: 7.586 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.3309, allocations: 11.89 kB / 0.7638 GB, free: 7.574 MB / 0.6077 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001263/0.3321, allocations: 1.074 MB / 0.7649 GB, free: 6.488 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.3339, allocations: 1.077 MB / 0.7659 GB, free: 5.406 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006117/0.3401, allocations: 3.572 MB / 0.7694 GB, free: 1.754 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.3405, allocations: 0.5945 MB / 0.77 GB, free: 1.156 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008639/0.3413, allocations: 0.7699 MB / 0.7708 GB, free: 396 kB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5862/0.9276, allocations: 6.475 MB / 0.7771 GB, free: 98.92 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002582/0.9279, allocations: 0 / 0.7771 GB, free: 98.92 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.929, allocations: 372 kB / 0.7774 GB, free: 98.65 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002081/0.9293, allocations: 197.4 kB / 0.7776 GB, free: 98.65 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.9412, allocations: 5.528 MB / 0.783 GB, free: 96.7 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/0.9887, allocations: 23.84 MB / 0.8063 GB, free: 82.22 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007719/0.9965, allocations: 6.706 MB / 0.8129 GB, free: 78.19 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/1, allocations: 2.731 MB / 0.8155 GB, free: 76.88 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/1, allocations: 64.09 kB / 0.8156 GB, free: 76.87 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/1.001, allocations: 149.4 kB / 0.8157 GB, free: 76.75 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 1.408e-05/1.001, allocations: 0 / 0.8157 GB, free: 76.75 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.01311/1.014, allocations: 8.181 MB / 0.8237 GB, free: 70.55 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/1.014, allocations: 116.3 kB / 0.8238 GB, free: 70.42 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008544/1.022, allocations: 5.135 MB / 0.8288 GB, free: 65.32 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0008603/1.023, allocations: 161.7 kB / 0.829 GB, free: 65.15 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.025, allocations: 3.712 MB / 0.8326 GB, free: 61.83 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/1.027, allocations: 2.207 MB / 0.8348 GB, free: 59.92 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002732/1.03, allocations: 1.123 MB / 0.8359 GB, free: 58.79 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.466e-05/1.03, allocations: 301.1 kB / 0.8362 GB, free: 58.49 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/1.033, allocations: 1.9 MB / 0.838 GB, free: 56.59 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003834/1.037, allocations: 2.939 MB / 0.8409 GB, free: 53.35 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.047, allocations: 4.928 MB / 0.8457 GB, free: 48.06 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.578e-05/1.047, allocations: 8 kB / 0.8457 GB, free: 48.05 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01904/1.066, allocations: 8.68 MB / 0.8542 GB, free: 39.32 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/1.066, allocations: 15.94 kB / 0.8542 GB, free: 39.31 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.826e-05/1.066, allocations: 24.56 kB / 0.8542 GB, free: 39.29 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 8.828e-05/1.066, allocations: 40.88 kB / 0.8543 GB, free: 39.25 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/1.07, allocations: 0.8191 MB / 0.8551 GB, free: 38.43 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.782e-05/1.07, allocations: 51.86 kB / 0.8551 GB, free: 38.38 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006884/1.077, allocations: 0.7283 MB / 0.8558 GB, free: 37.64 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007902/1.078, allocations: 240 kB / 0.856 GB, free: 37.41 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.003285/1.081, allocations: 0.9595 MB / 0.857 GB, free: 36.44 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/1.083, allocations: 0.765 MB / 0.8577 GB, free: 35.67 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/1.084, allocations: 0.7168 MB / 0.8584 GB, free: 34.94 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/1.084, allocations: 60 kB / 0.8585 GB, free: 34.88 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001797/1.084, allocations: 60 kB / 0.8585 GB, free: 34.82 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.187e-05/1.084, allocations: 27.89 kB / 0.8586 GB, free: 34.8 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008547/1.093, allocations: 5.607 MB / 0.864 GB, free: 29.2 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/1.093, allocations: 4.047 kB / 0.8641 GB, free: 29.2 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.094, allocations: 326.8 kB / 0.8644 GB, free: 28.88 MB / 0.6079 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 3.546e-05/1.094, allocations: 11.94 kB / 0.8644 GB, free: 28.87 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003127/1.095, allocations: 100 kB / 0.8645 GB, free: 28.77 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/1.095, allocations: 15.92 kB / 0.8645 GB, free: 28.76 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.095, allocations: 0 / 0.8645 GB, free: 28.76 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.105, allocations: 7.063 MB / 0.8714 GB, free: 21.58 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/1.108, allocations: 0.8622 MB / 0.8722 GB, free: 20.7 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001809/1.11, allocations: 100 kB / 0.8723 GB, free: 20.6 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006586/1.116, allocations: 0.7689 MB / 0.8731 GB, free: 19.83 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001291/1.118, allocations: 0.6403 MB / 0.8737 GB, free: 19.18 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009309/1.119, allocations: 188 kB / 0.8739 GB, free: 19 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.006223/1.125, allocations: 3.385 MB / 0.8772 GB, free: 15.62 MB / 0.6079 GB Notification: Performance of sort global known variables: time 1.6e-07/1.125, allocations: 0 / 0.8772 GB, free: 15.62 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.006942/1.132, allocations: 2.266 MB / 0.8794 GB, free: 13.35 MB / 0.6079 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.01401/1.146, allocations: 7.849 MB / 0.8871 GB, free: 5.371 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.156, allocations: 5.699 MB / 0.8926 GB, free: 15.61 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-05/1.156, allocations: 14.5 kB / 0.8926 GB, free: 15.6 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.005801/1.162, allocations: 2.98 MB / 0.8955 GB, free: 12.59 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/1.173, allocations: 1.532 MB / 0.897 GB, free: 11.07 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1029/1.276, allocations: 52.32 MB / 0.9481 GB, free: 5.785 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003965/1.28, allocations: 3.311 MB / 0.9514 GB, free: 2.434 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.004225/1.284, allocations: 0.6779 MB / 0.952 GB, free: 1.75 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004022/1.288, allocations: 3.241 MB / 0.9552 GB, free: 14.52 MB / 0.686 GB Notification: Performance of SimCode: time 9.62e-07/1.288, allocations: 4 kB / 0.9552 GB, free: 14.52 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5299/1.818, allocations: 138.1 MB / 1.09 GB, free: 251 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.08/31.9, allocations: 16.39 kB / 1.09 GB, free: 251 MB / 0.7798 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_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_DistributionSystemModelicaIndividual_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches