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.00122/0.00122, allocations: 102 kB / 17.05 MB, free: 6.129 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.001299/0.001299, allocations: 196 kB / 18 MB, free: 5.203 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.271/1.271, 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.9053/0.9053, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 58.09 kB / 0.5708 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 80.7 MB / 0.6496 GB, free: 13.19 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.03951/0.1799, allocations: 46.02 MB / 0.6945 GB, free: 14.98 MB / 0.5452 GB Notification: Performance of NFInst.instExpressions: time 0.02152/0.2014, allocations: 9.563 MB / 0.7039 GB, free: 5.379 MB / 0.5452 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009426/0.2109, allocations: 199.4 kB / 0.7041 GB, free: 5.184 MB / 0.5452 GB Notification: Performance of NFTyping.typeComponents: time 0.006917/0.2179, allocations: 1.652 MB / 0.7057 GB, free: 3.516 MB / 0.5452 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.2295, allocations: 2.892 MB / 0.7085 GB, free: 0.5977 MB / 0.5452 GB Notification: Performance of NFTyping.typeClassSections: time 0.007766/0.2373, allocations: 2.457 MB / 0.7109 GB, free: 14.13 MB / 0.5608 GB Notification: Performance of NFFlatten.flatten: time 0.01708/0.2544, allocations: 12.04 MB / 0.7227 GB, free: 2.035 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006949/0.2614, allocations: 3.181 MB / 0.7258 GB, free: 14.77 MB / 0.5764 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007619/0.269, allocations: 4.162 MB / 0.7298 GB, free: 10.59 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007354/0.2764, allocations: 4.659 MB / 0.7344 GB, free: 5.914 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.00371/0.2801, allocations: 0.9258 MB / 0.7353 GB, free: 4.988 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.2839, allocations: 0.9258 MB / 0.7362 GB, free: 4.062 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.00306/0.287, allocations: 2.106 MB / 0.7383 GB, free: 1.949 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.008603/0.2956, allocations: 5.062 MB / 0.7432 GB, free: 12.86 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.3111, allocations: 11.08 MB / 0.754 GB, free: 1.746 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3112, allocations: 0 / 0.754 GB, free: 1.746 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3112, allocations: 0 / 0.754 GB, free: 1.746 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.0005693/0.3118, allocations: 0 / 0.754 GB, free: 1.746 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.0234/0.3352, allocations: 9.661 MB / 0.7635 GB, free: 7.988 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3352, allocations: 11.89 kB / 0.7635 GB, free: 7.977 MB / 0.6077 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002755/0.338, allocations: 1.082 MB / 0.7645 GB, free: 6.883 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.3408, allocations: 1.032 MB / 0.7655 GB, free: 5.84 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007677/0.3485, allocations: 3.537 MB / 0.769 GB, free: 2.219 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006021/0.3491, allocations: 0.5945 MB / 0.7696 GB, free: 1.621 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001537/0.3507, allocations: 0.7699 MB / 0.7703 GB, free: 0.8516 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5234/0.8741, allocations: 6.47 MB / 0.7766 GB, free: 99.09 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.8742, allocations: 1.312 kB / 0.7766 GB, free: 99.09 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006794/0.8749, allocations: 368.2 kB / 0.777 GB, free: 98.82 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.8751, allocations: 196.7 kB / 0.7772 GB, free: 98.82 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.8876, allocations: 5.524 MB / 0.7826 GB, free: 96.86 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04318/0.9308, allocations: 23.75 MB / 0.8058 GB, free: 82.28 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006083/0.9369, allocations: 6.703 MB / 0.8123 GB, free: 78.25 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.9397, allocations: 2.736 MB / 0.815 GB, free: 76.93 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.9398, allocations: 68.03 kB / 0.815 GB, free: 76.92 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.9399, allocations: 152.7 kB / 0.8152 GB, free: 76.8 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=630): time 8.376e-06/0.94, allocations: 0 / 0.8152 GB, free: 76.8 MB / 0.6079 GB Notification: Performance of matching and sorting (n=630): time 0.01168/0.9516, allocations: 8.145 MB / 0.8231 GB, free: 70.97 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.9517, allocations: 116.3 kB / 0.8233 GB, free: 70.84 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005889/0.9576, allocations: 5.13 MB / 0.8283 GB, free: 65.7 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0005447/0.9582, allocations: 165.7 kB / 0.8284 GB, free: 65.54 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.9597, allocations: 3.626 MB / 0.832 GB, free: 61.9 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.9607, allocations: 2.087 MB / 0.834 GB, free: 59.83 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.9622, allocations: 1.118 MB / 0.8351 GB, free: 58.7 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.9622, allocations: 301.1 kB / 0.8354 GB, free: 58.41 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002864/0.9651, allocations: 1.893 MB / 0.8372 GB, free: 56.51 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/0.9683, allocations: 2.946 MB / 0.8401 GB, free: 53.26 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007492/0.9758, allocations: 4.931 MB / 0.8449 GB, free: 47.97 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/0.9758, allocations: 8 kB / 0.8449 GB, free: 47.96 MB / 0.6079 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01299/0.9888, allocations: 8.634 MB / 0.8534 GB, free: 39.28 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.9889, allocations: 23.88 kB / 0.8534 GB, free: 39.25 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/0.9889, allocations: 24 kB / 0.8534 GB, free: 39.23 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.032e-05/0.989, allocations: 40.88 kB / 0.8534 GB, free: 39.19 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.9916, allocations: 0.8113 MB / 0.8542 GB, free: 38.38 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.821e-05/0.9917, allocations: 59.78 kB / 0.8543 GB, free: 38.32 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/0.9965, allocations: 0.714 MB / 0.855 GB, free: 37.6 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/0.9969, allocations: 232 kB / 0.8552 GB, free: 37.37 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.002376/0.9992, allocations: 0.9623 MB / 0.8562 GB, free: 36.4 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.001, allocations: 0.7301 MB / 0.8569 GB, free: 35.66 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/1.002, allocations: 0.7051 MB / 0.8576 GB, free: 34.95 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/1.002, allocations: 60 kB / 0.8576 GB, free: 34.89 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001838/1.002, allocations: 60 kB / 0.8577 GB, free: 34.83 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.709e-05/1.002, allocations: 31.88 kB / 0.8577 GB, free: 34.8 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007779/1.01, allocations: 5.602 MB / 0.8632 GB, free: 29.2 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.128e-05/1.01, allocations: 8.047 kB / 0.8632 GB, free: 29.2 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/1.011, allocations: 328.9 kB / 0.8635 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.174e-05/1.011, allocations: 7.938 kB / 0.8635 GB, free: 28.87 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/1.011, allocations: 100 kB / 0.8636 GB, free: 28.77 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/1.011, allocations: 8 kB / 0.8636 GB, free: 28.77 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.011, allocations: 0 / 0.8636 GB, free: 28.77 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009963/1.021, allocations: 7.029 MB / 0.8705 GB, free: 21.62 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.023, allocations: 0.8311 MB / 0.8713 GB, free: 20.76 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001413/1.025, allocations: 96 kB / 0.8714 GB, free: 20.66 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005611/1.03, allocations: 0.7682 MB / 0.8721 GB, free: 19.9 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007899/1.031, allocations: 0.6442 MB / 0.8728 GB, free: 19.25 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005304/1.031, allocations: 188 kB / 0.8729 GB, free: 19.07 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.005213/1.037, allocations: 3.385 MB / 0.8762 GB, free: 15.68 MB / 0.6079 GB Notification: Performance of sort global known variables: time 2.4e-07/1.037, allocations: 0 / 0.8762 GB, free: 15.68 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.004823/1.042, allocations: 2.26 MB / 0.8784 GB, free: 13.42 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.01082/1.052, allocations: 7.805 MB / 0.8861 GB, free: 5.484 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.009795/1.062, allocations: 5.697 MB / 0.8916 GB, free: 15.73 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/1.062, allocations: 14 kB / 0.8916 GB, free: 15.71 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.005438/1.068, allocations: 2.962 MB / 0.8945 GB, free: 12.72 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/1.078, allocations: 1.536 MB / 0.896 GB, free: 11.19 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09852/1.177, allocations: 52.03 MB / 0.9468 GB, free: 6.211 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004102/1.181, allocations: 3.315 MB / 0.9501 GB, free: 2.852 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.004452/1.186, allocations: 0.6779 MB / 0.9507 GB, free: 2.168 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004094/1.19, allocations: 3.237 MB / 0.9539 GB, free: 14.94 MB / 0.686 GB Notification: Performance of SimCode: time 6.21e-07/1.19, allocations: 0 / 0.9539 GB, free: 14.94 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5212/1.711, allocations: 140.6 MB / 1.091 GB, free: 252.1 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.18/27.89, allocations: 16.02 kB / 1.091 GB, free: 252.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 & /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