Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_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.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_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.001168/0.001168, allocations: 177.1 kB / 8.35 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.266/1.266, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0009021/0.0009017, allocations: 95.61 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.8327/0.8327, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.231e-05/1.233e-05, allocations: 0 / 0.5289 GB, free: 1.219 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.501/0.501, allocations: 82.83 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.6374, allocations: 127.4 MB / 0.7342 GB, free: 13.37 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.6377, allocations: 63.97 kB / 0.7343 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.8311/1.469, allocations: 136.1 MB / 0.8672 GB, free: 22.33 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.735e-06/1.469, allocations: 0 / 0.8672 GB, free: 22.33 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0009781/1.47, allocations: 227.9 kB / 0.8674 GB, free: 22.11 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.0254/1.495, allocations: 10.25 MB / 0.8774 GB, free: 11.78 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.495, allocations: 8.031 kB / 0.8774 GB, free: 11.77 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/1.5, allocations: 1.035 MB / 0.8785 GB, free: 10.73 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/1.512, allocations: 5.247 MB / 0.8836 GB, free: 5.398 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005086/1.512, allocations: 268 kB / 0.8838 GB, free: 5.137 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001984/1.514, allocations: 460 kB / 0.8843 GB, free: 4.688 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0222/1.536, allocations: 12.09 MB / 0.8961 GB, free: 8.57 MB / 0.5578 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02716/1.564, allocations: 11.03 MB / 0.9068 GB, free: 13.48 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000397/1.564, allocations: 3.938 kB / 0.9069 GB, free: 13.48 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001996/1.566, allocations: 19.95 kB / 0.9069 GB, free: 13.46 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/1.566, allocations: 196 kB / 0.9071 GB, free: 13.27 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08428/1.651, allocations: 37.53 MB / 0.9437 GB, free: 7.016 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/1.665, allocations: 10.81 MB / 0.9543 GB, free: 12.21 MB / 0.6203 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006817/1.672, allocations: 5.005 MB / 0.9592 GB, free: 7.184 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/1.672, allocations: 64.94 kB / 0.9592 GB, free: 7.117 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/1.672, allocations: 161.4 kB / 0.9594 GB, free: 6.945 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=630): time 8.095e-06/1.672, allocations: 0 / 0.9594 GB, free: 6.945 MB / 0.6203 GB Notification: Performance of matching and sorting (n=630): time 0.01884/1.691, allocations: 11.37 MB / 0.9705 GB, free: 11.48 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/1.691, allocations: 116.3 kB / 0.9706 GB, free: 11.35 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.701, allocations: 6.64 MB / 0.9771 GB, free: 4.727 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/1.703, allocations: 41.7 kB / 0.9771 GB, free: 4.68 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 0.003074/1.706, allocations: 3.807 MB / 0.9808 GB, free: 0.832 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 0.002826/1.708, allocations: 2.036 MB / 0.9828 GB, free: 14.76 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008172/1.709, allocations: 3.938 kB / 0.9828 GB, free: 14.76 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0005775/1.71, allocations: 0.6311 MB / 0.9834 GB, free: 14.12 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00691/1.717, allocations: 4.851 MB / 0.9882 GB, free: 9.27 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008452/1.725, allocations: 5.869 MB / 0.9939 GB, free: 3.094 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3683/2.094, allocations: 5.917 MB / 0.9997 GB, free: 146.6 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.429e-05/2.094, allocations: 6.594 kB / 0.9997 GB, free: 146.6 MB / 0.6515 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02298/2.117, allocations: 15.8 MB / 1.015 GB, free: 145.9 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 4.009e-05/2.117, allocations: 14.5 kB / 1.015 GB, free: 145.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-05/2.117, allocations: 32.95 kB / 1.015 GB, free: 145.9 MB / 0.6515 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.445e-05/2.117, allocations: 48.39 kB / 1.015 GB, free: 145.9 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004463/2.121, allocations: 1.117 MB / 1.016 GB, free: 145.9 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.584e-05/2.121, allocations: 61.95 kB / 1.016 GB, free: 145.8 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00837/2.13, allocations: 1.389 MB / 1.018 GB, free: 145.8 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/2.131, allocations: 238.2 kB / 1.018 GB, free: 145.8 MB / 0.6515 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.001251/2.132, allocations: 200.1 kB / 1.018 GB, free: 145.6 MB / 0.6515 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01616/2.148, allocations: 11.38 MB / 1.029 GB, free: 144.7 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003326/2.152, allocations: 0.6501 MB / 1.03 GB, free: 144.4 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/2.155, allocations: 0.9706 MB / 1.031 GB, free: 144.3 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/2.155, allocations: 63.91 kB / 1.031 GB, free: 144.3 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001215/2.155, allocations: 60.03 kB / 1.031 GB, free: 144.3 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-05/2.155, allocations: 32.28 kB / 1.031 GB, free: 144.3 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/2.165, allocations: 6.871 MB / 1.038 GB, free: 143.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/2.166, allocations: 0 / 1.038 GB, free: 143.9 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/2.167, allocations: 474 kB / 1.038 GB, free: 143.9 MB / 0.6515 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 3.201e-05/2.167, allocations: 7.688 kB / 1.038 GB, free: 143.9 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005522/2.168, allocations: 3.656 kB / 1.038 GB, free: 143.9 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/2.168, allocations: 7.438 kB / 1.038 GB, free: 143.9 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.168, allocations: 0 / 1.038 GB, free: 143.9 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/2.184, allocations: 11.79 MB / 1.05 GB, free: 142.8 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/2.187, allocations: 1.074 MB / 1.051 GB, free: 142.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002019/2.189, allocations: 0 / 1.051 GB, free: 142.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009194/2.198, allocations: 1.963 MB / 1.053 GB, free: 142.4 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001357/2.2, allocations: 0.6428 MB / 1.053 GB, free: 142.4 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008398/2.201, allocations: 184.8 kB / 1.053 GB, free: 142.4 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.006223/2.207, allocations: 4.867 MB / 1.058 GB, free: 142.2 MB / 0.6515 GB Notification: Performance of sort global known variables: time 3.31e-07/2.207, allocations: 3.75 kB / 1.058 GB, free: 142.2 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.007458/2.214, allocations: 2.569 MB / 1.061 GB, free: 142.1 MB / 0.6515 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.01584/2.23, allocations: 12.43 MB / 1.073 GB, free: 139.9 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.01354/2.244, allocations: 10.35 MB / 1.083 GB, free: 134 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/2.244, allocations: 18 kB / 1.083 GB, free: 133.9 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.006588/2.25, allocations: 4.731 MB / 1.088 GB, free: 129.9 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006702/2.257, allocations: 1.183 MB / 1.089 GB, free: 129 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/2.29, allocations: 19.48 MB / 1.108 GB, free: 112.4 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004599/2.295, allocations: 6.128 MB / 1.114 GB, free: 107.9 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.007545/2.302, allocations: 2.973 MB / 1.117 GB, free: 105.9 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004135/2.306, allocations: 2.876 MB / 1.119 GB, free: 103.3 MB / 0.6515 GB Notification: Performance of SimCode: time 7.12e-07/2.306, allocations: 0 / 1.119 GB, free: 103.3 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5768/2.883, allocations: 158.5 MB / 1.274 GB, free: 145.8 MB / 0.6671 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/2.883, allocations: 211.7 kB / 1.274 GB, free: 145.5 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.695/8.578, allocations: 1.5 kB / 1.274 GB, free: 145.5 MB / 0.6671 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat does not exist to compare? outputFormat=mat