Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007322/0.0007323, allocations: 89.3 kB / 16.31 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 183.7 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 223.2 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8246/0.8246, allocations: 120.5 MB / 412.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002864, allocations: 11.94 kB / 0.4944 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.459, allocations: 82.84 MB / 0.5753 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.00184/0.4609, allocations: 2.012 MB / 0.5772 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005819/0.4615, allocations: 0.5073 MB / 0.5777 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.4616, allocations: 4.125 kB / 0.5777 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.4617, allocations: 27.91 kB / 0.5778 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.4618, allocations: 58.41 kB / 0.5778 GB, free: 39.85 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.4619, allocations: 41.45 kB / 0.5778 GB, free: 39.82 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01318/0.4751, allocations: 23.3 MB / 0.6006 GB, free: 20.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007718/0.4829, allocations: 8.385 MB / 0.6088 GB, free: 11.85 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008225/0.4911, allocations: 6.961 MB / 0.6156 GB, free: 4.867 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01067/0.5018, allocations: 7.907 MB / 0.6233 GB, free: 12.93 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00259/0.5044, allocations: 0.9531 MB / 0.6242 GB, free: 11.97 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004456/0.5089, allocations: 0.957 MB / 0.6252 GB, free: 11.02 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002542/0.5114, allocations: 3.116 MB / 0.6282 GB, free: 7.887 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004835/0.5163, allocations: 3.364 MB / 0.6315 GB, free: 4.508 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02055/0.5368, allocations: 21.5 MB / 0.6525 GB, free: 14.95 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.5369, allocations: 0 / 0.6525 GB, free: 14.95 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5369, allocations: 0 / 0.6525 GB, free: 14.95 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0008814/0.5377, allocations: 0 / 0.6525 GB, free: 14.95 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4055 * Number of variables: 4055 Notification: Performance of Generate backend data structure: time 0.044/0.5818, allocations: 21.96 MB / 0.6739 GB, free: 8.867 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5818, allocations: 11.88 kB / 0.674 GB, free: 8.859 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00613/0.5879, allocations: 2.3 MB / 0.6762 GB, free: 6.547 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005249/0.5932, allocations: 1.989 MB / 0.6781 GB, free: 4.535 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01921/0.6124, allocations: 10.06 MB / 0.688 GB, free: 10.4 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008835/0.6133, allocations: 1.148 MB / 0.6891 GB, free: 9.254 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003725/0.6171, allocations: 1.488 MB / 0.6905 GB, free: 7.766 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04731/0.6644, allocations: 25.24 MB / 0.7152 GB, free: 14.49 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/0.6647, allocations: 3.828 kB / 0.7152 GB, free: 14.49 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002768/0.6675, allocations: 0.6953 MB / 0.7159 GB, free: 13.79 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/0.6678, allocations: 384 kB / 0.7162 GB, free: 13.42 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04241/0.7102, allocations: 25.72 MB / 0.7413 GB, free: 3.68 MB / 0.5764 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5715/1.282, allocations: 76.83 MB / 0.8164 GB, free: 104.5 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02345/1.305, allocations: 22.14 MB / 0.838 GB, free: 82.36 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01145/1.317, allocations: 10.27 MB / 0.848 GB, free: 72.07 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/1.317, allocations: 125.5 kB / 0.8481 GB, free: 71.94 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/1.317, allocations: 267.2 kB / 0.8484 GB, free: 71.67 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=1218): time 1.295e-05/1.317, allocations: 0 / 0.8484 GB, free: 71.67 MB / 0.5923 GB Notification: Performance of matching and sorting (n=1218): time 0.04015/1.358, allocations: 29.85 MB / 0.8775 GB, free: 41.73 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/1.358, allocations: 180.9 kB / 0.8777 GB, free: 41.54 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01949/1.377, allocations: 16.79 MB / 0.8941 GB, free: 24.9 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/1.379, allocations: 297.7 kB / 0.8944 GB, free: 24.61 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.003933/1.383, allocations: 7.19 MB / 0.9014 GB, free: 17.5 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.003267/1.386, allocations: 4.113 MB / 0.9054 GB, free: 13.33 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/1.388, allocations: 291.5 kB / 0.9057 GB, free: 13.05 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 0.0004697/1.388, allocations: 0.9362 MB / 0.9066 GB, free: 12.11 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/1.399, allocations: 9.826 MB / 0.9162 GB, free: 2.273 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01456/1.413, allocations: 11.95 MB / 0.9279 GB, free: 5.719 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01715/1.43, allocations: 11.91 MB / 0.9395 GB, free: 9.77 MB / 0.6235 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.506e-05/1.43, allocations: 12 kB / 0.9395 GB, free: 9.758 MB / 0.6235 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.05296/1.483, allocations: 32.63 MB / 0.9714 GB, free: 9 MB / 0.6548 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/1.483, allocations: 24 kB / 0.9714 GB, free: 8.977 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.077e-05/1.484, allocations: 44 kB / 0.9715 GB, free: 8.934 MB / 0.6548 GB Notification: Tearing is skipped for strong component 1 because system size of 811 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.0001154/1.484, allocations: 91.98 kB / 0.9716 GB, free: 8.844 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007427/1.491, allocations: 2.219 MB / 0.9737 GB, free: 6.621 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001724/1.491, allocations: 107.7 kB / 0.9738 GB, free: 6.516 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01319/1.505, allocations: 3.269 MB / 0.977 GB, free: 3.227 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/1.506, allocations: 460 kB / 0.9775 GB, free: 2.777 MB / 0.6548 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1011): * Single equations (assignments): 1010 * 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 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01035/1.516, allocations: 6.156 MB / 0.9835 GB, free: 12.61 MB / 0.6704 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004632/1.521, allocations: 1.395 MB / 0.9848 GB, free: 11.2 MB / 0.6704 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005933/1.527, allocations: 2.168 MB / 0.9869 GB, free: 9.02 MB / 0.6704 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.772e-05/1.527, allocations: 120 kB / 0.9871 GB, free: 8.902 MB / 0.6704 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003415/1.527, allocations: 116 kB / 0.9872 GB, free: 8.789 MB / 0.6704 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000126/1.527, allocations: 63.72 kB / 0.9872 GB, free: 8.727 MB / 0.6704 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.553, allocations: 15.35 MB / 1.002 GB, free: 9.297 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-05/1.553, allocations: 0 / 1.002 GB, free: 9.297 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/1.557, allocations: 0.9322 MB / 1.003 GB, free: 8.363 MB / 0.686 GB Notification: Tearing is skipped for strong component 2 because system size of 811 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.166e-05/1.557, allocations: 12 kB / 1.003 GB, free: 8.352 MB / 0.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001096/1.558, allocations: 194.2 kB / 1.003 GB, free: 8.164 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-05/1.558, allocations: 12 kB / 1.003 GB, free: 8.152 MB / 0.686 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.558, allocations: 0.875 kB / 1.003 GB, free: 8.152 MB / 0.686 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2971/1.855, allocations: 24.19 MB / 1.027 GB, free: 227.4 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005522/1.86, allocations: 2.252 MB / 1.029 GB, free: 227 MB / 0.7017 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003625/1.864, allocations: 192.8 kB / 1.029 GB, free: 227 MB / 0.7017 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01426/1.878, allocations: 4.242 MB / 1.033 GB, free: 227 MB / 0.7017 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00198/1.88, allocations: 1.239 MB / 1.035 GB, free: 227 MB / 0.7017 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001154/1.881, allocations: 360.6 kB / 1.035 GB, free: 227 MB / 0.7017 GB Notification: Performance of sorting global known variables: time 0.01519/1.897, allocations: 11.5 MB / 1.046 GB, free: 224.7 MB / 0.7017 GB Notification: Performance of sort global known variables: time 3.91e-07/1.897, allocations: 3.219 kB / 1.046 GB, free: 224.7 MB / 0.7017 GB Notification: Performance of remove unused functions: time 0.01076/1.907, allocations: 5.354 MB / 1.051 GB, free: 223.8 MB / 0.7017 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (408): * Single equations (assignments): 407 * 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 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0319/1.939, allocations: 25.21 MB / 1.076 GB, free: 216.2 MB / 0.7017 GB Notification: Performance of simCode: created initialization part: time 0.02507/1.964, allocations: 21.11 MB / 1.097 GB, free: 197.1 MB / 0.7017 GB Notification: Performance of simCode: created event and clocks part: time 2.157e-05/1.964, allocations: 31.19 kB / 1.097 GB, free: 197 MB / 0.7017 GB Notification: Performance of simCode: created simulation system equations: time 0.01157/1.976, allocations: 9.673 MB / 1.106 GB, free: 187.4 MB / 0.7017 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01433/1.99, allocations: 3.743 MB / 1.11 GB, free: 183.6 MB / 0.7017 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4251/2.416, allocations: 184.2 MB / 1.29 GB, free: 9.848 MB / 0.7173 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2564/2.672, allocations: 10.91 MB / 1.3 GB, free: 239.6 MB / 0.7173 GB Notification: Performance of simCode: alias equations: time 0.01588/2.688, allocations: 6.42 MB / 1.307 GB, free: 239.3 MB / 0.7173 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008888/2.697, allocations: 6.013 MB / 1.313 GB, free: 235.5 MB / 0.7173 GB Notification: Performance of SimCode: time 1.082e-06/2.697, allocations: 0 / 1.313 GB, free: 235.5 MB / 0.7173 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6252/3.322, allocations: 346.4 MB / 1.651 GB, free: 183.7 MB / 0.7173 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/3.322, allocations: 285 kB / 1.651 GB, free: 183.3 MB / 0.7173 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.583/11.91, allocations: 0 / 1.651 GB, free: 183.3 MB / 0.7173 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat does not exist to compare? outputFormat=mat