Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.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.DistributionSystemModelicaActiveLoads_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",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.001104/0.001104, allocations: 181.4 kB / 16.39 MB, free: 5.762 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.205/1.205, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008868/0.0008868, allocations: 92.56 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7041/0.7041, allocations: 120.5 MB / 463 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 8 kB / 0.5434 GB, free: 42.33 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 82.86 MB / 0.6243 GB, free: 9.121 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5872/0.7176, allocations: 129 MB / 0.7503 GB, free: 5.047 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.7179, allocations: 70.44 kB / 0.7504 GB, free: 5.016 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 2.029/2.747, allocations: 0.58 GB / 1.33 GB, free: 47.35 MB / 0.6984 GB Notification: Performance of FrontEnd: time 3.396e-06/2.747, allocations: 3.812 kB / 1.33 GB, free: 47.35 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 0.00436/2.751, allocations: 0.9035 MB / 1.331 GB, free: 47.25 MB / 0.6984 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8489 * Number of variables: 8489 Notification: Performance of Generate backend data structure: time 0.1076/2.859, allocations: 45.84 MB / 1.376 GB, free: 34.57 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/2.859, allocations: 10.12 kB / 1.376 GB, free: 34.57 MB / 0.6984 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01331/2.872, allocations: 4.782 MB / 1.381 GB, free: 34.32 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/2.886, allocations: 4.186 MB / 1.385 GB, free: 32.3 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05214/2.938, allocations: 21.13 MB / 1.405 GB, free: 25.67 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002238/2.941, allocations: 2.406 MB / 1.408 GB, free: 24.3 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008165/2.949, allocations: 3.156 MB / 1.411 GB, free: 22.2 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1037/3.052, allocations: 50.57 MB / 1.46 GB, free: 10.67 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001512/3.054, allocations: 4 kB / 1.46 GB, free: 10.67 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009334/3.063, allocations: 1.453 MB / 1.462 GB, free: 10.3 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006093/3.064, allocations: 0.7773 MB / 1.462 GB, free: 9.523 MB / 0.714 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4974/3.561, allocations: 57.56 MB / 1.519 GB, free: 53.98 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3055/3.867, allocations: 161.7 MB / 1.677 GB, free: 31.96 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05897/3.926, allocations: 48.6 MB / 1.724 GB, free: 416 kB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001992/3.928, allocations: 255.9 kB / 1.724 GB, free: 160 kB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/3.929, allocations: 0.5294 MB / 1.725 GB, free: 15.78 MB / 0.7296 GB Notification: Performance of pre-optimization done (n=2540): time 3.367e-05/3.929, allocations: 0 / 1.725 GB, free: 15.78 MB / 0.7296 GB Notification: Performance of matching and sorting (n=2540): time 0.5321/4.461, allocations: 67.49 MB / 1.791 GB, free: 74.3 MB / 0.7453 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002495/4.462, allocations: 314.4 kB / 1.791 GB, free: 74.21 MB / 0.7453 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04954/4.511, allocations: 32.12 MB / 1.822 GB, free: 73.27 MB / 0.7453 GB Notification: Performance of collectPreVariables (initialization): time 0.004421/4.516, allocations: 0.5714 MB / 1.823 GB, free: 73.24 MB / 0.7453 GB Notification: Performance of collectInitialEqns (initialization): time 0.01092/4.526, allocations: 15.45 MB / 1.838 GB, free: 70.59 MB / 0.7453 GB Notification: Performance of collectInitialBindings (initialization): time 0.00811/4.535, allocations: 8.633 MB / 1.846 GB, free: 65.13 MB / 0.7453 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003069/4.538, allocations: 0.5839 MB / 1.847 GB, free: 65.13 MB / 0.7453 GB Notification: Performance of setup shared object (initialization): time 4.192e-05/4.538, allocations: 301.1 kB / 1.847 GB, free: 64.83 MB / 0.7453 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02786/4.566, allocations: 21.07 MB / 1.868 GB, free: 64.77 MB / 0.7453 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03594/4.602, allocations: 25.45 MB / 1.893 GB, free: 61.08 MB / 0.7453 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03618/4.638, allocations: 25.34 MB / 1.917 GB, free: 57.86 MB / 0.7453 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001915/4.638, allocations: 25.31 kB / 1.917 GB, free: 57.86 MB / 0.7453 GB Notification: Performance of matching and sorting (n=3821) (initialization): time 0.1146/4.753, allocations: 69.08 MB / 1.985 GB, free: 38.09 MB / 0.7453 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-05/4.753, allocations: 44 kB / 1.985 GB, free: 38.04 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/4.753, allocations: 92 kB / 1.985 GB, free: 37.95 MB / 0.7453 GB Notification: Tearing is skipped for strong component 1 because system size of 1659 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 0.0001738/4.753, allocations: 188 kB / 1.985 GB, free: 37.77 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/4.771, allocations: 5.022 MB / 1.99 GB, free: 33.98 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003169/4.772, allocations: 231.7 kB / 1.99 GB, free: 33.78 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03618/4.808, allocations: 7.277 MB / 1.997 GB, free: 28.99 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005692/4.813, allocations: 0.9486 MB / 1.998 GB, free: 28.05 MB / 0.7453 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 422 * 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 (2163): * Single equations (assignments): 2162 * 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 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02284/4.836, allocations: 12.84 MB / 2.011 GB, free: 17.55 MB / 0.7453 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009882/4.846, allocations: 2.929 MB / 2.014 GB, free: 14.59 MB / 0.7453 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/4.857, allocations: 4.534 MB / 2.018 GB, free: 10.34 MB / 0.7453 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001058/4.857, allocations: 240 kB / 2.018 GB, free: 10.1 MB / 0.7453 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007739/4.858, allocations: 239.1 kB / 2.019 GB, free: 9.875 MB / 0.7453 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002721/4.858, allocations: 121 kB / 2.019 GB, free: 9.875 MB / 0.7453 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4401/5.298, allocations: 32.43 MB / 2.05 GB, free: 94.11 MB / 0.7609 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001094/5.298, allocations: 0.5625 kB / 2.05 GB, free: 94.11 MB / 0.7609 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008618/5.307, allocations: 2.289 MB / 2.053 GB, free: 94.11 MB / 0.7609 GB Notification: Tearing is skipped for strong component 2 because system size of 1659 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 0.0001123/5.307, allocations: 26.75 kB / 2.053 GB, free: 94.11 MB / 0.7609 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003607/5.311, allocations: 431.3 kB / 2.053 GB, free: 94.11 MB / 0.7609 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.216e-05/5.311, allocations: 27.38 kB / 2.053 GB, free: 94.11 MB / 0.7609 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/5.311, allocations: 3.719 kB / 2.053 GB, free: 94.11 MB / 0.7609 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1275/5.438, allocations: 74.36 MB / 2.126 GB, free: 91.67 MB / 0.7609 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01994/5.458, allocations: 4.607 MB / 2.13 GB, free: 90.45 MB / 0.7609 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01105/5.469, allocations: 426.1 kB / 2.131 GB, free: 90.45 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03776/5.507, allocations: 9.253 MB / 2.14 GB, free: 90.45 MB / 0.7609 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007069/5.514, allocations: 2.936 MB / 2.143 GB, free: 90.43 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004467/5.519, allocations: 0.7248 MB / 2.143 GB, free: 90.43 MB / 0.7609 GB Notification: Performance of sorting global known variables: time 0.03851/5.557, allocations: 24.02 MB / 2.167 GB, free: 89.8 MB / 0.7609 GB Notification: Performance of sort global known variables: time 5.71e-07/5.557, allocations: 5.094 kB / 2.167 GB, free: 89.8 MB / 0.7609 GB Notification: Performance of remove unused functions: time 0.03599/5.593, allocations: 11.2 MB / 2.178 GB, free: 89.19 MB / 0.7609 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y,activeLoad[15].firstOrder1.y,activeLoad[15].firstOrder2.y,activeLoad[16].firstOrder1.y,activeLoad[16].firstOrder2.y,activeLoad[17].firstOrder1.y,activeLoad[17].firstOrder2.y,activeLoad[18].firstOrder1.y,activeLoad[18].firstOrder2.y,activeLoad[19].firstOrder1.y,activeLoad[19].firstOrder2.y,activeLoad[20].firstOrder1.y,activeLoad[20].firstOrder2.y) * 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 (882): * Single equations (assignments): 881 * 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 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1205/5.714, allocations: 75.93 MB / 2.252 GB, free: 53.75 MB / 0.7609 GB Notification: Performance of simCode: created initialization part: time 0.06948/5.783, allocations: 45.11 MB / 2.296 GB, free: 16.18 MB / 0.7609 GB Notification: Performance of simCode: created event and clocks part: time 4.453e-05/5.783, allocations: 58.42 kB / 2.296 GB, free: 16.12 MB / 0.7609 GB Notification: Performance of simCode: created simulation system equations: time 0.03718/5.821, allocations: 20.8 MB / 2.316 GB, free: 15.29 MB / 0.7765 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03719/5.858, allocations: 7.423 MB / 2.324 GB, free: 9.691 MB / 0.7765 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.894/8.752, allocations: 0.5857 GB / 2.909 GB, free: 210.9 MB / 0.8859 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04288/8.795, allocations: 22.96 MB / 2.932 GB, free: 209.3 MB / 0.8859 GB Notification: Performance of simCode: alias equations: time 0.04125/8.836, allocations: 13.7 MB / 2.945 GB, free: 209.1 MB / 0.8859 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02893/8.865, allocations: 13.65 MB / 2.958 GB, free: 209.1 MB / 0.8859 GB Notification: Performance of SimCode: time 1.283e-06/8.865, allocations: 3.906 kB / 2.958 GB, free: 209.1 MB / 0.8859 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.654/10.52, allocations: 0.6999 GB / 3.658 GB, free: 107.5 MB / 0.8859 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/10.52, allocations: 308.5 kB / 3.659 GB, free: 107.1 MB / 0.8859 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.83/36.35, allocations: 0 / 3.659 GB, free: 107.1 MB / 0.8859 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20_res.mat does not exist to compare? outputFormat=mat