Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.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_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",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.0009191/0.0009191, allocations: 175.1 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.16/1.16, allocations: 221.4 MB / 235.5 MB, free: 2.93 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.0008065/0.0008065, allocations: 103.7 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7764/0.7764, allocations: 120.5 MB / 457.9 MB, free: 7.016 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.597e-05, allocations: 4 kB / 0.5358 GB, free: 12.07 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4467, allocations: 82.83 MB / 0.6167 GB, free: 9.32 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.5762, allocations: 128.1 MB / 0.7418 GB, free: 9.094 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.5764, allocations: 67.91 kB / 0.7419 GB, free: 9.027 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 10.44/11.01, allocations: 2.643 GB / 3.385 GB, free: 86.87 MB / 0.9176 GB Notification: Performance of FrontEnd: time 1.914e-06/11.01, allocations: 3.938 kB / 3.385 GB, free: 86.87 MB / 0.9176 GB Notification: Performance of Transformations before backend: time 0.01584/11.03, allocations: 3.407 MB / 3.388 GB, free: 86.47 MB / 0.9176 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32369 * Number of variables: 32369 Notification: Performance of Generate backend data structure: time 0.3707/11.4, allocations: 162.6 MB / 3.547 GB, free: 42.32 MB / 0.9176 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/11.4, allocations: 6.844 kB / 3.547 GB, free: 42.32 MB / 0.9176 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.04822/11.45, allocations: 17.64 MB / 3.564 GB, free: 41.46 MB / 0.9176 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06003/11.51, allocations: 15.82 MB / 3.58 GB, free: 33.86 MB / 0.9176 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1871/11.69, allocations: 79.56 MB / 3.657 GB, free: 19.96 MB / 0.9176 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009846/11.7, allocations: 9.14 MB / 3.666 GB, free: 19.71 MB / 0.9176 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03462/11.74, allocations: 11.85 MB / 3.678 GB, free: 12.34 MB / 0.9176 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.452/13.19, allocations: 190.1 MB / 3.863 GB, free: 68.68 MB / 0.9186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004776/13.2, allocations: 0 / 3.863 GB, free: 68.68 MB / 0.9186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03431/13.23, allocations: 5.535 MB / 3.869 GB, free: 64.54 MB / 0.9186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001778/13.23, allocations: 2.968 MB / 3.872 GB, free: 64.54 MB / 0.9186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9576/14.19, allocations: 201.6 MB / 4.069 GB, free: 75.68 MB / 0.9499 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.93/16.12, allocations: 0.6067 GB / 4.675 GB, free: 26.55 MB / 0.9967 GB Notification: Performance of preOpt comSubExp (simulation): time 1.057/17.18, allocations: 190.9 MB / 4.862 GB, free: 96.06 MB / 0.9967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1096/17.29, allocations: 82.94 MB / 4.943 GB, free: 72.08 MB / 0.9967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006586/17.29, allocations: 0.9649 MB / 4.944 GB, free: 72.01 MB / 0.9967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/17.29, allocations: 1.814 MB / 4.945 GB, free: 70.88 MB / 0.9967 GB Notification: Performance of pre-optimization done (n=9720): time 0.000161/17.29, allocations: 0 / 4.945 GB, free: 70.88 MB / 0.9967 GB Notification: Performance of matching and sorting (n=9720): time 0.332/17.63, allocations: 187.5 MB / 5.129 GB, free: 16.8 MB / 0.9967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009173/17.63, allocations: 1.015 MB / 5.13 GB, free: 15.78 MB / 0.9967 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8695/18.5, allocations: 121.9 MB / 5.249 GB, free: 133.2 MB / 0.9967 GB Notification: Performance of collectPreVariables (initialization): time 0.0156/18.51, allocations: 2.103 MB / 5.251 GB, free: 133.2 MB / 0.9967 GB Notification: Performance of collectInitialEqns (initialization): time 0.04823/18.56, allocations: 60.47 MB / 5.31 GB, free: 101 MB / 0.9967 GB Notification: Performance of collectInitialBindings (initialization): time 0.03172/18.59, allocations: 33.1 MB / 5.342 GB, free: 75.48 MB / 0.9967 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0172/18.61, allocations: 2.219 MB / 5.344 GB, free: 73.71 MB / 0.9967 GB Notification: Performance of setup shared object (initialization): time 0.00984/18.62, allocations: 5.449 MB / 5.35 GB, free: 71.36 MB / 0.9967 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1084/18.73, allocations: 77.8 MB / 5.426 GB, free: 54.35 MB / 0.9967 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7728/19.5, allocations: 94.91 MB / 5.518 GB, free: 99.43 MB / 0.9967 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1449/19.65, allocations: 94.87 MB / 5.611 GB, free: 97.79 MB / 0.9967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007126/19.65, allocations: 100.2 kB / 5.611 GB, free: 97.79 MB / 0.9967 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 0.46/20.11, allocations: 260.8 MB / 5.866 GB, free: 7.348 MB / 0.9967 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008328/20.11, allocations: 156.8 kB / 5.866 GB, free: 7.195 MB / 0.9967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001035/20.11, allocations: 352.8 kB / 5.866 GB, free: 6.852 MB / 0.9967 GB Notification: Tearing is skipped for strong component 1 because system size of 6479 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.001055/20.11, allocations: 0.6875 MB / 5.867 GB, free: 6.164 MB / 0.9967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7372/20.85, allocations: 18.5 MB / 5.885 GB, free: 110.2 MB / 0.9967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/20.85, allocations: 0.8598 MB / 5.886 GB, free: 110.1 MB / 0.9967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1564/21, allocations: 28.54 MB / 5.914 GB, free: 107.5 MB / 0.9967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02297/21.03, allocations: 3.602 MB / 5.917 GB, free: 107.5 MB / 0.9967 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1602 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8083): * Single equations (assignments): 8082 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.04091/21.07, allocations: 5.755 MB / 5.923 GB, free: 106.3 MB / 0.9967 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04469/21.11, allocations: 11.12 MB / 5.934 GB, free: 101 MB / 0.9967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04909/21.16, allocations: 17.31 MB / 5.95 GB, free: 99.91 MB / 0.9967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009109/21.16, allocations: 0.8967 MB / 5.951 GB, free: 99.91 MB / 0.9967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001595/21.16, allocations: 0.8911 MB / 5.952 GB, free: 99.91 MB / 0.9967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002534/21.17, allocations: 460.2 kB / 5.953 GB, free: 99.91 MB / 0.9967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2458/21.41, allocations: 122.4 MB / 6.072 GB, free: 82.14 MB / 0.9967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0007041/21.41, allocations: 0 / 6.072 GB, free: 82.14 MB / 0.9967 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0256/21.44, allocations: 7.735 MB / 6.08 GB, free: 81.64 MB / 0.9967 GB Notification: Tearing is skipped for strong component 2 because system size of 6479 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.0003816/21.44, allocations: 101.8 kB / 6.08 GB, free: 81.64 MB / 0.9967 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01149/21.45, allocations: 1.486 MB / 6.081 GB, free: 80.45 MB / 0.9967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002421/21.45, allocations: 107.9 kB / 6.081 GB, free: 80.45 MB / 0.9967 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/21.45, allocations: 3.938 kB / 6.081 GB, free: 80.45 MB / 0.9967 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.053/22.5, allocations: 192.8 MB / 6.27 GB, free: 80.76 MB / 1.012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05893/22.56, allocations: 17.49 MB / 6.287 GB, free: 77.14 MB / 1.012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.05538/22.62, allocations: 1.486 MB / 6.288 GB, free: 77.14 MB / 1.012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1696/22.79, allocations: 36.97 MB / 6.324 GB, free: 74.58 MB / 1.012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02859/22.82, allocations: 9.87 MB / 6.334 GB, free: 74.5 MB / 1.012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0246/22.84, allocations: 2.767 MB / 6.337 GB, free: 74.5 MB / 1.012 GB Notification: Performance of sorting global known variables: time 0.1768/23.02, allocations: 91.01 MB / 6.426 GB, free: 71.65 MB / 1.012 GB Notification: Performance of sort global known variables: time 5.61e-07/23.02, allocations: 3.938 kB / 6.426 GB, free: 71.64 MB / 1.012 GB Notification: Performance of remove unused functions: time 0.142/23.16, allocations: 42.81 MB / 6.467 GB, free: 67.34 MB / 1.012 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 (3242): * Single equations (assignments): 3241 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 1.226/24.39, allocations: 199 MB / 6.662 GB, free: 71.54 MB / 1.028 GB Notification: Performance of simCode: created initialization part: time 0.2985/24.69, allocations: 166.1 MB / 6.824 GB, free: 61.41 MB / 1.028 GB Notification: Performance of simCode: created event and clocks part: time 0.0001307/24.69, allocations: 225.3 kB / 6.824 GB, free: 61.39 MB / 1.028 GB Notification: Performance of simCode: created simulation system equations: time 0.1416/24.83, allocations: 75.38 MB / 6.898 GB, free: 41.86 MB / 1.028 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1321/24.96, allocations: 28.32 MB / 6.925 GB, free: 33.7 MB / 1.028 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.472/26.43, allocations: 337.1 MB / 7.255 GB, free: 105.3 MB / 1.044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1531/26.58, allocations: 87.23 MB / 7.34 GB, free: 51.07 MB / 1.044 GB Notification: Performance of simCode: alias equations: time 1.027/27.61, allocations: 54.78 MB / 7.393 GB, free: 67.11 MB / 1.044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1178/27.73, allocations: 56.91 MB / 7.449 GB, free: 50.13 MB / 1.044 GB Notification: Performance of SimCode: time 1.383e-06/27.73, allocations: 0 / 7.449 GB, free: 50.13 MB / 1.044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.385/37.11, allocations: 2.665 GB / 10.11 GB, free: 15.06 MB / 1.184 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/37.11, allocations: 298.9 kB / 10.11 GB, free: 14.73 MB / 1.184 GB Notification: Performance of buildModelFMU: Generate platform static: time 247.9/285.1, allocations: 0 / 10.11 GB, free: 14.73 MB / 1.184 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.mat does not exist to compare? outputFormat=mat