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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 180.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.2 MB / 240.3 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008429/0.0008429, allocations: 93.91 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6589/0.6589, allocations: 120.4 MB / 463 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 11.23 kB / 0.5434 GB, free: 42.31 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 82.85 MB / 0.6243 GB, free: 9.109 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5903/0.7302, allocations: 134.5 MB / 0.7557 GB, free: 15.68 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.7304, allocations: 68.94 kB / 0.7557 GB, free: 15.65 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.297/1.027, allocations: 132.2 MB / 0.8849 GB, free: 13.25 MB / 0.6357 GB Notification: Performance of FrontEnd: time 2.534e-06/1.028, allocations: 0 / 0.8849 GB, free: 13.25 MB / 0.6357 GB Notification: Performance of Transformations before backend: time 0.0005511/1.028, allocations: 223.9 kB / 0.8851 GB, free: 13.04 MB / 0.6357 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.01919/1.047, allocations: 8.148 MB / 0.893 GB, free: 5.363 MB / 0.6357 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.047, allocations: 8.031 kB / 0.893 GB, free: 5.355 MB / 0.6357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002381/1.05, allocations: 1.073 MB / 0.8941 GB, free: 4.793 MB / 0.6357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/1.052, allocations: 1.031 MB / 0.8951 GB, free: 3.75 MB / 0.6357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005905/1.058, allocations: 3.211 MB / 0.8982 GB, free: 1.105 MB / 0.6357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/1.058, allocations: 0.5926 MB / 0.8988 GB, free: 0.7656 MB / 0.6357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009858/1.059, allocations: 0.7719 MB / 0.8996 GB, free: 256 kB / 0.6357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/1.07, allocations: 6.313 MB / 0.9057 GB, free: 12.11 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/1.07, allocations: 0 / 0.9057 GB, free: 12.11 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007055/1.071, allocations: 373.1 kB / 0.9061 GB, free: 12.02 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/1.071, allocations: 200 kB / 0.9063 GB, free: 11.82 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009037/1.08, allocations: 5.454 MB / 0.9116 GB, free: 8.211 MB / 0.6513 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05024/1.13, allocations: 24.51 MB / 0.9355 GB, free: 4.531 MB / 0.6669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006851/1.137, allocations: 6.607 MB / 0.942 GB, free: 1.109 MB / 0.6669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/1.137, allocations: 64.94 kB / 0.9421 GB, free: 1.043 MB / 0.6669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/1.137, allocations: 155.9 kB / 0.9422 GB, free: 0.9453 MB / 0.6669 GB Notification: Performance of pre-optimization done (n=630): time 9.237e-06/1.137, allocations: 0 / 0.9422 GB, free: 0.9453 MB / 0.6669 GB Notification: Performance of matching and sorting (n=630): time 0.01237/1.15, allocations: 8.034 MB / 0.9501 GB, free: 10.64 MB / 0.6825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/1.15, allocations: 116.3 kB / 0.9502 GB, free: 10.51 MB / 0.6825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005921/1.156, allocations: 4.464 MB / 0.9545 GB, free: 6.039 MB / 0.6825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005438/1.156, allocations: 165.7 kB / 0.9547 GB, free: 5.871 MB / 0.6825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.158, allocations: 3.64 MB / 0.9582 GB, free: 2.195 MB / 0.6825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.16, allocations: 2.087 MB / 0.9603 GB, free: 80 kB / 0.6825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4763/1.636, allocations: 146.2 kB / 0.9604 GB, free: 142.1 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0006289/1.637, allocations: 0.5727 MB / 0.961 GB, free: 141.8 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/1.64, allocations: 1.859 MB / 0.9628 GB, free: 141.8 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003452/1.644, allocations: 2.87 MB / 0.9656 GB, free: 140.9 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/1.647, allocations: 2.256 MB / 0.9678 GB, free: 140.8 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/1.647, allocations: 7.25 kB / 0.9678 GB, free: 140.8 MB / 0.6828 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01337/1.661, allocations: 8.535 MB / 0.9761 GB, free: 140.4 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/1.661, allocations: 17.09 kB / 0.9762 GB, free: 140.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/1.661, allocations: 23.09 kB / 0.9762 GB, free: 140.4 MB / 0.6828 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= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 6.726e-05/1.661, allocations: 46.28 kB / 0.9762 GB, free: 140.4 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/1.664, allocations: 0.8153 MB / 0.977 GB, free: 140.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.894e-05/1.664, allocations: 56.53 kB / 0.9771 GB, free: 140.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004444/1.668, allocations: 0.7113 MB / 0.9778 GB, free: 140.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003528/1.668, allocations: 237.1 kB / 0.978 GB, free: 140.3 MB / 0.6828 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002323/1.671, allocations: 0.9586 MB / 0.9789 GB, free: 140.2 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009223/1.672, allocations: 0.7311 MB / 0.9796 GB, free: 139.8 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/1.673, allocations: 0.7133 MB / 0.9803 GB, free: 139.7 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/1.673, allocations: 58 kB / 0.9804 GB, free: 139.7 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00013/1.673, allocations: 61.5 kB / 0.9805 GB, free: 139.7 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.967e-05/1.673, allocations: 29.77 kB / 0.9805 GB, free: 139.7 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00634/1.679, allocations: 5.571 MB / 0.9859 GB, free: 139.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.679, allocations: 0 / 0.9859 GB, free: 139.3 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.68, allocations: 325 kB / 0.9862 GB, free: 139.3 MB / 0.6828 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= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-05/1.68, allocations: 14.14 kB / 0.9862 GB, free: 139.3 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/1.681, allocations: 101.9 kB / 0.9863 GB, free: 139.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/1.681, allocations: 7.812 kB / 0.9863 GB, free: 139.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.681, allocations: 0 / 0.9863 GB, free: 139.3 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009676/1.69, allocations: 6.945 MB / 0.9931 GB, free: 138.2 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.692, allocations: 0.823 MB / 0.9939 GB, free: 137.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009131/1.693, allocations: 100.5 kB / 0.994 GB, free: 137.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004836/1.698, allocations: 0.8795 MB / 0.9949 GB, free: 137.8 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007538/1.699, allocations: 0.6382 MB / 0.9955 GB, free: 137.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004304/1.699, allocations: 183.8 kB / 0.9957 GB, free: 137.7 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.004156/1.703, allocations: 3.339 MB / 0.9989 GB, free: 137.5 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.21e-07/1.703, allocations: 0 / 0.9989 GB, free: 137.5 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.004179/1.708, allocations: 2.258 MB / 1.001 GB, free: 137.4 MB / 0.6828 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009052/1.717, allocations: 7.736 MB / 1.009 GB, free: 135.7 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.007644/1.724, allocations: 5.619 MB / 1.014 GB, free: 135.3 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.724, allocations: 17.19 kB / 1.014 GB, free: 135.3 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.003479/1.728, allocations: 2.944 MB / 1.017 GB, free: 135 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004681/1.733, allocations: 1.392 MB / 1.018 GB, free: 134.7 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.062/1.795, allocations: 67.03 MB / 1.084 GB, free: 85.36 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0031/1.798, allocations: 3.457 MB / 1.087 GB, free: 84.52 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.00376/1.801, allocations: 0.6808 MB / 1.088 GB, free: 84.46 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002685/1.804, allocations: 3.239 MB / 1.091 GB, free: 81.74 MB / 0.6828 GB Notification: Performance of SimCode: time 1.453e-06/1.804, allocations: 7.625 kB / 1.091 GB, free: 81.73 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4864/2.291, allocations: 138.5 MB / 1.226 GB, free: 133 MB / 0.6984 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/2.291, allocations: 273.8 kB / 1.227 GB, free: 132.6 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/8.839, allocations: 1.25 kB / 1.227 GB, free: 132.6 MB / 0.6984 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat does not exist to compare? outputFormat=mat