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.001726/0.001726, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001826/0.001827, allocations: 193.4 kB / 18 MB, free: 5.172 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.028/1.028, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.08 kB / 0.5708 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1579, allocations: 80.7 MB / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.04514/0.2031, allocations: 46.03 MB / 0.6946 GB, free: 14.97 MB / 0.5452 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.2273, allocations: 9.562 MB / 0.7039 GB, free: 5.367 MB / 0.5452 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01048/0.2378, allocations: 199.4 kB / 0.7041 GB, free: 5.172 MB / 0.5452 GB Notification: Performance of NFTyping.typeComponents: time 0.008395/0.2463, allocations: 1.652 MB / 0.7057 GB, free: 3.504 MB / 0.5452 GB Notification: Performance of NFTyping.typeBindings: time 0.018/0.2644, allocations: 2.899 MB / 0.7085 GB, free: 0.5781 MB / 0.5452 GB Notification: Performance of NFTyping.typeClassSections: time 0.009556/0.274, allocations: 2.454 MB / 0.7109 GB, free: 14.12 MB / 0.5608 GB Notification: Performance of NFFlatten.flatten: time 0.02112/0.2952, allocations: 12.04 MB / 0.7227 GB, free: 2.016 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008648/0.3038, allocations: 3.177 MB / 0.7258 GB, free: 14.75 MB / 0.5764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009255/0.3131, allocations: 4.154 MB / 0.7298 GB, free: 10.59 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00862/0.3218, allocations: 4.663 MB / 0.7344 GB, free: 5.902 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.004668/0.3265, allocations: 0.9257 MB / 0.7353 GB, free: 4.977 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/0.3312, allocations: 0.9258 MB / 0.7362 GB, free: 4.051 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.003871/0.3351, allocations: 2.106 MB / 0.7383 GB, free: 1.938 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.01103/0.3462, allocations: 5.058 MB / 0.7432 GB, free: 12.86 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.02226/0.3685, allocations: 11.13 MB / 0.7541 GB, free: 1.68 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.3686, allocations: 4 kB / 0.7541 GB, free: 1.676 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3686, allocations: 0 / 0.7541 GB, free: 1.676 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.0007056/0.3693, allocations: 0 / 0.7541 GB, free: 1.676 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.0262/0.3955, allocations: 9.908 MB / 0.7638 GB, free: 7.66 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.3956, allocations: 12.03 kB / 0.7638 GB, free: 7.648 MB / 0.6077 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003057/0.3987, allocations: 1.082 MB / 0.7648 GB, free: 6.555 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/0.402, allocations: 1.077 MB / 0.7659 GB, free: 5.473 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008824/0.4109, allocations: 3.564 MB / 0.7694 GB, free: 1.828 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006746/0.4116, allocations: 0.5945 MB / 0.7699 GB, free: 1.23 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001863/0.4134, allocations: 0.7776 MB / 0.7707 GB, free: 464 kB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5922/1.006, allocations: 6.472 MB / 0.777 GB, free: 98.9 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/1.006, allocations: 0 / 0.777 GB, free: 98.9 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/1.007, allocations: 365.4 kB / 0.7774 GB, free: 98.63 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002021/1.007, allocations: 196.1 kB / 0.7775 GB, free: 98.63 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/1.022, allocations: 5.525 MB / 0.7829 GB, free: 96.68 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0511/1.073, allocations: 23.84 MB / 0.8062 GB, free: 82.22 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006993/1.08, allocations: 6.701 MB / 0.8128 GB, free: 78.2 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/1.083, allocations: 2.73 MB / 0.8154 GB, free: 76.88 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/1.083, allocations: 67.39 kB / 0.8155 GB, free: 76.87 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/1.084, allocations: 155.1 kB / 0.8156 GB, free: 76.75 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 9.317e-06/1.084, allocations: 0 / 0.8156 GB, free: 76.75 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.01211/1.096, allocations: 8.184 MB / 0.8236 GB, free: 70.55 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.096, allocations: 116.3 kB / 0.8237 GB, free: 70.43 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006724/1.103, allocations: 5.135 MB / 0.8288 GB, free: 65.32 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0008656/1.103, allocations: 161.7 kB / 0.8289 GB, free: 65.16 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.001743/1.105, allocations: 3.714 MB / 0.8325 GB, free: 61.84 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001599/1.107, allocations: 2.2 MB / 0.8347 GB, free: 59.93 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/1.109, allocations: 1.122 MB / 0.8358 GB, free: 58.8 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.936e-05/1.109, allocations: 305.1 kB / 0.8361 GB, free: 58.5 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/1.111, allocations: 1.893 MB / 0.8379 GB, free: 56.61 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/1.115, allocations: 2.939 MB / 0.8408 GB, free: 53.36 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007874/1.122, allocations: 4.932 MB / 0.8456 GB, free: 48.07 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.078e-05/1.123, allocations: 8.688 kB / 0.8456 GB, free: 48.07 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01344/1.136, allocations: 8.673 MB / 0.8541 GB, free: 39.34 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/1.136, allocations: 23.92 kB / 0.8541 GB, free: 39.32 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.701e-05/1.136, allocations: 24 kB / 0.8541 GB, free: 39.3 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.079e-05/1.136, allocations: 40.88 kB / 0.8542 GB, free: 39.26 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/1.139, allocations: 0.8152 MB / 0.855 GB, free: 38.44 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.337e-05/1.139, allocations: 55.8 kB / 0.855 GB, free: 38.39 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006087/1.146, allocations: 0.7361 MB / 0.8557 GB, free: 37.65 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005346/1.146, allocations: 236 kB / 0.856 GB, free: 37.42 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.002744/1.149, allocations: 0.9622 MB / 0.8569 GB, free: 36.45 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/1.15, allocations: 0.765 MB / 0.8577 GB, free: 35.68 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/1.151, allocations: 0.709 MB / 0.8583 GB, free: 34.96 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/1.151, allocations: 60 kB / 0.8584 GB, free: 34.9 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001989/1.152, allocations: 61.31 kB / 0.8585 GB, free: 34.84 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.672e-05/1.152, allocations: 27.89 kB / 0.8585 GB, free: 34.81 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006725/1.158, allocations: 5.611 MB / 0.864 GB, free: 29.22 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/1.158, allocations: 4 kB / 0.864 GB, free: 29.21 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.16, allocations: 331.6 kB / 0.8643 GB, free: 28.89 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 2.486e-05/1.16, allocations: 11.94 kB / 0.8643 GB, free: 28.88 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002554/1.16, allocations: 96 kB / 0.8644 GB, free: 28.79 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/1.16, allocations: 4 kB / 0.8644 GB, free: 28.78 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.16, allocations: 0 / 0.8644 GB, free: 28.78 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.17, allocations: 7.068 MB / 0.8713 GB, free: 21.6 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002168/1.172, allocations: 0.8622 MB / 0.8721 GB, free: 20.71 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/1.174, allocations: 100 kB / 0.8722 GB, free: 20.61 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006369/1.18, allocations: 0.765 MB / 0.873 GB, free: 19.85 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/1.181, allocations: 0.6442 MB / 0.8736 GB, free: 19.2 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005932/1.182, allocations: 190.9 kB / 0.8738 GB, free: 19.02 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.004576/1.186, allocations: 3.385 MB / 0.8771 GB, free: 15.63 MB / 0.6079 GB Notification: Performance of sort global known variables: time 1.5e-07/1.186, allocations: 0 / 0.8771 GB, free: 15.63 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.005511/1.192, allocations: 2.27 MB / 0.8793 GB, free: 13.36 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.01078/1.203, allocations: 7.853 MB / 0.887 GB, free: 5.379 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.009041/1.212, allocations: 5.693 MB / 0.8925 GB, free: 15.62 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-05/1.212, allocations: 14 kB / 0.8926 GB, free: 15.61 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.005482/1.217, allocations: 2.977 MB / 0.8955 GB, free: 12.61 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008214/1.225, allocations: 1.527 MB / 0.897 GB, free: 11.09 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0967/1.322, allocations: 52.32 MB / 0.948 GB, free: 5.801 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003341/1.326, allocations: 3.311 MB / 0.9513 GB, free: 2.445 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.003742/1.329, allocations: 0.6779 MB / 0.9519 GB, free: 1.762 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004421/1.334, allocations: 3.248 MB / 0.9551 GB, free: 14.52 MB / 0.686 GB Notification: Performance of SimCode: time 1.012e-06/1.334, allocations: 0 / 0.9551 GB, free: 14.52 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5706/1.904, allocations: 138.1 MB / 1.09 GB, free: 251.1 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.37/30.28, allocations: 12.8 kB / 1.09 GB, free: 251.1 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