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.001002/0.001002, allocations: 176.4 kB / 8.346 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.206/1.206, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008303/0.0008302, allocations: 104.3 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8328/0.8328, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.96e-05, allocations: 4 kB / 0.5289 GB, free: 1.223 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4847, allocations: 82.83 MB / 0.6098 GB, free: 12.97 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.6267, allocations: 127.4 MB / 0.7342 GB, free: 13.39 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.6269, allocations: 67.91 kB / 0.7343 GB, free: 13.32 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 4.452/5.079, allocations: 1.137 GB / 1.871 GB, free: 60 MB / 0.7609 GB Notification: Performance of FrontEnd: time 2.255e-06/5.079, allocations: 0 / 1.871 GB, free: 60 MB / 0.7609 GB Notification: Performance of Transformations before backend: time 0.009284/5.089, allocations: 1.675 MB / 1.873 GB, free: 59.8 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.1979/5.287, allocations: 79.59 MB / 1.95 GB, free: 38.21 MB / 0.7609 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/5.287, allocations: 10.69 kB / 1.95 GB, free: 38.21 MB / 0.7609 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03013/5.317, allocations: 7.794 MB / 1.958 GB, free: 34.47 MB / 0.7609 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0966/5.414, allocations: 39.15 MB / 1.996 GB, free: 27.62 MB / 0.7609 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003095/5.417, allocations: 1.95 MB / 1.998 GB, free: 27.62 MB / 0.7609 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01621/5.433, allocations: 3.405 MB / 2.001 GB, free: 27.62 MB / 0.7609 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.101/6.534, allocations: 100.8 MB / 2.1 GB, free: 37.55 MB / 0.7614 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.167/6.701, allocations: 84.16 MB / 2.182 GB, free: 36.11 MB / 0.7614 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002342/6.703, allocations: 3.094 kB / 2.182 GB, free: 36.11 MB / 0.7614 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01693/6.72, allocations: 104.9 kB / 2.182 GB, free: 36.11 MB / 0.7614 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009458/6.721, allocations: 1.458 MB / 2.184 GB, free: 36.11 MB / 0.7614 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.074/7.795, allocations: 290.8 MB / 2.468 GB, free: 48.79 MB / 0.7926 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1206/7.916, allocations: 87.91 MB / 2.553 GB, free: 36.63 MB / 0.7926 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05991/7.976, allocations: 38.93 MB / 2.591 GB, free: 25.7 MB / 0.7926 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00476/7.98, allocations: 484.4 kB / 2.592 GB, free: 25.66 MB / 0.7926 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/7.982, allocations: 0.9133 MB / 2.593 GB, free: 25.07 MB / 0.7926 GB Notification: Performance of pre-optimization done (n=4788): time 0.0003151/7.982, allocations: 3.469 kB / 2.593 GB, free: 25.07 MB / 0.7926 GB Notification: Performance of matching and sorting (n=4788): time 0.717/8.699, allocations: 88.88 MB / 2.68 GB, free: 74.76 MB / 0.8239 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003115/8.699, allocations: 0.5272 MB / 2.68 GB, free: 74.66 MB / 0.8239 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08765/8.787, allocations: 50.06 MB / 2.729 GB, free: 73.2 MB / 0.8239 GB Notification: Performance of collectPreVariables (initialization): time 0.00989/8.797, allocations: 123.9 kB / 2.729 GB, free: 73.17 MB / 0.8239 GB Notification: Performance of collectInitialEqns (initialization): time 0.02478/8.822, allocations: 29.79 MB / 2.758 GB, free: 64.85 MB / 0.8239 GB Notification: Performance of collectInitialBindings (initialization): time 0.01923/8.841, allocations: 15.62 MB / 2.773 GB, free: 54.51 MB / 0.8239 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01343/8.855, allocations: 0 / 2.773 GB, free: 54.51 MB / 0.8239 GB Notification: Performance of setup shared object (initialization): time 0.007182/8.862, allocations: 2.835 MB / 2.776 GB, free: 54.07 MB / 0.8239 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06123/8.923, allocations: 37.17 MB / 2.812 GB, free: 52.76 MB / 0.8239 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06205/8.985, allocations: 45.05 MB / 2.856 GB, free: 36.7 MB / 0.8239 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06271/9.048, allocations: 45.41 MB / 2.901 GB, free: 26.75 MB / 0.8239 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004112/9.048, allocations: 53.31 kB / 2.901 GB, free: 26.75 MB / 0.8239 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.7851/9.833, allocations: 127.8 MB / 3.026 GB, free: 71.03 MB / 0.8239 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007211/9.834, allocations: 81.53 kB / 3.026 GB, free: 71.02 MB / 0.8239 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006835/9.835, allocations: 171.6 kB / 3.026 GB, free: 71.02 MB / 0.8239 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.000858/9.836, allocations: 349.5 kB / 3.026 GB, free: 71.02 MB / 0.8239 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03697/9.873, allocations: 8.982 MB / 3.035 GB, free: 70.58 MB / 0.8239 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005907/9.873, allocations: 438.8 kB / 3.035 GB, free: 70.5 MB / 0.8239 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07397/9.947, allocations: 12.08 MB / 3.047 GB, free: 70.5 MB / 0.8239 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01084/9.958, allocations: 1.772 MB / 3.049 GB, free: 70.5 MB / 0.8239 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.02126/9.979, allocations: 0.8706 MB / 3.05 GB, free: 69.95 MB / 0.8239 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1669/10.15, allocations: 87.66 MB / 3.135 GB, free: 64.43 MB / 0.8239 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02188/10.17, allocations: 4.948 MB / 3.14 GB, free: 62.06 MB / 0.8239 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02097/10.19, allocations: 7.382 MB / 3.148 GB, free: 61.57 MB / 0.8239 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003718/10.19, allocations: 449.9 kB / 3.148 GB, free: 61.57 MB / 0.8239 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007064/10.19, allocations: 446.6 kB / 3.148 GB, free: 61.57 MB / 0.8239 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/10.19, allocations: 223.8 kB / 3.149 GB, free: 61.57 MB / 0.8239 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09486/10.29, allocations: 51.71 MB / 3.199 GB, free: 54.41 MB / 0.8239 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000247/10.29, allocations: 0 / 3.199 GB, free: 54.41 MB / 0.8239 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01277/10.3, allocations: 3.77 MB / 3.203 GB, free: 54.16 MB / 0.8239 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.000198/10.3, allocations: 52.69 kB / 3.203 GB, free: 54.16 MB / 0.8239 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004944/10.3, allocations: 0 / 3.203 GB, free: 54.16 MB / 0.8239 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.406e-05/10.3, allocations: 53.02 kB / 3.203 GB, free: 54.16 MB / 0.8239 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/10.3, allocations: 3.719 kB / 3.203 GB, free: 54.16 MB / 0.8239 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1534/10.46, allocations: 90.27 MB / 3.291 GB, free: 7.758 MB / 0.8239 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5407/11, allocations: 7.663 MB / 3.299 GB, free: 96.1 MB / 0.8239 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02077/11.02, allocations: 1.422 kB / 3.299 GB, free: 96.1 MB / 0.8239 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.082/11.1, allocations: 16.93 MB / 3.315 GB, free: 96.1 MB / 0.8239 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01106/11.11, allocations: 4.867 MB / 3.32 GB, free: 96.06 MB / 0.8239 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.008288/11.12, allocations: 1.365 MB / 3.321 GB, free: 96.06 MB / 0.8239 GB Notification: Performance of sorting global known variables: time 0.06553/11.19, allocations: 36.73 MB / 3.357 GB, free: 95.05 MB / 0.8239 GB Notification: Performance of sort global known variables: time 6.11e-07/11.19, allocations: 0 / 3.357 GB, free: 95.05 MB / 0.8239 GB Notification: Performance of remove unused functions: time 0.07156/11.26, allocations: 19.57 MB / 3.376 GB, free: 93.17 MB / 0.8239 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.1772/11.44, allocations: 91.58 MB / 3.466 GB, free: 85.73 MB / 0.8239 GB Notification: Performance of simCode: created initialization part: time 0.1247/11.56, allocations: 78.8 MB / 3.542 GB, free: 40.8 MB / 0.8239 GB Notification: Performance of simCode: created event and clocks part: time 0.0001311/11.56, allocations: 112.5 kB / 3.543 GB, free: 40.69 MB / 0.8239 GB Notification: Performance of simCode: created simulation system equations: time 0.06234/11.62, allocations: 35.77 MB / 3.578 GB, free: 10.27 MB / 0.8239 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05304/11.68, allocations: 9.173 MB / 3.586 GB, free: 3.414 MB / 0.8239 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8294/12.51, allocations: 161.8 MB / 3.744 GB, free: 72.59 MB / 0.8239 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05901/12.56, allocations: 43.09 MB / 3.787 GB, free: 69.54 MB / 0.8239 GB Notification: Performance of simCode: alias equations: time 0.07757/12.64, allocations: 25.19 MB / 3.811 GB, free: 60.68 MB / 0.8239 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03855/12.68, allocations: 25.89 MB / 3.836 GB, free: 53.67 MB / 0.8239 GB Notification: Performance of SimCode: time 1.553e-06/12.68, allocations: 0 / 3.836 GB, free: 53.67 MB / 0.8239 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.181/16.86, allocations: 1.119 GB / 4.956 GB, free: 20.45 MB / 0.9801 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/16.86, allocations: 233 kB / 4.956 GB, free: 20.17 MB / 0.9801 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.38/82.25, allocations: 8.625 kB / 4.956 GB, free: 20.17 MB / 0.9801 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