Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.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.DistributionSystemModelica_N_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28",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.000934/0.0009339, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.156/1.156, allocations: 221.3 MB / 235.5 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008565/0.0008565, allocations: 98.27 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7903/0.7903, allocations: 120.5 MB / 457.9 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.495e-05, allocations: 0 / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4565, allocations: 82.83 MB / 0.6167 GB, free: 9.355 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.5889, allocations: 128.1 MB / 0.7418 GB, free: 9.129 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001661/0.5891, allocations: 71.84 kB / 0.7419 GB, free: 9.059 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 4.243/4.832, allocations: 1.147 GB / 1.889 GB, free: 55.32 MB / 0.7609 GB Notification: Performance of FrontEnd: time 1.813e-06/4.832, allocations: 0 / 1.889 GB, free: 55.32 MB / 0.7609 GB Notification: Performance of Transformations before backend: time 0.006742/4.839, allocations: 1.681 MB / 1.89 GB, free: 55.13 MB / 0.7609 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15941 * Number of variables: 15941 Notification: Performance of Generate backend data structure: time 0.1689/5.008, allocations: 79.58 MB / 1.968 GB, free: 33.3 MB / 0.7609 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/5.008, allocations: 7.562 kB / 1.968 GB, free: 33.3 MB / 0.7609 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02128/5.029, allocations: 8.704 MB / 1.976 GB, free: 32.86 MB / 0.7609 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02469/5.054, allocations: 7.793 MB / 1.984 GB, free: 29.11 MB / 0.7609 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08694/5.141, allocations: 39.15 MB / 2.022 GB, free: 18.25 MB / 0.7609 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00371/5.145, allocations: 4.5 MB / 2.027 GB, free: 15.69 MB / 0.7609 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01489/5.159, allocations: 5.842 MB / 2.032 GB, free: 11.79 MB / 0.7609 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.018/6.177, allocations: 102.3 MB / 2.132 GB, free: 43.43 MB / 0.7614 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00186/6.179, allocations: 3.594 kB / 2.132 GB, free: 43.43 MB / 0.7614 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01425/6.193, allocations: 2.724 MB / 2.135 GB, free: 43.43 MB / 0.7614 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009499/6.194, allocations: 1.464 MB / 2.136 GB, free: 43.43 MB / 0.7614 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1431/6.337, allocations: 95.83 MB / 2.23 GB, free: 36.45 MB / 0.7614 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.055/7.392, allocations: 308.7 MB / 2.532 GB, free: 23.14 MB / 0.8239 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1278/7.52, allocations: 90.46 MB / 2.62 GB, free: 10.99 MB / 0.8239 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05592/7.576, allocations: 40.48 MB / 2.659 GB, free: 15.47 MB / 0.8395 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003342/7.58, allocations: 489.9 kB / 2.66 GB, free: 15.43 MB / 0.8395 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/7.581, allocations: 0.9066 MB / 2.661 GB, free: 14.85 MB / 0.8395 GB Notification: Performance of pre-optimization done (n=4788): time 0.0002099/7.581, allocations: 0 / 2.661 GB, free: 14.85 MB / 0.8395 GB Notification: Performance of matching and sorting (n=4788): time 0.6343/8.215, allocations: 94.98 MB / 2.753 GB, free: 94.78 MB / 0.8551 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000321/8.216, allocations: 0.5273 MB / 2.754 GB, free: 94.68 MB / 0.8551 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08538/8.301, allocations: 60.04 MB / 2.813 GB, free: 92.82 MB / 0.8551 GB Notification: Performance of collectPreVariables (initialization): time 0.007628/8.309, allocations: 1.052 MB / 2.814 GB, free: 92.79 MB / 0.8551 GB Notification: Performance of collectInitialEqns (initialization): time 0.01968/8.328, allocations: 29.21 MB / 2.842 GB, free: 84.37 MB / 0.8551 GB Notification: Performance of collectInitialBindings (initialization): time 0.01447/8.343, allocations: 16.28 MB / 2.858 GB, free: 74.03 MB / 0.8551 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007492/8.35, allocations: 1.092 MB / 2.859 GB, free: 74.03 MB / 0.8551 GB Notification: Performance of setup shared object (initialization): time 0.003603/8.354, allocations: 2.829 MB / 2.862 GB, free: 73.5 MB / 0.8551 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0505/8.405, allocations: 38.26 MB / 2.899 GB, free: 65.12 MB / 0.8551 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05449/8.459, allocations: 46.48 MB / 2.945 GB, free: 48.95 MB / 0.8551 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05882/8.518, allocations: 46.66 MB / 2.99 GB, free: 38.9 MB / 0.8551 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002826/8.518, allocations: 49.44 kB / 2.99 GB, free: 38.9 MB / 0.8551 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.6792/9.197, allocations: 132.6 MB / 3.12 GB, free: 91.61 MB / 0.8551 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004689/9.198, allocations: 78.22 kB / 3.12 GB, free: 91.61 MB / 0.8551 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004022/9.198, allocations: 173.7 kB / 3.12 GB, free: 91.61 MB / 0.8551 GB Notification: Tearing is skipped for strong component 1 because system size of 3191 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.000609/9.199, allocations: 344.7 kB / 3.12 GB, free: 91.61 MB / 0.8551 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03636/9.235, allocations: 8.992 MB / 3.129 GB, free: 91.17 MB / 0.8551 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008366/9.236, allocations: 429.1 kB / 3.13 GB, free: 91.1 MB / 0.8551 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07958/9.316, allocations: 13.78 MB / 3.143 GB, free: 88.97 MB / 0.8551 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01139/9.327, allocations: 1.771 MB / 3.145 GB, free: 88.97 MB / 0.8551 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3979): * Single equations (assignments): 3978 * 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 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02019/9.347, allocations: 2.891 MB / 3.148 GB, free: 88.31 MB / 0.8551 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02274/9.37, allocations: 5.485 MB / 3.153 GB, free: 85.69 MB / 0.8551 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0231/9.393, allocations: 8.518 MB / 3.161 GB, free: 85.15 MB / 0.8551 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003602/9.394, allocations: 450.7 kB / 3.162 GB, free: 85.15 MB / 0.8551 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001291/9.395, allocations: 448.8 kB / 3.162 GB, free: 85.15 MB / 0.8551 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009583/9.396, allocations: 226.8 kB / 3.162 GB, free: 85.15 MB / 0.8551 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1341/9.53, allocations: 60.26 MB / 3.221 GB, free: 78.02 MB / 0.8551 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004161/9.531, allocations: 0 / 3.221 GB, free: 78.02 MB / 0.8551 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01338/9.544, allocations: 3.777 MB / 3.225 GB, free: 77.77 MB / 0.8551 GB Notification: Tearing is skipped for strong component 2 because system size of 3191 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.0008005/9.545, allocations: 49.34 kB / 3.225 GB, free: 77.77 MB / 0.8551 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00694/9.552, allocations: 0.7339 MB / 3.226 GB, free: 77.18 MB / 0.8551 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000198/9.552, allocations: 49.5 kB / 3.226 GB, free: 77.18 MB / 0.8551 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/9.552, allocations: 0 / 3.226 GB, free: 77.18 MB / 0.8551 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1759/9.728, allocations: 94.78 MB / 3.318 GB, free: 38.1 MB / 0.8551 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02594/9.754, allocations: 8.649 MB / 3.327 GB, free: 29.88 MB / 0.8551 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02002/9.774, allocations: 0.7376 MB / 3.327 GB, free: 29.14 MB / 0.8551 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.08245/9.856, allocations: 18.9 MB / 3.346 GB, free: 19.66 MB / 0.8551 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.5887/10.45, allocations: 5.302 MB / 3.351 GB, free: 103.4 MB / 0.8551 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0115/10.46, allocations: 1.367 MB / 3.352 GB, free: 103.4 MB / 0.8551 GB Notification: Performance of sorting global known variables: time 0.07868/10.54, allocations: 44.8 MB / 3.396 GB, free: 102 MB / 0.8551 GB Notification: Performance of sort global known variables: time 4.11e-07/10.54, allocations: 2.594 kB / 3.396 GB, free: 102 MB / 0.8551 GB Notification: Performance of remove unused functions: time 0.06078/10.6, allocations: 21.07 MB / 3.417 GB, free: 101.6 MB / 0.8551 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1598): * Single equations (assignments): 1597 * 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 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.175/10.77, allocations: 97.27 MB / 3.512 GB, free: 93.07 MB / 0.8551 GB Notification: Performance of simCode: created initialization part: time 0.1219/10.89, allocations: 81.74 MB / 3.592 GB, free: 56.41 MB / 0.8551 GB Notification: Performance of simCode: created event and clocks part: time 8.159e-05/10.89, allocations: 112.5 kB / 3.592 GB, free: 56.3 MB / 0.8551 GB Notification: Performance of simCode: created simulation system equations: time 0.05777/10.95, allocations: 37.11 MB / 3.628 GB, free: 24.53 MB / 0.8551 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05949/11.01, allocations: 13.89 MB / 3.641 GB, free: 14.09 MB / 0.8551 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7246/11.74, allocations: 163.3 MB / 3.801 GB, free: 88.57 MB / 0.8551 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05195/11.79, allocations: 42.92 MB / 3.843 GB, free: 85.5 MB / 0.8551 GB Notification: Performance of simCode: alias equations: time 0.0696/11.86, allocations: 26.59 MB / 3.869 GB, free: 82.46 MB / 0.8551 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03744/11.89, allocations: 26.43 MB / 3.895 GB, free: 71.82 MB / 0.8551 GB Notification: Performance of SimCode: time 6.41e-07/11.89, allocations: 0 / 3.895 GB, free: 71.82 MB / 0.8551 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.59/15.48, allocations: 1.31 GB / 5.204 GB, free: 93.18 MB / 0.9489 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/15.48, allocations: 270.4 kB / 5.205 GB, free: 92.84 MB / 0.9489 GB Notification: Performance of buildModelFMU: Generate platform static: time 67.13/82.61, allocations: 3.188 kB / 5.205 GB, free: 92.84 MB / 0.9489 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_28_M_28.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28_res.mat does not exist to compare? outputFormat=mat