Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.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_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",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.0008878/0.0008879, allocations: 177.1 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.0008283/0.0008283, allocations: 98.17 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8849/0.8849, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.383e-05/1.376e-05, allocations: 3.984 kB / 0.5289 GB, free: 1.203 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4901, allocations: 82.84 MB / 0.6098 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.6276, allocations: 127.4 MB / 0.7342 GB, free: 13.47 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.6278, allocations: 67.91 kB / 0.7343 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.084/1.712, allocations: 267.2 MB / 0.9952 GB, free: 2.957 MB / 0.6515 GB Notification: Performance of FrontEnd: time 1.843e-06/1.712, allocations: 0 / 0.9952 GB, free: 2.957 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 0.001939/1.714, allocations: 435.9 kB / 0.9956 GB, free: 2.531 MB / 0.6515 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4055 * Number of variables: 4055 Notification: Performance of Generate backend data structure: time 0.3528/2.066, allocations: 19.92 MB / 1.015 GB, free: 69.21 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/2.067, allocations: 7.719 kB / 1.015 GB, free: 69.21 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008264/2.075, allocations: 1.99 MB / 1.017 GB, free: 68.26 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/2.096, allocations: 10.01 MB / 1.027 GB, free: 66.43 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008242/2.096, allocations: 0.493 MB / 1.027 GB, free: 66.43 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00367/2.1, allocations: 0.8684 MB / 1.028 GB, free: 66.43 MB / 0.6515 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0357/2.136, allocations: 23.46 MB / 1.051 GB, free: 66.37 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0406/2.176, allocations: 21.35 MB / 1.072 GB, free: 65.99 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009217/2.177, allocations: 0 / 1.072 GB, free: 65.99 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004121/2.182, allocations: 32.67 kB / 1.072 GB, free: 65.98 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002822/2.182, allocations: 381.8 kB / 1.072 GB, free: 65.98 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1427/2.325, allocations: 73.04 MB / 1.144 GB, free: 52.75 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02324/2.348, allocations: 21.32 MB / 1.164 GB, free: 35.11 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01176/2.36, allocations: 9.747 MB / 1.174 GB, free: 26.46 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000737/2.36, allocations: 121.5 kB / 1.174 GB, free: 26.34 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/2.361, allocations: 267.2 kB / 1.174 GB, free: 26.07 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=1218): time 2.346e-05/2.361, allocations: 0 / 1.174 GB, free: 26.07 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1218): time 0.0326/2.393, allocations: 22.11 MB / 1.196 GB, free: 7.582 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/2.393, allocations: 176.9 kB / 1.196 GB, free: 7.395 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02307/2.416, allocations: 12.92 MB / 1.209 GB, free: 12.76 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.00206/2.419, allocations: 57.64 kB / 1.209 GB, free: 12.7 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.005927/2.425, allocations: 7.388 MB / 1.216 GB, free: 6.008 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.00435/2.429, allocations: 3.95 MB / 1.22 GB, free: 2.359 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00197/2.431, allocations: 0 / 1.22 GB, free: 2.359 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.001107/2.432, allocations: 0.9406 MB / 1.221 GB, free: 1.582 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04643/2.478, allocations: 12.22 MB / 1.233 GB, free: 0 / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01713/2.496, allocations: 11.4 MB / 1.244 GB, free: 5.598 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3623/2.858, allocations: 11.85 MB / 1.255 GB, free: 94.02 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-05/2.858, allocations: 18 kB / 1.255 GB, free: 94.02 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.04218/2.9, allocations: 30.74 MB / 1.285 GB, free: 92.74 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/2.9, allocations: 25.83 kB / 1.285 GB, free: 92.74 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.187e-05/2.9, allocations: 45.78 kB / 1.286 GB, free: 92.74 MB / 0.6828 GB Notification: Tearing is skipped for strong component 1 because system size of 811 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 9.584e-05/2.901, allocations: 93.48 kB / 1.286 GB, free: 92.74 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008554/2.909, allocations: 2.216 MB / 1.288 GB, free: 92.62 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001169/2.909, allocations: 107 kB / 1.288 GB, free: 92.61 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01786/2.927, allocations: 2.847 MB / 1.291 GB, free: 92.32 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002461/2.93, allocations: 469.2 kB / 1.291 GB, free: 92.32 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1011): * Single equations (assignments): 1010 * 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 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002463/2.932, allocations: 306.8 kB / 1.291 GB, free: 92.07 MB / 0.6828 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02865/2.961, allocations: 22.11 MB / 1.313 GB, free: 90.41 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005931/2.967, allocations: 1.257 MB / 1.314 GB, free: 89.8 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005766/2.973, allocations: 1.875 MB / 1.316 GB, free: 89.67 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.224e-05/2.973, allocations: 114.1 kB / 1.316 GB, free: 89.67 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002382/2.973, allocations: 117.1 kB / 1.316 GB, free: 89.67 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001288/2.973, allocations: 66.19 kB / 1.316 GB, free: 89.66 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/2.995, allocations: 13.19 MB / 1.329 GB, free: 88.94 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.682e-05/2.995, allocations: 7.312 kB / 1.329 GB, free: 88.94 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/2.998, allocations: 0.9224 MB / 1.33 GB, free: 88.91 MB / 0.6828 GB Notification: Tearing is skipped for strong component 2 because system size of 811 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 4.667e-05/2.998, allocations: 16.34 kB / 1.33 GB, free: 88.91 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001154/3, allocations: 0 / 1.33 GB, free: 88.91 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.602e-05/3, allocations: 13.69 kB / 1.33 GB, free: 88.91 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/3, allocations: 0 / 1.33 GB, free: 88.91 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03281/3.032, allocations: 22.84 MB / 1.352 GB, free: 86.99 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005678/3.038, allocations: 1.997 MB / 1.354 GB, free: 86.12 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004136/3.042, allocations: 0 / 1.354 GB, free: 86.12 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01741/3.06, allocations: 4.018 MB / 1.358 GB, free: 86.12 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002354/3.062, allocations: 1.241 MB / 1.36 GB, free: 86.11 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001808/3.064, allocations: 355.8 kB / 1.36 GB, free: 86.11 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.01295/3.077, allocations: 9.34 MB / 1.369 GB, free: 85.82 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.61e-07/3.077, allocations: 3.609 kB / 1.369 GB, free: 85.82 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01626/3.093, allocations: 4.975 MB / 1.374 GB, free: 85.16 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (408): * Single equations (assignments): 407 * 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 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03609/3.129, allocations: 23.56 MB / 1.397 GB, free: 77.95 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.02957/3.159, allocations: 20 MB / 1.416 GB, free: 60.7 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-05/3.159, allocations: 31.19 kB / 1.416 GB, free: 60.66 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.01283/3.172, allocations: 9.112 MB / 1.425 GB, free: 52.89 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0147/3.186, allocations: 2.302 MB / 1.428 GB, free: 51.14 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07502/3.262, allocations: 38.45 MB / 1.465 GB, free: 18.31 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/3.272, allocations: 11.24 MB / 1.476 GB, free: 10.23 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.01355/3.285, allocations: 6.056 MB / 1.482 GB, free: 6.496 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007701/3.293, allocations: 5.864 MB / 1.488 GB, free: 1.023 MB / 0.6828 GB Notification: Performance of SimCode: time 1.272e-06/3.293, allocations: 3.594 kB / 1.488 GB, free: 1.023 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/4.329, allocations: 298.4 MB / 1.779 GB, free: 60.19 MB / 0.7296 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/4.329, allocations: 220 kB / 1.779 GB, free: 59.91 MB / 0.7296 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.589/13.92, allocations: 0 / 1.779 GB, free: 59.91 MB / 0.7296 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat does not exist to compare? outputFormat=mat