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.0009042/0.0009043, allocations: 176.2 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.226/1.226, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.001037/0.001037, allocations: 100.4 kB / 281.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8649/0.8649, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.724e-05, allocations: 4 kB / 0.5289 GB, free: 1.188 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5175, allocations: 82.83 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.6694, allocations: 133.8 MB / 0.7404 GB, free: 7.035 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.6696, allocations: 63.97 kB / 0.7405 GB, free: 6.973 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.8022/1.472, allocations: 131.2 MB / 0.8686 GB, free: 20.68 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.403e-06/1.472, allocations: 3.938 kB / 0.8686 GB, free: 20.67 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0006113/1.472, allocations: 223.9 kB / 0.8688 GB, free: 20.45 MB / 0.5421 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.01421/1.487, allocations: 7.4 MB / 0.876 GB, free: 12.98 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.487, allocations: 12.02 kB / 0.876 GB, free: 12.96 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/1.489, allocations: 1.031 MB / 0.877 GB, free: 11.92 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/1.493, allocations: 3.173 MB / 0.8801 GB, free: 8.668 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/1.493, allocations: 264 kB / 0.8804 GB, free: 8.41 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/1.494, allocations: 456.9 kB / 0.8808 GB, free: 7.965 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0071/1.501, allocations: 4.828 MB / 0.8855 GB, free: 3.129 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00853/1.509, allocations: 4.922 MB / 0.8903 GB, free: 14.14 MB / 0.5578 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/1.51, allocations: 4 kB / 0.8903 GB, free: 14.14 MB / 0.5578 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004915/1.51, allocations: 15.95 kB / 0.8903 GB, free: 14.12 MB / 0.5578 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/1.51, allocations: 199.9 kB / 0.8905 GB, free: 13.93 MB / 0.5578 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03876/1.549, allocations: 23.1 MB / 0.9131 GB, free: 6.121 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007067/1.556, allocations: 6.177 MB / 0.9191 GB, free: 15.95 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002864/1.559, allocations: 2.402 MB / 0.9215 GB, free: 13.53 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/1.559, allocations: 68.92 kB / 0.9215 GB, free: 13.46 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/1.559, allocations: 161.4 kB / 0.9217 GB, free: 13.29 MB / 0.589 GB Notification: Performance of pre-optimization done (n=630): time 7.564e-06/1.559, allocations: 0 / 0.9217 GB, free: 13.29 MB / 0.589 GB Notification: Performance of matching and sorting (n=630): time 0.0108/1.57, allocations: 5.835 MB / 0.9274 GB, free: 7.363 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/1.57, allocations: 116.3 kB / 0.9275 GB, free: 7.234 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005606/1.576, allocations: 3.627 MB / 0.931 GB, free: 3.625 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 0.0007235/1.577, allocations: 41.7 kB / 0.9311 GB, free: 3.578 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.002371/1.579, allocations: 3.666 MB / 0.9347 GB, free: 15.87 MB / 0.6046 GB Notification: Performance of collectInitialBindings (initialization): time 0.001576/1.581, allocations: 2.005 MB / 0.9366 GB, free: 13.83 MB / 0.6046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/1.581, allocations: 0 / 0.9366 GB, free: 13.83 MB / 0.6046 GB Notification: Performance of setup shared object (initialization): time 0.0003271/1.581, allocations: 0.5805 MB / 0.9372 GB, free: 13.25 MB / 0.6046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/1.584, allocations: 1.635 MB / 0.9388 GB, free: 11.61 MB / 0.6046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/1.587, allocations: 2.61 MB / 0.9413 GB, free: 8.695 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003184/1.59, allocations: 2.027 MB / 0.9433 GB, free: 6.652 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/1.59, allocations: 8 kB / 0.9433 GB, free: 6.645 MB / 0.6046 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01339/1.604, allocations: 7.539 MB / 0.9507 GB, free: 15.05 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/1.604, allocations: 16 kB / 0.9507 GB, free: 15.04 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.454e-05/1.604, allocations: 27.98 kB / 0.9507 GB, free: 15.01 MB / 0.6203 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.588e-05/1.604, allocations: 47.98 kB / 0.9508 GB, free: 14.96 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/1.607, allocations: 0.8152 MB / 0.9516 GB, free: 14.15 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.767e-05/1.607, allocations: 59.8 kB / 0.9516 GB, free: 14.09 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005433/1.613, allocations: 492.5 kB / 0.9521 GB, free: 13.6 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000495/1.613, allocations: 244 kB / 0.9523 GB, free: 13.36 MB / 0.6203 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 () * 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.0008679/1.614, allocations: 206.2 kB / 0.9525 GB, free: 13.16 MB / 0.6203 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009815/1.624, allocations: 5.847 MB / 0.9582 GB, free: 7.215 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.625, allocations: 0.6566 MB / 0.9589 GB, free: 6.551 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.626, allocations: 0.5858 MB / 0.9594 GB, free: 5.957 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.882e-05/1.626, allocations: 60 kB / 0.9595 GB, free: 5.898 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.774e-05/1.626, allocations: 56 kB / 0.9596 GB, free: 5.844 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-05/1.626, allocations: 39.88 kB / 0.9596 GB, free: 5.805 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006166/1.633, allocations: 4.663 MB / 0.9641 GB, free: 1.086 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.633, allocations: 3.938 kB / 0.9642 GB, free: 1.082 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.634, allocations: 331.6 kB / 0.9645 GB, free: 0.7578 MB / 0.6203 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 2.848e-05/1.634, allocations: 8 kB / 0.9645 GB, free: 0.75 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/1.634, allocations: 0 / 0.9645 GB, free: 0.75 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/1.634, allocations: 8 kB / 0.9645 GB, free: 0.7422 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.634, allocations: 0 / 0.9645 GB, free: 0.7422 MB / 0.6203 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009662/1.644, allocations: 6.227 MB / 0.9706 GB, free: 10.4 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.645, allocations: 0.7617 MB / 0.9713 GB, free: 9.613 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006181/1.645, allocations: 0 / 0.9713 GB, free: 9.613 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005177/1.651, allocations: 0.7573 MB / 0.972 GB, free: 8.855 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000787/1.651, allocations: 0.6403 MB / 0.9727 GB, free: 8.211 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003247/1.652, allocations: 188 kB / 0.9729 GB, free: 8.027 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.003274/1.655, allocations: 2.613 MB / 0.9754 GB, free: 5.434 MB / 0.6359 GB Notification: Performance of sort global known variables: time 2.5e-07/1.655, allocations: 0 / 0.9754 GB, free: 5.434 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.003721/1.659, allocations: 2.06 MB / 0.9774 GB, free: 3.367 MB / 0.6359 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 (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.01005/1.669, allocations: 6.854 MB / 0.9841 GB, free: 12.39 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.008008/1.677, allocations: 5.039 MB / 0.989 GB, free: 7.297 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/1.677, allocations: 22.5 kB / 0.9891 GB, free: 7.273 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.003866/1.681, allocations: 2.634 MB / 0.9916 GB, free: 4.617 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/1.686, allocations: 0.922 MB / 0.9925 GB, free: 3.691 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3284/2.014, allocations: 8.859 MB / 1.001 GB, free: 128.9 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/2.016, allocations: 3.454 MB / 1.005 GB, free: 128.1 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.003303/2.02, allocations: 0.5856 MB / 1.005 GB, free: 128 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002897/2.023, allocations: 3.179 MB / 1.008 GB, free: 128 MB / 0.6515 GB Notification: Performance of SimCode: time 6.31e-07/2.023, allocations: 0 / 1.008 GB, free: 128 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1675/2.19, allocations: 119.8 MB / 1.125 GB, free: 79.3 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/2.19, allocations: 220 kB / 1.125 GB, free: 79.02 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.161/8.352, allocations: 0 / 1.125 GB, free: 79.02 MB / 0.6515 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