Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.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_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",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.0009306/0.0009306, allocations: 174.8 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.945 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.0007883/0.0007883, allocations: 88.05 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7431/0.7431, allocations: 120.5 MB / 457.9 MB, free: 7.023 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.292e-05, allocations: 4 kB / 0.5358 GB, free: 12.08 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4472, allocations: 82.84 MB / 0.6167 GB, free: 9.332 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.5716, allocations: 128.1 MB / 0.7418 GB, free: 9.102 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.5718, allocations: 67.91 kB / 0.7419 GB, free: 9.035 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 2.22/2.792, allocations: 0.5509 GB / 1.293 GB, free: 57.22 MB / 0.6984 GB Notification: Performance of FrontEnd: time 1.523e-06/2.792, allocations: 3.375 kB / 1.293 GB, free: 57.22 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 0.003255/2.795, allocations: 0.8639 MB / 1.294 GB, free: 57.12 MB / 0.6984 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.08129/2.876, allocations: 40.59 MB / 1.333 GB, free: 47.67 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/2.876, allocations: 7.938 kB / 1.333 GB, free: 47.67 MB / 0.6984 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009232/2.886, allocations: 4.483 MB / 1.338 GB, free: 47.42 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/2.898, allocations: 4.006 MB / 1.342 GB, free: 45.5 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04364/2.941, allocations: 20.12 MB / 1.361 GB, free: 41.93 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001867/2.943, allocations: 2.315 MB / 1.363 GB, free: 41.87 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00677/2.95, allocations: 2.996 MB / 1.366 GB, free: 41.87 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07675/3.027, allocations: 48.01 MB / 1.413 GB, free: 41.01 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009144/3.028, allocations: 3.938 kB / 1.413 GB, free: 41.01 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006354/3.034, allocations: 1.404 MB / 1.415 GB, free: 41 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004641/3.035, allocations: 0.7516 MB / 1.415 GB, free: 41 MB / 0.6984 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06581/3.1, allocations: 49.14 MB / 1.463 GB, free: 22 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6155/3.716, allocations: 156.5 MB / 1.616 GB, free: 33.42 MB / 0.7296 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04842/3.764, allocations: 45.52 MB / 1.661 GB, free: 31.59 MB / 0.7296 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02191/3.786, allocations: 20.61 MB / 1.681 GB, free: 31.13 MB / 0.7296 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/3.787, allocations: 252.2 kB / 1.681 GB, free: 31.11 MB / 0.7296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000371/3.788, allocations: 490.7 kB / 1.681 GB, free: 31.05 MB / 0.7296 GB Notification: Performance of pre-optimization done (n=2460): time 3.134e-05/3.788, allocations: 2.719 kB / 1.681 GB, free: 31.05 MB / 0.7296 GB Notification: Performance of matching and sorting (n=2460): time 0.06565/3.854, allocations: 47.19 MB / 1.728 GB, free: 19.53 MB / 0.7296 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/3.854, allocations: 300.3 kB / 1.728 GB, free: 19.45 MB / 0.7296 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04121/3.895, allocations: 30.86 MB / 1.758 GB, free: 11.16 MB / 0.7296 GB Notification: Performance of collectPreVariables (initialization): time 0.003629/3.899, allocations: 0.5524 MB / 1.758 GB, free: 10.6 MB / 0.7296 GB Notification: Performance of collectInitialEqns (initialization): time 0.008721/3.907, allocations: 14.75 MB / 1.773 GB, free: 14.41 MB / 0.7453 GB Notification: Performance of collectInitialBindings (initialization): time 0.008154/3.916, allocations: 8.318 MB / 1.781 GB, free: 6.898 MB / 0.7453 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003859/3.919, allocations: 0.5586 MB / 1.782 GB, free: 6.34 MB / 0.7453 GB Notification: Performance of setup shared object (initialization): time 0.0001109/3.92, allocations: 308.9 kB / 1.782 GB, free: 6.039 MB / 0.7453 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08125/4.001, allocations: 24.39 MB / 1.806 GB, free: 0 / 0.7453 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3828/4.384, allocations: 24.2 MB / 1.829 GB, free: 85.9 MB / 0.7609 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03192/4.416, allocations: 23.92 MB / 1.853 GB, free: 85.47 MB / 0.7609 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000278/4.416, allocations: 24.72 kB / 1.853 GB, free: 85.47 MB / 0.7609 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.09387/4.51, allocations: 65.64 MB / 1.917 GB, free: 82.27 MB / 0.7609 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002088/4.51, allocations: 40.44 kB / 1.917 GB, free: 82.27 MB / 0.7609 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/4.51, allocations: 89.78 kB / 1.917 GB, free: 82.27 MB / 0.7609 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0002312/4.51, allocations: 178.8 kB / 1.917 GB, free: 82.27 MB / 0.7609 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01586/4.526, allocations: 4.56 MB / 1.922 GB, free: 82.04 MB / 0.7609 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002785/4.527, allocations: 222.6 kB / 1.922 GB, free: 82 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03156/4.558, allocations: 6.896 MB / 1.928 GB, free: 81.11 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00341/4.562, allocations: 0.9131 MB / 1.929 GB, free: 81.11 MB / 0.7609 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006071/4.568, allocations: 1.531 MB / 1.931 GB, free: 80.77 MB / 0.7609 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007745/4.575, allocations: 2.823 MB / 1.934 GB, free: 79.43 MB / 0.7609 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009723/4.585, allocations: 4.375 MB / 1.938 GB, free: 79.14 MB / 0.7609 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001248/4.585, allocations: 231.5 kB / 1.938 GB, free: 79.14 MB / 0.7609 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003418/4.586, allocations: 236.4 kB / 1.938 GB, free: 79.14 MB / 0.7609 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002385/4.586, allocations: 119.4 kB / 1.938 GB, free: 79.14 MB / 0.7609 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04337/4.629, allocations: 30.95 MB / 1.969 GB, free: 77.87 MB / 0.7609 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001163/4.629, allocations: 3.031 kB / 1.969 GB, free: 77.87 MB / 0.7609 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005927/4.635, allocations: 1.906 MB / 1.971 GB, free: 77.8 MB / 0.7609 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 9.407e-05/4.635, allocations: 31.25 kB / 1.971 GB, free: 77.79 MB / 0.7609 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002027/4.638, allocations: 388.4 kB / 1.971 GB, free: 77.79 MB / 0.7609 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.496e-05/4.638, allocations: 25.34 kB / 1.971 GB, free: 77.79 MB / 0.7609 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/4.638, allocations: 0 / 1.971 GB, free: 77.79 MB / 0.7609 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06659/4.704, allocations: 48.58 MB / 2.018 GB, free: 66.14 MB / 0.7609 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01171/4.716, allocations: 4.479 MB / 2.023 GB, free: 64.06 MB / 0.7609 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007271/4.723, allocations: 382.8 kB / 2.023 GB, free: 63.76 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03408/4.757, allocations: 8.942 MB / 2.032 GB, free: 63.41 MB / 0.7609 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003854/4.761, allocations: 2.495 MB / 2.034 GB, free: 63.24 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00317/4.764, allocations: 0.7076 MB / 2.035 GB, free: 63.04 MB / 0.7609 GB Notification: Performance of sorting global known variables: time 0.03282/4.797, allocations: 22.98 MB / 2.057 GB, free: 43.94 MB / 0.7609 GB Notification: Performance of sort global known variables: time 6.22e-07/4.797, allocations: 0 / 2.057 GB, free: 43.94 MB / 0.7609 GB Notification: Performance of remove unused functions: time 0.02861/4.826, allocations: 10.83 MB / 2.068 GB, free: 33.09 MB / 0.7609 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 (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4652/5.291, allocations: 50.7 MB / 2.118 GB, free: 79.23 MB / 0.7609 GB Notification: Performance of simCode: created initialization part: time 0.05518/5.346, allocations: 41.94 MB / 2.159 GB, free: 77.94 MB / 0.7609 GB Notification: Performance of simCode: created event and clocks part: time 4.051e-05/5.346, allocations: 61.7 kB / 2.159 GB, free: 77.93 MB / 0.7609 GB Notification: Performance of simCode: created simulation system equations: time 0.02538/5.372, allocations: 19.06 MB / 2.177 GB, free: 77.18 MB / 0.7609 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02846/5.4, allocations: 7.094 MB / 2.184 GB, free: 76.87 MB / 0.7609 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1254/5.526, allocations: 82.1 MB / 2.264 GB, free: 66.96 MB / 0.7609 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02106/5.547, allocations: 21.96 MB / 2.286 GB, free: 65.28 MB / 0.7609 GB Notification: Performance of simCode: alias equations: time 0.02959/5.576, allocations: 13.33 MB / 2.299 GB, free: 63.82 MB / 0.7609 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01666/5.593, allocations: 12.89 MB / 2.311 GB, free: 51.76 MB / 0.7609 GB Notification: Performance of SimCode: time 1.132e-06/5.593, allocations: 0 / 2.311 GB, free: 51.76 MB / 0.7609 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.945/7.538, allocations: 0.6714 GB / 2.983 GB, free: 28.93 MB / 0.8234 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/7.538, allocations: 251.9 kB / 2.983 GB, free: 28.6 MB / 0.8234 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.69/28.23, allocations: 5.422 kB / 2.983 GB, free: 28.6 MB / 0.8234 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat does not exist to compare? outputFormat=mat