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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.000893, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.001053/0.001053, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.24/1.24, allocations: 223.3 MB / 241.2 MB, free: 276 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8441/0.8441, allocations: 120.5 MB / 412.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 8 kB / 0.4944 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4605, allocations: 82.84 MB / 0.5753 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10): time 0.001828/0.4624, allocations: 2.012 MB / 0.5772 GB, free: 40.35 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006205/0.463, allocations: 0.5077 MB / 0.5777 GB, free: 39.94 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.4631, allocations: 8.062 kB / 0.5777 GB, free: 39.94 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.4632, allocations: 27.95 kB / 0.5778 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.131e-05/0.4633, allocations: 50.42 kB / 0.5778 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.4635, allocations: 41.44 kB / 0.5778 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00776/0.4712, allocations: 12.1 MB / 0.5897 GB, free: 31.59 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003989/0.4753, allocations: 4.217 MB / 0.5938 GB, free: 27.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004674/0.48, allocations: 3.609 MB / 0.5973 GB, free: 23.7 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005531/0.4855, allocations: 4.099 MB / 0.6013 GB, free: 19.58 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.4868, allocations: 0.4961 MB / 0.6018 GB, free: 19.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.4893, allocations: 0.4922 MB / 0.6023 GB, free: 18.59 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.4904, allocations: 1.618 MB / 0.6038 GB, free: 16.96 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002897/0.4933, allocations: 1.751 MB / 0.6056 GB, free: 15.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008473/0.5018, allocations: 11.11 MB / 0.6164 GB, free: 4.066 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5019, allocations: 0 / 0.6164 GB, free: 4.066 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5019, allocations: 0 / 0.6164 GB, free: 4.066 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.000471/0.5023, allocations: 0 / 0.6164 GB, free: 4.066 MB / 462.3 MB 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.02133/0.5237, allocations: 11.31 MB / 0.6275 GB, free: 8.656 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5237, allocations: 8.031 kB / 0.6275 GB, free: 8.648 MB / 478.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003556/0.5273, allocations: 1.207 MB / 0.6286 GB, free: 7.43 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.5306, allocations: 1.035 MB / 0.6297 GB, free: 6.387 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.5417, allocations: 5.274 MB / 0.6348 GB, free: 1.027 MB / 478.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006098/0.5424, allocations: 0.5942 MB / 0.6354 GB, free: 440 kB / 478.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002585/0.545, allocations: 0.7696 MB / 0.6361 GB, free: 15.66 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02681/0.5718, allocations: 13.04 MB / 0.6489 GB, free: 2.555 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002766/0.5721, allocations: 0 / 0.6489 GB, free: 2.555 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002397/0.5745, allocations: 368 kB / 0.6492 GB, free: 2.195 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/0.5747, allocations: 204 kB / 0.6494 GB, free: 1.996 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02577/0.6005, allocations: 13.28 MB / 0.6624 GB, free: 4.691 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08344/0.684, allocations: 39.42 MB / 0.7009 GB, free: 12.53 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01642/0.7005, allocations: 11.23 MB / 0.7119 GB, free: 1.293 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009891/0.7104, allocations: 5.302 MB / 0.717 GB, free: 11.97 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000421/0.7109, allocations: 60.94 kB / 0.7171 GB, free: 11.91 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.7111, allocations: 153.5 kB / 0.7172 GB, free: 11.75 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=630): time 1.555e-05/0.7111, allocations: 0 / 0.7172 GB, free: 11.75 MB / 0.5608 GB Notification: Performance of matching and sorting (n=630): time 0.02918/0.7403, allocations: 15.38 MB / 0.7323 GB, free: 12.26 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/0.7404, allocations: 116.3 kB / 0.7324 GB, free: 12.13 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01515/0.7556, allocations: 8.724 MB / 0.7409 GB, free: 3.395 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.001267/0.7569, allocations: 165.7 kB / 0.741 GB, free: 3.227 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.00363/0.7605, allocations: 3.691 MB / 0.7447 GB, free: 15.5 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002453/0.763, allocations: 2.13 MB / 0.7467 GB, free: 13.34 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.7642, allocations: 144 kB / 0.7469 GB, free: 13.2 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 0.0006743/0.7649, allocations: 0.6313 MB / 0.7475 GB, free: 12.57 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008214/0.7732, allocations: 5.066 MB / 0.7524 GB, free: 7.496 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009309/0.7825, allocations: 6.171 MB / 0.7585 GB, free: 1.016 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4445/1.227, allocations: 6.13 MB / 0.7644 GB, free: 152 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.95e-05/1.227, allocations: 12.97 kB / 0.7645 GB, free: 152 MB / 0.5923 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02374/1.251, allocations: 16.81 MB / 0.7809 GB, free: 148.5 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/1.251, allocations: 14.44 kB / 0.7809 GB, free: 148.5 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.009e-05/1.251, allocations: 22 kB / 0.7809 GB, free: 148.5 MB / 0.5923 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 8.001e-05/1.251, allocations: 48.52 kB / 0.781 GB, free: 148.5 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004102/1.255, allocations: 1.124 MB / 0.7821 GB, free: 148.4 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.098e-05/1.255, allocations: 52.34 kB / 0.7821 GB, free: 148.4 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006723/1.262, allocations: 1.598 MB / 0.7837 GB, free: 148.1 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007285/1.263, allocations: 235.5 kB / 0.7839 GB, free: 148 MB / 0.5923 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 () * Number of clocked 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.004422/1.267, allocations: 3.23 MB / 0.787 GB, free: 146 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.269, allocations: 0.7281 MB / 0.7878 GB, free: 145.3 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/1.271, allocations: 1.121 MB / 0.7888 GB, free: 144.2 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-05/1.271, allocations: 63.95 kB / 0.7889 GB, free: 144.2 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001641/1.271, allocations: 57.69 kB / 0.789 GB, free: 144.1 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.564e-05/1.271, allocations: 30.19 kB / 0.789 GB, free: 144.1 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008395/1.28, allocations: 7.978 MB / 0.7968 GB, free: 137 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/1.28, allocations: 5.641 kB / 0.7968 GB, free: 137 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.281, allocations: 483.3 kB / 0.7972 GB, free: 136.5 MB / 0.5923 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 1.842e-05/1.281, allocations: 4 kB / 0.7973 GB, free: 136.5 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002937/1.281, allocations: 96 kB / 0.7973 GB, free: 136.4 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/1.281, allocations: 8 kB / 0.7974 GB, free: 136.4 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.281, allocations: 3.953 kB / 0.7974 GB, free: 136.4 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/1.296, allocations: 12.51 MB / 0.8096 GB, free: 123.8 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002495/1.299, allocations: 1.202 MB / 0.8107 GB, free: 122.5 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/1.3, allocations: 100 kB / 0.8108 GB, free: 122.4 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006761/1.307, allocations: 2.075 MB / 0.8129 GB, free: 120.4 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/1.308, allocations: 0.6403 MB / 0.8135 GB, free: 119.7 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005629/1.309, allocations: 184 kB / 0.8137 GB, free: 119.5 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.006938/1.315, allocations: 5.981 MB / 0.8195 GB, free: 113.6 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.3e-07/1.315, allocations: 0 / 0.8195 GB, free: 113.6 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.005436/1.321, allocations: 2.772 MB / 0.8222 GB, free: 110.8 MB / 0.5923 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 (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.01514/1.336, allocations: 13.28 MB / 0.8352 GB, free: 97.38 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.0136/1.35, allocations: 10.93 MB / 0.8459 GB, free: 86.38 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/1.35, allocations: 14 kB / 0.8459 GB, free: 86.36 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.006265/1.356, allocations: 5.039 MB / 0.8508 GB, free: 81.3 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009271/1.365, allocations: 1.921 MB / 0.8527 GB, free: 79.38 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1527/1.518, allocations: 79.48 MB / 0.9303 GB, free: 12.84 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006891/1.525, allocations: 5.959 MB / 0.9361 GB, free: 6.832 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.008066/1.533, allocations: 3.152 MB / 0.9392 GB, free: 3.672 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004858/1.538, allocations: 2.952 MB / 0.9421 GB, free: 0.7188 MB / 0.6079 GB Notification: Performance of SimCode: time 6.91e-07/1.538, allocations: 0 / 0.9421 GB, free: 0.7188 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4773/2.015, allocations: 184.9 MB / 1.123 GB, free: 150.8 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/2.015, allocations: 276.2 kB / 1.123 GB, free: 150.4 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.67/6.686, allocations: 0 / 1.123 GB, free: 150.4 MB / 0.686 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) Environment - environmentSimulation: 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