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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 94.31 kB / 16.3 MB, free: 5.996 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.00104/0.00104, allocations: 183.7 kB / 17.2 MB, free: 5.914 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.166/1.166, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6597/0.6597, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002562, allocations: 8 kB / 0.4943 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 82.84 MB / 0.5752 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28): time 0.001991/0.1302, allocations: 1.921 MB / 0.577 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006581/0.1309, allocations: 0.5381 MB / 0.5776 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.1309, allocations: 4 kB / 0.5776 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.847e-05/0.131, allocations: 27.77 kB / 0.5776 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1312, allocations: 83.69 kB / 0.5777 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.1313, allocations: 39.95 kB / 0.5777 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.4198/0.5511, allocations: 64.46 MB / 0.6407 GB, free: 5.43 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04094/0.5921, allocations: 34.01 MB / 0.6739 GB, free: 3.332 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03748/0.6296, allocations: 27.35 MB / 0.7006 GB, free: 7.895 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04827/0.6779, allocations: 31 MB / 0.7308 GB, free: 8.762 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.0143/0.6923, allocations: 3.746 MB / 0.7345 GB, free: 5.016 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02109/0.7134, allocations: 3.75 MB / 0.7382 GB, free: 1.266 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.01773/0.7311, allocations: 12.19 MB / 0.7501 GB, free: 5.035 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.02404/0.7552, allocations: 13.13 MB / 0.7629 GB, free: 7.863 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.5608/1.316, allocations: 84.24 MB / 0.8451 GB, free: 105.9 MB / 0.6548 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.316, allocations: 0 / 0.8451 GB, free: 105.9 MB / 0.6548 GB Notification: Performance of FrontEnd: time 2.274e-06/1.316, allocations: 0 / 0.8451 GB, free: 105.9 MB / 0.6548 GB Notification: Performance of Transformations before backend: time 0.003725/1.32, allocations: 1.25 kB / 0.8451 GB, free: 105.9 MB / 0.6548 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.1861/1.506, allocations: 87.41 MB / 0.9305 GB, free: 45.21 MB / 0.6548 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.506, allocations: 12.02 kB / 0.9305 GB, free: 45.2 MB / 0.6548 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03212/1.538, allocations: 8.988 MB / 0.9393 GB, free: 40.19 MB / 0.6548 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03052/1.569, allocations: 7.799 MB / 0.9469 GB, free: 32.3 MB / 0.6548 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09849/1.667, allocations: 39.32 MB / 0.9853 GB, free: 10.34 MB / 0.6704 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004283/1.671, allocations: 4.503 MB / 0.9897 GB, free: 5.84 MB / 0.6704 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02139/1.693, allocations: 5.836 MB / 0.9954 GB, free: 4 kB / 0.6704 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2038/1.897, allocations: 98.91 MB / 1.092 GB, free: 12.96 MB / 0.7798 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001771/1.898, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.7798 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0195/1.918, allocations: 2.727 MB / 1.095 GB, free: 10.23 MB / 0.7798 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/1.919, allocations: 1.461 MB / 1.096 GB, free: 8.77 MB / 0.7798 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4548/2.374, allocations: 101.5 MB / 1.195 GB, free: 258.1 MB / 0.8267 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.855/3.229, allocations: 306.2 MB / 1.494 GB, free: 188.9 MB / 0.8267 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1141/3.343, allocations: 91.39 MB / 1.583 GB, free: 156.4 MB / 0.8267 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002863/3.346, allocations: 486.4 kB / 1.584 GB, free: 156.4 MB / 0.8267 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/3.347, allocations: 0.9128 MB / 1.585 GB, free: 155.8 MB / 0.8267 GB Notification: Performance of pre-optimization done (n=4788): time 5.281e-05/3.347, allocations: 4 kB / 1.585 GB, free: 155.8 MB / 0.8267 GB Notification: Performance of matching and sorting (n=4788): time 0.1939/3.541, allocations: 118 MB / 1.7 GB, free: 94.98 MB / 0.8267 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002491/3.541, allocations: 0.5242 MB / 1.701 GB, free: 94.44 MB / 0.8267 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08906/3.63, allocations: 65.91 MB / 1.765 GB, free: 29.64 MB / 0.8267 GB Notification: Performance of collectPreVariables (initialization): time 0.008706/3.639, allocations: 1.045 MB / 1.766 GB, free: 28.59 MB / 0.8267 GB Notification: Performance of collectInitialEqns (initialization): time 0.3193/3.958, allocations: 29.16 MB / 1.794 GB, free: 215.8 MB / 0.8267 GB Notification: Performance of collectInitialBindings (initialization): time 0.01553/3.974, allocations: 16.28 MB / 1.81 GB, free: 205.5 MB / 0.8267 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00717/3.981, allocations: 1.095 MB / 1.811 GB, free: 205.5 MB / 0.8267 GB Notification: Performance of setup shared object (initialization): time 0.003419/3.984, allocations: 2.83 MB / 1.814 GB, free: 205.1 MB / 0.8267 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0514/4.036, allocations: 38.75 MB / 1.852 GB, free: 204.8 MB / 0.8267 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05983/4.095, allocations: 46.96 MB / 1.898 GB, free: 188.6 MB / 0.8267 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06007/4.156, allocations: 47 MB / 1.944 GB, free: 153.6 MB / 0.8267 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004729/4.156, allocations: 51.28 kB / 1.944 GB, free: 153.6 MB / 0.8267 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.196/4.352, allocations: 129.2 MB / 2.07 GB, free: 32.05 MB / 0.8267 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/4.352, allocations: 76 kB / 2.07 GB, free: 31.98 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003579/4.353, allocations: 176.8 kB / 2.07 GB, free: 31.8 MB / 0.8267 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.0003019/4.353, allocations: 348 kB / 2.071 GB, free: 31.46 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03239/4.385, allocations: 8.982 MB / 2.079 GB, free: 22.47 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/4.386, allocations: 435.2 kB / 2.08 GB, free: 22.04 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3898/4.776, allocations: 13.75 MB / 2.093 GB, free: 191.1 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01052/4.786, allocations: 1.778 MB / 2.095 GB, free: 191.1 MB / 0.8267 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 () * Number of clocked 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.05129/4.838, allocations: 24 MB / 2.118 GB, free: 190.8 MB / 0.8267 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01995/4.857, allocations: 5.483 MB / 2.124 GB, free: 190.5 MB / 0.8267 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/4.875, allocations: 8.52 MB / 2.132 GB, free: 190 MB / 0.8267 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002264/4.876, allocations: 453.2 kB / 2.132 GB, free: 190 MB / 0.8267 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001121/4.877, allocations: 449.5 kB / 2.133 GB, free: 190 MB / 0.8267 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005154/4.877, allocations: 227.6 kB / 2.133 GB, free: 190 MB / 0.8267 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1013/4.979, allocations: 60.24 MB / 2.192 GB, free: 176.3 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002684/4.979, allocations: 0 / 2.192 GB, free: 176.3 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01223/4.991, allocations: 3.769 MB / 2.196 GB, free: 176 MB / 0.8267 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 9.644e-05/4.991, allocations: 51.12 kB / 2.196 GB, free: 176 MB / 0.8267 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005044/4.996, allocations: 0.7392 MB / 2.196 GB, free: 175.5 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.695e-05/4.996, allocations: 49.25 kB / 2.196 GB, free: 175.5 MB / 0.8267 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/4.996, allocations: 3.953 kB / 2.196 GB, free: 175.4 MB / 0.8267 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1431/5.139, allocations: 95.47 MB / 2.29 GB, free: 109.8 MB / 0.8267 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02505/5.165, allocations: 8.645 MB / 2.298 GB, free: 101.1 MB / 0.8267 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01754/5.182, allocations: 0.7305 MB / 2.299 GB, free: 100.4 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06802/5.25, allocations: 17.84 MB / 2.316 GB, free: 82.5 MB / 0.8267 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0105/5.261, allocations: 4.859 MB / 2.321 GB, free: 77.63 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00815/5.269, allocations: 1.359 MB / 2.322 GB, free: 76.27 MB / 0.8267 GB Notification: Performance of sorting global known variables: time 0.05993/5.329, allocations: 45.33 MB / 2.367 GB, free: 31.15 MB / 0.8267 GB Notification: Performance of sort global known variables: time 3.21e-07/5.329, allocations: 0 / 2.367 GB, free: 31.15 MB / 0.8267 GB Notification: Performance of remove unused functions: time 0.05766/5.386, allocations: 21.08 MB / 2.387 GB, free: 10.03 MB / 0.8267 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 (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.486/5.873, allocations: 97.95 MB / 2.483 GB, free: 185 MB / 0.8423 GB Notification: Performance of simCode: created initialization part: time 0.1182/5.991, allocations: 83.06 MB / 2.564 GB, free: 153.7 MB / 0.8423 GB Notification: Performance of simCode: created event and clocks part: time 6.119e-05/5.991, allocations: 120.3 kB / 2.564 GB, free: 153.6 MB / 0.8423 GB Notification: Performance of simCode: created simulation system equations: time 0.06617/6.057, allocations: 37.94 MB / 2.601 GB, free: 121.7 MB / 0.8423 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0584/6.115, allocations: 13.89 MB / 2.615 GB, free: 110.1 MB / 0.8423 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.509/13.62, allocations: 1.519 GB / 4.134 GB, free: 430.7 MB / 1.124 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05509/13.68, allocations: 42.93 MB / 4.176 GB, free: 426.2 MB / 1.124 GB Notification: Performance of simCode: alias equations: time 0.06683/13.75, allocations: 26.59 MB / 4.202 GB, free: 408.1 MB / 1.124 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03709/13.78, allocations: 26.44 MB / 4.228 GB, free: 383.3 MB / 1.124 GB Notification: Performance of SimCode: time 7.92e-07/13.78, allocations: 0 / 4.228 GB, free: 383.3 MB / 1.124 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.192/16.98, allocations: 1.308 GB / 5.535 GB, free: 319.8 MB / 1.124 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/16.98, allocations: 301.7 kB / 5.536 GB, free: 319.4 MB / 1.124 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.3/47.28, allocations: 2.5 kB / 5.536 GB, free: 319.4 MB / 1.124 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) Environment - environmentSimulation: 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