Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.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.DistributionSystemModelicaActiveLoads_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14",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.0009812/0.0009811, allocations: 179.8 kB / 16.38 MB, free: 5.762 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.166/1.166, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008957/0.0008958, allocations: 97.67 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6482/0.6482, allocations: 120.5 MB / 463 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003085, allocations: 8 kB / 0.5434 GB, free: 42.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 82.85 MB / 0.6243 GB, free: 9.117 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5928/0.7183, allocations: 129 MB / 0.7503 GB, free: 5.094 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001562/0.7185, allocations: 70.56 kB / 0.7504 GB, free: 5.062 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 1.078/1.797, allocations: 290.7 MB / 1.034 GB, free: 116.8 MB / 0.6828 GB Notification: Performance of FrontEnd: time 1.954e-06/1.797, allocations: 0 / 1.034 GB, free: 116.8 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.001744/1.799, allocations: 473.2 kB / 1.035 GB, free: 116.8 MB / 0.6828 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4265 * Number of variables: 4265 Notification: Performance of Generate backend data structure: time 0.04917/1.848, allocations: 22.95 MB / 1.057 GB, free: 110.7 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.848, allocations: 15.34 kB / 1.057 GB, free: 110.7 MB / 0.6828 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006157/1.854, allocations: 2.411 MB / 1.06 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00728/1.861, allocations: 2.111 MB / 1.062 GB, free: 109.6 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02727/1.889, allocations: 10.7 MB / 1.072 GB, free: 107.6 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009473/1.89, allocations: 1.211 MB / 1.073 GB, free: 107.5 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003708/1.893, allocations: 1.587 MB / 1.075 GB, free: 107.5 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04292/1.936, allocations: 25.38 MB / 1.1 GB, free: 104.9 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006533/1.937, allocations: 0 / 1.1 GB, free: 104.9 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004607/1.942, allocations: 0.7282 MB / 1.1 GB, free: 104.7 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003101/1.942, allocations: 403.9 kB / 1.101 GB, free: 104.3 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04052/1.982, allocations: 26.2 MB / 1.126 GB, free: 84.01 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.152/2.134, allocations: 80.54 MB / 1.205 GB, free: 9.188 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3343/2.469, allocations: 24.01 MB / 1.228 GB, free: 94.06 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/2.47, allocations: 132.9 kB / 1.228 GB, free: 94.05 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/2.47, allocations: 266.2 kB / 1.229 GB, free: 93.99 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=1274): time 1.432e-05/2.47, allocations: 3.312 kB / 1.229 GB, free: 93.99 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1274): time 0.06042/2.531, allocations: 32.21 MB / 1.26 GB, free: 92.87 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/2.531, allocations: 181 kB / 1.26 GB, free: 92.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0212/2.552, allocations: 16.13 MB / 1.276 GB, free: 92.27 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.002555/2.555, allocations: 308.1 kB / 1.276 GB, free: 92.24 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.0045/2.559, allocations: 7.706 MB / 1.284 GB, free: 90.19 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.004069/2.563, allocations: 4.334 MB / 1.288 GB, free: 87.73 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/2.565, allocations: 301.8 kB / 1.288 GB, free: 87.73 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0006571/2.565, allocations: 0.9763 MB / 1.289 GB, free: 87.39 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01257/2.578, allocations: 10.65 MB / 1.3 GB, free: 86.88 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01459/2.593, allocations: 12.85 MB / 1.312 GB, free: 82.49 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/2.608, allocations: 12.77 MB / 1.325 GB, free: 79.27 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.233e-05/2.609, allocations: 16.25 kB / 1.325 GB, free: 79.27 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1919) (initialization): time 0.04815/2.657, allocations: 34.66 MB / 1.359 GB, free: 70.2 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/2.657, allocations: 26.56 kB / 1.359 GB, free: 70.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/2.657, allocations: 46.44 kB / 1.359 GB, free: 70.2 MB / 0.6828 GB Notification: Tearing is skipped for strong component 1 because system size of 825 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.0001148/2.657, allocations: 95.81 kB / 1.359 GB, free: 70.2 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008975/2.666, allocations: 2.544 MB / 1.361 GB, free: 70 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000118/2.666, allocations: 120.9 kB / 1.361 GB, free: 69.98 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01677/2.683, allocations: 3.541 MB / 1.365 GB, free: 68.88 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/2.685, allocations: 487.8 kB / 1.365 GB, free: 68.76 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 212 * 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 (1095): * Single equations (assignments): 1094 * 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 {(825,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01104/2.696, allocations: 6.488 MB / 1.372 GB, free: 63.95 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004646/2.701, allocations: 1.476 MB / 1.373 GB, free: 62.46 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/2.706, allocations: 2.278 MB / 1.375 GB, free: 60.32 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.469e-05/2.706, allocations: 120 kB / 1.375 GB, free: 60.2 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003793/2.706, allocations: 120 kB / 1.376 GB, free: 60.09 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001401/2.706, allocations: 59.02 kB / 1.376 GB, free: 60.09 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/2.731, allocations: 16.3 MB / 1.392 GB, free: 47.86 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.497e-05/2.731, allocations: 3.781 kB / 1.392 GB, free: 47.86 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003991/2.735, allocations: 1.188 MB / 1.393 GB, free: 46.99 MB / 0.6828 GB Notification: Tearing is skipped for strong component 2 because system size of 825 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 5.71e-05/2.735, allocations: 19.78 kB / 1.393 GB, free: 46.97 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008998/2.736, allocations: 227.5 kB / 1.393 GB, free: 46.76 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.299e-05/2.736, allocations: 12 kB / 1.393 GB, free: 46.75 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.736, allocations: 0 / 1.393 GB, free: 46.75 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04856/2.784, allocations: 37.43 MB / 1.43 GB, free: 15.53 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007798/2.792, allocations: 2.337 MB / 1.432 GB, free: 13.29 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003521/2.796, allocations: 225.8 kB / 1.432 GB, free: 13.08 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01657/2.812, allocations: 4.47 MB / 1.436 GB, free: 10.49 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002635/2.815, allocations: 1.479 MB / 1.438 GB, free: 9.73 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001511/2.816, allocations: 378.7 kB / 1.438 GB, free: 9.367 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.01926/2.836, allocations: 12.22 MB / 1.45 GB, free: 0 / 0.6828 GB Notification: Performance of sort global known variables: time 1.102e-06/2.836, allocations: 336 / 1.45 GB, free: 0 / 0.6828 GB Notification: Performance of remove unused functions: time 0.03571/2.871, allocations: 7.668 MB / 1.458 GB, free: 14.64 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 28 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y) * 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 (450): * Single equations (assignments): 449 * 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 {(825,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3549/3.226, allocations: 38.5 MB / 1.495 GB, free: 106.6 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.03146/3.258, allocations: 22.83 MB / 1.517 GB, free: 105.9 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.631e-05/3.258, allocations: 30.12 kB / 1.518 GB, free: 105.8 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/3.272, allocations: 10.52 MB / 1.528 GB, free: 105.4 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01498/3.287, allocations: 3.706 MB / 1.531 GB, free: 105.2 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4441/3.731, allocations: 232.2 MB / 1.758 GB, free: 3.891 MB / 0.7609 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2971/4.028, allocations: 11.97 MB / 1.77 GB, free: 177.1 MB / 0.7609 GB Notification: Performance of simCode: alias equations: time 0.0218/4.05, allocations: 6.661 MB / 1.776 GB, free: 177 MB / 0.7609 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01231/4.062, allocations: 6.579 MB / 1.783 GB, free: 177 MB / 0.7609 GB Notification: Performance of SimCode: time 2.034e-06/4.062, allocations: 0 / 1.783 GB, free: 177 MB / 0.7609 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7741/4.836, allocations: 367.5 MB / 2.142 GB, free: 140.5 MB / 0.7609 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/4.837, allocations: 292.3 kB / 2.142 GB, free: 140.2 MB / 0.7609 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/15.87, allocations: 1.562 kB / 2.142 GB, free: 140.2 MB / 0.7609 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14_res.mat does not exist to compare? outputFormat=mat