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.001532/0.001532, allocations: 105.9 kB / 17.06 MB, free: 6.113 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.001649/0.001649, allocations: 196.1 kB / 18 MB, free: 5.191 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.385/1.385, 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.986/0.986, allocations: 119.3 MB / 411.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.39 kB / 0.5708 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1514, allocations: 80.7 MB / 0.6496 GB, free: 13.21 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.0434/0.1948, allocations: 46.03 MB / 0.6946 GB, free: 15 MB / 0.5452 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.217, allocations: 9.559 MB / 0.7039 GB, free: 5.402 MB / 0.5452 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009433/0.2264, allocations: 199.4 kB / 0.7041 GB, free: 5.207 MB / 0.5452 GB Notification: Performance of NFTyping.typeComponents: time 0.007201/0.2337, allocations: 1.656 MB / 0.7057 GB, free: 3.535 MB / 0.5452 GB Notification: Performance of NFTyping.typeBindings: time 0.01344/0.2472, allocations: 2.895 MB / 0.7085 GB, free: 0.6133 MB / 0.5452 GB Notification: Performance of NFTyping.typeClassSections: time 0.008763/0.256, allocations: 2.457 MB / 0.7109 GB, free: 14.15 MB / 0.5608 GB Notification: Performance of NFFlatten.flatten: time 0.01999/0.2761, allocations: 12.03 MB / 0.7227 GB, free: 2.059 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00573/0.2819, allocations: 3.177 MB / 0.7258 GB, free: 14.79 MB / 0.5764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007689/0.2896, allocations: 4.158 MB / 0.7298 GB, free: 10.62 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008273/0.2979, allocations: 4.655 MB / 0.7344 GB, free: 5.945 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.004085/0.302, allocations: 0.9258 MB / 0.7353 GB, free: 5.02 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00414/0.3062, allocations: 0.9296 MB / 0.7362 GB, free: 4.09 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.002969/0.3092, allocations: 2.113 MB / 0.7383 GB, free: 1.969 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.009463/0.3186, allocations: 5.054 MB / 0.7432 GB, free: 12.89 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.337, allocations: 11.13 MB / 0.7541 GB, free: 1.711 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.337, allocations: 0 / 0.7541 GB, free: 1.711 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.973e-06/0.337, allocations: 0 / 0.7541 GB, free: 1.711 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.0006045/0.3377, allocations: 0 / 0.7541 GB, free: 1.711 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.02496/0.3626, allocations: 9.908 MB / 0.7637 GB, free: 7.695 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.3627, allocations: 11.89 kB / 0.7638 GB, free: 7.684 MB / 0.6077 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002617/0.3653, allocations: 1.082 MB / 0.7648 GB, free: 6.59 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.3681, allocations: 1.077 MB / 0.7659 GB, free: 5.508 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008208/0.3764, allocations: 3.568 MB / 0.7693 GB, free: 1.859 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006407/0.3771, allocations: 0.5945 MB / 0.7699 GB, free: 1.262 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.3789, allocations: 0.7699 MB / 0.7707 GB, free: 0.4922 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6006/0.9795, allocations: 6.478 MB / 0.777 GB, free: 99.07 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/0.9797, allocations: 3.219 kB / 0.777 GB, free: 99.07 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/0.981, allocations: 364.1 kB / 0.7774 GB, free: 98.8 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002199/0.9812, allocations: 197 kB / 0.7775 GB, free: 98.8 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.9958, allocations: 5.525 MB / 0.7829 GB, free: 96.85 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05091/1.047, allocations: 23.84 MB / 0.8062 GB, free: 82.39 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007155/1.054, allocations: 6.709 MB / 0.8128 GB, free: 78.36 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003087/1.057, allocations: 2.731 MB / 0.8154 GB, free: 77.05 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/1.057, allocations: 64.06 kB / 0.8155 GB, free: 77.04 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/1.057, allocations: 152.8 kB / 0.8156 GB, free: 76.92 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 9.127e-06/1.058, allocations: 0 / 0.8156 GB, free: 76.92 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.01216/1.07, allocations: 8.184 MB / 0.8236 GB, free: 70.78 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/1.07, allocations: 116.3 kB / 0.8237 GB, free: 70.65 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006727/1.076, allocations: 5.125 MB / 0.8288 GB, free: 65.55 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0008212/1.077, allocations: 165.7 kB / 0.8289 GB, free: 65.39 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.001786/1.079, allocations: 3.712 MB / 0.8325 GB, free: 62.07 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/1.081, allocations: 2.205 MB / 0.8347 GB, free: 60.15 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/1.082, allocations: 1.126 MB / 0.8358 GB, free: 59.02 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.872e-05/1.082, allocations: 301.1 kB / 0.8361 GB, free: 58.72 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/1.085, allocations: 1.9 MB / 0.8379 GB, free: 56.82 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/1.088, allocations: 2.942 MB / 0.8408 GB, free: 53.58 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008262/1.096, allocations: 4.931 MB / 0.8456 GB, free: 48.29 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.796e-05/1.097, allocations: 8 kB / 0.8456 GB, free: 48.28 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01557/1.112, allocations: 8.672 MB / 0.8541 GB, free: 39.56 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/1.112, allocations: 19.94 kB / 0.8541 GB, free: 39.54 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/1.112, allocations: 20 kB / 0.8541 GB, free: 39.52 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.217e-05/1.112, allocations: 48.88 kB / 0.8542 GB, free: 39.47 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/1.116, allocations: 0.8113 MB / 0.855 GB, free: 38.66 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-05/1.116, allocations: 55.86 kB / 0.855 GB, free: 38.61 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006341/1.122, allocations: 0.7283 MB / 0.8557 GB, free: 37.87 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007845/1.123, allocations: 240 kB / 0.856 GB, free: 37.64 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.002734/1.126, allocations: 0.9583 MB / 0.8569 GB, free: 36.67 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.127, allocations: 0.765 MB / 0.8577 GB, free: 35.9 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/1.128, allocations: 0.7129 MB / 0.8583 GB, free: 35.18 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/1.128, allocations: 60 kB / 0.8584 GB, free: 35.12 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001746/1.129, allocations: 60 kB / 0.8585 GB, free: 35.06 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.829e-05/1.129, allocations: 31.88 kB / 0.8585 GB, free: 35.03 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007135/1.136, allocations: 5.599 MB / 0.864 GB, free: 29.44 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-05/1.136, allocations: 0 / 0.864 GB, free: 29.44 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.137, allocations: 333.1 kB / 0.8643 GB, free: 29.11 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.344e-05/1.137, allocations: 11.94 kB / 0.8643 GB, free: 29.1 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003071/1.137, allocations: 96 kB / 0.8644 GB, free: 29.01 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/1.137, allocations: 12.81 kB / 0.8644 GB, free: 29 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.137, allocations: 4 kB / 0.8644 GB, free: 28.99 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/1.148, allocations: 7.06 MB / 0.8713 GB, free: 21.82 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.15, allocations: 0.8622 MB / 0.8721 GB, free: 20.93 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.151, allocations: 104 kB / 0.8722 GB, free: 20.83 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006014/1.157, allocations: 0.7689 MB / 0.873 GB, free: 20.06 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009971/1.158, allocations: 0.6403 MB / 0.8736 GB, free: 19.41 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006904/1.159, allocations: 187.9 kB / 0.8738 GB, free: 19.23 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.005264/1.164, allocations: 3.381 MB / 0.8771 GB, free: 15.86 MB / 0.6079 GB Notification: Performance of sort global known variables: time 2.5e-07/1.164, allocations: 0 / 0.8771 GB, free: 15.86 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.005589/1.17, allocations: 2.27 MB / 0.8793 GB, free: 13.58 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.01254/1.182, allocations: 7.849 MB / 0.887 GB, free: 5.605 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.009443/1.192, allocations: 5.703 MB / 0.8925 GB, free: 15.84 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 2e-05/1.192, allocations: 22 kB / 0.8926 GB, free: 15.82 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.00546/1.197, allocations: 2.976 MB / 0.8955 GB, free: 12.82 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009189/1.206, allocations: 1.522 MB / 0.897 GB, free: 11.3 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/1.315, allocations: 52.32 MB / 0.948 GB, free: 6.012 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004591/1.32, allocations: 3.307 MB / 0.9513 GB, free: 2.66 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.004685/1.325, allocations: 0.6818 MB / 0.9519 GB, free: 1.973 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004902/1.33, allocations: 3.245 MB / 0.9551 GB, free: 14.73 MB / 0.686 GB Notification: Performance of SimCode: time 1.423e-06/1.33, allocations: 0 / 0.9551 GB, free: 14.73 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5815/1.911, allocations: 138.1 MB / 1.09 GB, free: 251.6 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.9/30.81, allocations: 11.88 kB / 1.09 GB, free: 251.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 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.mat","/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