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.00124/0.00124, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001124/0.001124, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.24/1.24, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8907/0.8907, allocations: 119.3 MB / 410.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.91 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5259/0.5271, allocations: 80.67 MB / 0.5692 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.03441/0.5615, allocations: 45.45 MB / 0.6135 GB, free: 4.297 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.02689/0.5885, allocations: 9.598 MB / 0.6229 GB, free: 10.66 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01387/0.6024, allocations: 207.3 kB / 0.6231 GB, free: 10.46 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005532/0.608, allocations: 1.24 MB / 0.6243 GB, free: 9.207 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.622, allocations: 2.545 MB / 0.6268 GB, free: 6.641 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.6273, allocations: 2.099 MB / 0.6289 GB, free: 4.539 MB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.01416/0.6414, allocations: 11.55 MB / 0.6401 GB, free: 8.93 MB / 494.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/0.645, allocations: 2.717 MB / 0.6428 GB, free: 6.125 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005515/0.6505, allocations: 3.834 MB / 0.6465 GB, free: 2.277 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005131/0.6557, allocations: 4.464 MB / 0.6509 GB, free: 13.79 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.657, allocations: 0.6094 MB / 0.6515 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.6586, allocations: 0.6094 MB / 0.6521 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.6598, allocations: 1.793 MB / 0.6538 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.004552/0.6644, allocations: 4.738 MB / 0.6585 GB, free: 6.008 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.008/0.6724, allocations: 10.51 MB / 0.6687 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6724, allocations: 4 kB / 0.6687 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6724, allocations: 0 / 0.6687 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0002409/0.6727, allocations: 0 / 0.6687 GB, free: 11.46 MB / 0.5139 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.01752/0.6902, allocations: 9.661 MB / 0.6782 GB, free: 1.707 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.6903, allocations: 8.031 kB / 0.6782 GB, free: 1.699 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001252/0.6915, allocations: 1.078 MB / 0.6792 GB, free: 0.6094 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.693, allocations: 1.032 MB / 0.6802 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/0.698, allocations: 3.373 MB / 0.6835 GB, free: 12.11 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.6983, allocations: 0.5945 MB / 0.6841 GB, free: 11.51 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000777/0.6991, allocations: 0.7738 MB / 0.6849 GB, free: 10.74 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.7097, allocations: 6.476 MB / 0.6912 GB, free: 4.207 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.87e-05/0.7098, allocations: 3.938 kB / 0.6912 GB, free: 4.203 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006048/0.7105, allocations: 368 kB / 0.6915 GB, free: 3.844 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.7106, allocations: 196 kB / 0.6917 GB, free: 3.652 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009236/0.7198, allocations: 5.531 MB / 0.6971 GB, free: 14.1 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/0.7581, allocations: 23.98 MB / 0.7205 GB, free: 5.387 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007433/0.7655, allocations: 6.712 MB / 0.7271 GB, free: 14.67 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003221/0.7688, allocations: 2.728 MB / 0.7298 GB, free: 11.92 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.769, allocations: 60.94 kB / 0.7298 GB, free: 11.86 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.7691, allocations: 153.5 kB / 0.73 GB, free: 11.7 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=630): time 9.188e-06/0.7691, allocations: 4 kB / 0.73 GB, free: 11.7 MB / 0.5764 GB Notification: Performance of matching and sorting (n=630): time 0.0129/0.782, allocations: 8.143 MB / 0.7379 GB, free: 3.461 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.7821, allocations: 120.3 kB / 0.738 GB, free: 3.328 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006703/0.7888, allocations: 5.133 MB / 0.7431 GB, free: 14.18 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0004811/0.7893, allocations: 161.7 kB / 0.7432 GB, free: 14.02 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.002131/0.7915, allocations: 3.625 MB / 0.7467 GB, free: 10.36 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/0.7929, allocations: 2.091 MB / 0.7488 GB, free: 8.238 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.7944, allocations: 1.118 MB / 0.7499 GB, free: 7.113 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.7945, allocations: 305.1 kB / 0.7502 GB, free: 6.812 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/0.7975, allocations: 1.896 MB / 0.752 GB, free: 4.914 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/0.801, allocations: 2.935 MB / 0.7549 GB, free: 1.672 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4452/1.246, allocations: 4.927 MB / 0.7597 GB, free: 154.5 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-05/1.246, allocations: 6.688 kB / 0.7597 GB, free: 154.5 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01451/1.261, allocations: 8.645 MB / 0.7682 GB, free: 151.3 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/1.261, allocations: 15.19 kB / 0.7682 GB, free: 151.3 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.979e-05/1.261, allocations: 22.44 kB / 0.7682 GB, free: 151.3 MB / 0.5923 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 0.0001045/1.261, allocations: 43.91 kB / 0.7682 GB, free: 151.3 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/1.264, allocations: 0.8142 MB / 0.769 GB, free: 151.2 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.049e-05/1.264, allocations: 53.08 kB / 0.7691 GB, free: 151.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004832/1.269, allocations: 0.7113 MB / 0.7698 GB, free: 151 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006811/1.27, allocations: 235.8 kB / 0.77 GB, free: 151 MB / 0.5923 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.002852/1.273, allocations: 0.9666 MB / 0.7709 GB, free: 150.3 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.274, allocations: 0.7271 MB / 0.7716 GB, free: 150 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009735/1.275, allocations: 0.7093 MB / 0.7723 GB, free: 149.5 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-05/1.275, allocations: 61.25 kB / 0.7724 GB, free: 149.5 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001751/1.275, allocations: 59.34 kB / 0.7725 GB, free: 149.5 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.501e-05/1.275, allocations: 31.88 kB / 0.7725 GB, free: 149.5 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007667/1.283, allocations: 5.601 MB / 0.778 GB, free: 147.3 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/1.283, allocations: 0 / 0.778 GB, free: 147.3 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/1.284, allocations: 329 kB / 0.7783 GB, free: 147.3 MB / 0.5923 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.646e-05/1.284, allocations: 7.031 kB / 0.7783 GB, free: 147.3 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/1.285, allocations: 96.78 kB / 0.7784 GB, free: 147.2 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/1.285, allocations: 6.656 kB / 0.7784 GB, free: 147.2 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.285, allocations: 0 / 0.7784 GB, free: 147.2 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.295, allocations: 7.034 MB / 0.7852 GB, free: 144.1 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/1.298, allocations: 0.8336 MB / 0.7861 GB, free: 143.5 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001408/1.299, allocations: 105 kB / 0.7862 GB, free: 143.5 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005718/1.305, allocations: 0.7618 MB / 0.7869 GB, free: 143.3 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/1.306, allocations: 0.6382 MB / 0.7875 GB, free: 143.3 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006059/1.307, allocations: 182.1 kB / 0.7877 GB, free: 143.2 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.005383/1.312, allocations: 3.392 MB / 0.791 GB, free: 141.7 MB / 0.5923 GB Notification: Performance of sort global known variables: time 3.31e-07/1.312, allocations: 0 / 0.791 GB, free: 141.7 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.005083/1.317, allocations: 2.256 MB / 0.7932 GB, free: 141.2 MB / 0.5923 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.009624/1.327, allocations: 7.82 MB / 0.8009 GB, free: 133.3 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.00768/1.334, allocations: 5.693 MB / 0.8064 GB, free: 127.5 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.334, allocations: 14 kB / 0.8064 GB, free: 127.5 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003419/1.338, allocations: 2.969 MB / 0.8093 GB, free: 124.5 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005442/1.343, allocations: 1.481 MB / 0.8108 GB, free: 123 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08285/1.426, allocations: 85.49 MB / 0.8943 GB, free: 30.46 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/1.428, allocations: 3.315 MB / 0.8975 GB, free: 27.11 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.003417/1.432, allocations: 0.6818 MB / 0.8982 GB, free: 26.42 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/1.434, allocations: 3.237 MB / 0.9013 GB, free: 23.18 MB / 0.5923 GB Notification: Performance of SimCode: time 1.402e-06/1.434, allocations: 0 / 0.9013 GB, free: 23.18 MB / 0.5923 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4982/1.932, allocations: 143.3 MB / 1.041 GB, free: 204.6 MB / 0.6704 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/1.933, allocations: 311.5 kB / 1.042 GB, free: 204.2 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.967/7.899, allocations: 3.422 kB / 1.042 GB, free: 204.2 MB / 0.6704 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","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches