Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.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_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40",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.0008283/0.0008283, allocations: 94.38 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.0009389/0.000939, allocations: 188.8 kB / 17.2 MB, free: 5.91 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.177/1.177, allocations: 223.2 MB / 241.1 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6809/0.6809, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002628, allocations: 8 kB / 0.4943 GB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 82.85 MB / 0.5752 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40): time 0.001955/0.1276, allocations: 1.917 MB / 0.577 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006511/0.1282, allocations: 0.5342 MB / 0.5776 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.1283, allocations: 7.938 kB / 0.5776 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.269e-05/0.1284, allocations: 19.84 kB / 0.5776 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1286, allocations: 83.75 kB / 0.5777 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.1287, allocations: 35.95 kB / 0.5777 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.483/0.6117, allocations: 130.7 MB / 0.7054 GB, free: 2.902 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1123/0.724, allocations: 69.67 MB / 0.7734 GB, free: 13.12 MB / 0.6077 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07017/0.7942, allocations: 55.53 MB / 0.8276 GB, free: 5.395 MB / 0.6545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5592/1.353, allocations: 62.89 MB / 0.8891 GB, free: 62.34 MB / 0.6548 GB Notification: Performance of NFPackage.collectConstants: time 0.0344/1.388, allocations: 7.616 MB / 0.8965 GB, free: 62.34 MB / 0.6548 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05474/1.443, allocations: 7.611 MB / 0.9039 GB, free: 62.34 MB / 0.6548 GB Notification: Performance of NFScalarize.scalarize: time 0.04749/1.49, allocations: 24.73 MB / 0.9281 GB, free: 50.96 MB / 0.6548 GB Notification: Performance of NFVerifyModel.verify: time 0.04894/1.539, allocations: 26.62 MB / 0.9541 GB, free: 39.49 MB / 0.6548 GB Notification: Performance of NFConvertDAE.convert: time 0.7252/2.264, allocations: 171.1 MB / 1.121 GB, free: 71.8 MB / 0.7647 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/2.264, allocations: 0.75 kB / 1.121 GB, free: 71.8 MB / 0.7647 GB Notification: Performance of FrontEnd: time 2.825e-06/2.264, allocations: 0.5938 kB / 1.121 GB, free: 71.8 MB / 0.7647 GB Notification: Performance of Transformations before backend: time 0.00762/2.272, allocations: 0 / 1.121 GB, free: 71.8 MB / 0.7647 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32369 * Number of variables: 32369 Notification: Performance of Generate backend data structure: time 0.3639/2.636, allocations: 178.5 MB / 1.296 GB, free: 3.434 MB / 0.8272 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/2.636, allocations: 8.031 kB / 1.296 GB, free: 3.426 MB / 0.8272 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.05303/2.689, allocations: 18.24 MB / 1.313 GB, free: 9.27 MB / 0.8428 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05463/2.744, allocations: 15.82 MB / 1.329 GB, free: 9.273 MB / 0.8584 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2378/2.982, allocations: 79.9 MB / 1.407 GB, free: 11.22 MB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00885/2.99, allocations: 9.144 MB / 1.416 GB, free: 2.078 MB / 0.9365 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03688/3.027, allocations: 11.85 MB / 1.427 GB, free: 6.223 MB / 0.9522 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7135/3.741, allocations: 201 MB / 1.624 GB, free: 279.6 MB / 1.03 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003828/3.745, allocations: 0 / 1.624 GB, free: 279.6 MB / 1.03 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03366/3.778, allocations: 5.537 MB / 1.629 GB, free: 275.5 MB / 1.03 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/3.78, allocations: 2.967 MB / 1.632 GB, free: 275.5 MB / 1.03 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3044/4.084, allocations: 206.4 MB / 1.833 GB, free: 107.7 MB / 1.03 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.955/6.04, allocations: 0.6094 GB / 2.443 GB, free: 192.6 MB / 1.03 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2929/6.333, allocations: 190.8 MB / 2.629 GB, free: 113.2 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00562/6.338, allocations: 0.9653 MB / 2.63 GB, free: 113.2 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/6.34, allocations: 1.815 MB / 2.632 GB, free: 112 MB / 1.03 GB Notification: Performance of pre-optimization done (n=9720): time 9.643e-05/6.34, allocations: 0 / 2.632 GB, free: 112 MB / 1.03 GB Notification: Performance of matching and sorting (n=9720): time 0.8108/7.151, allocations: 240.1 MB / 2.866 GB, free: 238 MB / 1.03 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005974/7.152, allocations: 1.015 MB / 2.867 GB, free: 237.9 MB / 1.03 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2068/7.358, allocations: 133.8 MB / 2.998 GB, free: 168.5 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.01746/7.376, allocations: 2.103 MB / 3 GB, free: 166.4 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.0453/7.421, allocations: 60.38 MB / 3.059 GB, free: 106.6 MB / 1.03 GB Notification: Performance of collectInitialBindings (initialization): time 0.02919/7.45, allocations: 33.1 MB / 3.091 GB, free: 73.75 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0198/7.47, allocations: 2.223 MB / 3.093 GB, free: 71.53 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 0.008266/7.479, allocations: 5.45 MB / 3.099 GB, free: 66.07 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5152/7.994, allocations: 78.77 MB / 3.176 GB, free: 227.3 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1203/8.114, allocations: 95.49 MB / 3.269 GB, free: 208.1 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1238/8.238, allocations: 95.55 MB / 3.362 GB, free: 147.2 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004963/8.239, allocations: 100 kB / 3.362 GB, free: 147.1 MB / 1.03 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 0.8976/9.136, allocations: 262.7 MB / 3.619 GB, free: 149.6 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003941/9.137, allocations: 157.6 kB / 3.619 GB, free: 149.6 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006106/9.137, allocations: 352.9 kB / 3.619 GB, free: 149.6 MB / 1.03 GB Notification: Tearing is skipped for strong component 1 because system size of 6479 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.0007525/9.138, allocations: 0.6864 MB / 3.62 GB, free: 149.6 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06708/9.205, allocations: 18.43 MB / 3.638 GB, free: 147.5 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/9.206, allocations: 0.853 MB / 3.639 GB, free: 147.4 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1368/9.343, allocations: 28.5 MB / 3.667 GB, free: 140.7 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02157/9.365, allocations: 3.6 MB / 3.67 GB, free: 140.7 MB / 1.03 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1602 * 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 (8083): * Single equations (assignments): 8082 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.09241/9.457, allocations: 48.7 MB / 3.718 GB, free: 132.9 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03907/9.496, allocations: 11.12 MB / 3.729 GB, free: 127.6 MB / 1.03 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03582/9.532, allocations: 17.31 MB / 3.746 GB, free: 116.5 MB / 1.03 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004855/9.532, allocations: 0.8957 MB / 3.747 GB, free: 116.5 MB / 1.03 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.002153/9.535, allocations: 0.8888 MB / 3.747 GB, free: 116.5 MB / 1.03 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/9.536, allocations: 452.6 kB / 3.748 GB, free: 116.5 MB / 1.03 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2112/9.747, allocations: 122.4 MB / 3.867 GB, free: 20.91 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003453/9.748, allocations: 0 / 3.867 GB, free: 20.91 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02558/9.773, allocations: 7.739 MB / 3.875 GB, free: 13.16 MB / 1.03 GB Notification: Tearing is skipped for strong component 2 because system size of 6479 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 0.0003694/9.774, allocations: 107.9 kB / 3.875 GB, free: 13.06 MB / 1.03 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0143/9.788, allocations: 1.485 MB / 3.876 GB, free: 11.57 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002975/9.788, allocations: 100 kB / 3.877 GB, free: 11.48 MB / 1.03 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/9.788, allocations: 0 / 3.877 GB, free: 11.48 MB / 1.03 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7801/10.57, allocations: 194.2 MB / 4.066 GB, free: 211.1 MB / 1.046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0524/10.62, allocations: 17.49 MB / 4.083 GB, free: 196.4 MB / 1.046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03871/10.66, allocations: 1.484 MB / 4.085 GB, free: 194.9 MB / 1.046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1473/10.81, allocations: 36.94 MB / 4.121 GB, free: 169.4 MB / 1.046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02246/10.83, allocations: 9.862 MB / 4.13 GB, free: 163.4 MB / 1.046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01968/10.85, allocations: 2.781 MB / 4.133 GB, free: 160.6 MB / 1.046 GB Notification: Performance of sorting global known variables: time 0.1411/10.99, allocations: 92.09 MB / 4.223 GB, free: 69 MB / 1.046 GB Notification: Performance of sort global known variables: time 3.51e-07/10.99, allocations: 4 kB / 4.223 GB, free: 69 MB / 1.046 GB Notification: Performance of remove unused functions: time 0.1226/11.11, allocations: 42.81 MB / 4.265 GB, free: 26.11 MB / 1.046 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 (3242): * Single equations (assignments): 3241 * 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 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.8081/11.92, allocations: 198.7 MB / 4.459 GB, free: 189.5 MB / 1.046 GB Notification: Performance of simCode: created initialization part: time 0.2619/12.18, allocations: 168.7 MB / 4.624 GB, free: 50.71 MB / 1.046 GB Notification: Performance of simCode: created event and clocks part: time 0.0001227/12.18, allocations: 229.3 kB / 4.624 GB, free: 50.49 MB / 1.046 GB Notification: Performance of simCode: created simulation system equations: time 0.5385/12.72, allocations: 77.06 MB / 4.699 GB, free: 264.5 MB / 1.062 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1259/12.85, allocations: 28.32 MB / 4.727 GB, free: 262.2 MB / 1.062 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 32.61/45.46, allocations: 5.053 GB / 9.78 GB, free: 321.1 MB / 1.39 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1331/45.59, allocations: 87.23 MB / 9.865 GB, free: 247.5 MB / 1.39 GB Notification: Performance of simCode: alias equations: time 0.1415/45.73, allocations: 54.75 MB / 9.918 GB, free: 195.2 MB / 1.39 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08444/45.82, allocations: 56.87 MB / 9.974 GB, free: 138.3 MB / 1.39 GB Notification: Performance of SimCode: time 1.473e-06/45.82, allocations: 0 / 9.974 GB, free: 138.3 MB / 1.39 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.736/52.55, allocations: 2.661 GB / 12.63 GB, free: 322.9 MB / 1.469 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/52.55, allocations: 349.1 kB / 12.64 GB, free: 322.5 MB / 1.469 GB Notification: Performance of buildModelFMU: Generate platform static: time 64.44/117, allocations: 0 / 12.64 GB, free: 322.5 MB / 1.469 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_40_M_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40_res.mat does not exist to compare? outputFormat=mat