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.0008938/0.0008939, allocations: 91.48 kB / 16.31 MB, free: 5.566 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.0009278/0.0009278, allocations: 176.8 kB / 17.2 MB, free: 5.492 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.175/1.175, allocations: 223.2 MB / 241.2 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7995/0.7995, allocations: 120.5 MB / 412.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002807, allocations: 8 kB / 0.4944 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4203, allocations: 82.84 MB / 0.5753 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40): time 0.001812/0.4221, allocations: 2.011 MB / 0.5772 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006947/0.4228, allocations: 0.5092 MB / 0.5777 GB, free: 39.97 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.423, allocations: 3.469 kB / 0.5777 GB, free: 39.97 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.4231, allocations: 27.58 kB / 0.5777 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.4232, allocations: 58.8 kB / 0.5778 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.4233, allocations: 38.8 kB / 0.5778 GB, free: 39.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.1252/0.5485, allocations: 185.2 MB / 0.7587 GB, free: 1.633 MB / 0.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6161/1.165, allocations: 69.74 MB / 0.8268 GB, free: 13.95 MB / 0.6235 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06229/1.227, allocations: 55.42 MB / 0.881 GB, free: 13.95 MB / 0.6235 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1005/1.328, allocations: 63 MB / 0.9425 GB, free: 1.391 MB / 0.6548 GB Notification: Performance of NFPackage.collectConstants: time 0.03244/1.36, allocations: 7.609 MB / 0.9499 GB, free: 9.777 MB / 0.6704 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04874/1.409, allocations: 7.613 MB / 0.9573 GB, free: 2.16 MB / 0.6704 GB Notification: Performance of NFScalarize.scalarize: time 0.04348/1.452, allocations: 24.83 MB / 0.9816 GB, free: 12.62 MB / 0.7017 GB Notification: Performance of NFVerifyModel.verify: time 0.04627/1.499, allocations: 26.61 MB / 1.008 GB, free: 1.93 MB / 0.7173 GB Notification: Performance of NFConvertDAE.convert: time 0.664/2.163, allocations: 171.9 MB / 1.176 GB, free: 55.13 MB / 0.7647 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/2.163, allocations: 0 / 1.176 GB, free: 55.13 MB / 0.7647 GB Notification: Performance of FrontEnd: time 2.665e-06/2.163, allocations: 0 / 1.176 GB, free: 55.13 MB / 0.7647 GB Notification: Performance of Transformations before backend: time 0.008001/2.171, allocations: 0 / 1.176 GB, free: 55.13 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.3511/2.522, allocations: 178.8 MB / 1.35 GB, free: 7.727 MB / 0.8584 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/2.522, allocations: 12.03 kB / 1.35 GB, free: 7.715 MB / 0.8584 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.05928/2.581, allocations: 18.23 MB / 1.368 GB, free: 13.56 MB / 0.874 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4042/2.985, allocations: 15.82 MB / 1.383 GB, free: 201.2 MB / 0.874 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1751/3.16, allocations: 79.9 MB / 1.461 GB, free: 190.8 MB / 0.874 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007426/3.168, allocations: 9.142 MB / 1.47 GB, free: 182.8 MB / 0.874 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03888/3.207, allocations: 11.86 MB / 1.482 GB, free: 170.9 MB / 0.874 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3805/3.587, allocations: 202 MB / 1.679 GB, free: 14.85 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00386/3.591, allocations: 0 / 1.679 GB, free: 14.85 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.04111/3.632, allocations: 5.534 MB / 1.685 GB, free: 9.32 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002188/3.634, allocations: 2.971 MB / 1.688 GB, free: 6.352 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7289/4.363, allocations: 206.4 MB / 1.889 GB, free: 228.7 MB / 0.9678 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.606/5.969, allocations: 0.6094 GB / 2.498 GB, free: 8.332 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7514/6.721, allocations: 190.8 MB / 2.685 GB, free: 179.7 MB / 1.03 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1148/6.836, allocations: 84.07 MB / 2.767 GB, free: 155.7 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006573/6.842, allocations: 0.9697 MB / 2.768 GB, free: 155.6 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/6.844, allocations: 1.81 MB / 2.77 GB, free: 153.8 MB / 1.03 GB Notification: Performance of pre-optimization done (n=9720): time 0.0001122/6.844, allocations: 0 / 2.77 GB, free: 153.8 MB / 1.03 GB Notification: Performance of matching and sorting (n=9720): time 0.855/7.699, allocations: 240.3 MB / 3.004 GB, free: 219.4 MB / 1.03 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009331/7.7, allocations: 1.015 MB / 3.005 GB, free: 219.3 MB / 1.03 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2188/7.919, allocations: 133.8 MB / 3.136 GB, free: 177.1 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.01835/7.937, allocations: 2.099 MB / 3.138 GB, free: 175 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.05697/7.994, allocations: 60.38 MB / 3.197 GB, free: 124.7 MB / 1.03 GB Notification: Performance of collectInitialBindings (initialization): time 0.03983/8.034, allocations: 33.1 MB / 3.229 GB, free: 91.84 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02826/8.062, allocations: 2.223 MB / 3.231 GB, free: 89.62 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 0.01123/8.073, allocations: 5.446 MB / 3.237 GB, free: 84.16 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.617/8.69, allocations: 78.78 MB / 3.314 GB, free: 201.3 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1342/8.825, allocations: 95.93 MB / 3.407 GB, free: 187.3 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1341/8.959, allocations: 95.55 MB / 3.501 GB, free: 158.2 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006393/8.959, allocations: 100 kB / 3.501 GB, free: 158.1 MB / 1.03 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 0.9537/9.913, allocations: 262.7 MB / 3.757 GB, free: 126.6 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007166/9.914, allocations: 159.1 kB / 3.757 GB, free: 126.6 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007601/9.915, allocations: 349.4 kB / 3.758 GB, free: 126.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.0009237/9.916, allocations: 0.6897 MB / 3.759 GB, free: 126.6 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06899/9.985, allocations: 18.43 MB / 3.777 GB, free: 124.5 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/9.986, allocations: 0.8608 MB / 3.777 GB, free: 124.4 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1344/10.12, allocations: 28.51 MB / 3.805 GB, free: 117.6 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02259/10.14, allocations: 3.599 MB / 3.809 GB, free: 117.6 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.09916/10.24, allocations: 48.7 MB / 3.856 GB, free: 116.4 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04436/10.29, allocations: 11.12 MB / 3.867 GB, free: 112.1 MB / 1.03 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04699/10.33, allocations: 17.31 MB / 3.884 GB, free: 101.8 MB / 1.03 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005229/10.33, allocations: 0.8921 MB / 3.885 GB, free: 101.8 MB / 1.03 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00243/10.34, allocations: 0.8918 MB / 3.886 GB, free: 101.8 MB / 1.03 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/10.34, allocations: 456.4 kB / 3.886 GB, free: 101.8 MB / 1.03 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2481/10.59, allocations: 122.4 MB / 4.006 GB, free: 36.23 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003662/10.59, allocations: 0 / 4.006 GB, free: 36.23 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02541/10.61, allocations: 7.739 MB / 4.013 GB, free: 28.48 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.0003968/10.61, allocations: 100 kB / 4.013 GB, free: 28.38 MB / 1.03 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01419/10.63, allocations: 1.488 MB / 4.015 GB, free: 26.89 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000319/10.63, allocations: 104 kB / 4.015 GB, free: 26.79 MB / 1.03 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/10.63, allocations: 0 / 4.015 GB, free: 26.79 MB / 1.03 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.83/11.46, allocations: 194.2 MB / 4.205 GB, free: 190.3 MB / 1.046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04617/11.5, allocations: 17.49 MB / 4.222 GB, free: 182.4 MB / 1.046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04429/11.55, allocations: 1.484 MB / 4.223 GB, free: 181.2 MB / 1.046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1463/11.69, allocations: 36.93 MB / 4.259 GB, free: 174.1 MB / 1.046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02682/11.72, allocations: 9.863 MB / 4.269 GB, free: 173.4 MB / 1.046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02235/11.74, allocations: 2.773 MB / 4.272 GB, free: 171.3 MB / 1.046 GB Notification: Performance of sorting global known variables: time 0.1559/11.9, allocations: 92.1 MB / 4.361 GB, free: 86.5 MB / 1.046 GB Notification: Performance of sort global known variables: time 3e-07/11.9, allocations: 0 / 4.361 GB, free: 86.5 MB / 1.046 GB Notification: Performance of remove unused functions: time 0.1289/12.03, allocations: 42.81 MB / 4.403 GB, free: 43.61 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.8813/12.91, allocations: 198.7 MB / 4.597 GB, free: 172.9 MB / 1.046 GB Notification: Performance of simCode: created initialization part: time 0.282/13.19, allocations: 168.7 MB / 4.762 GB, free: 69.09 MB / 1.046 GB Notification: Performance of simCode: created event and clocks part: time 0.0001207/13.19, allocations: 225.3 kB / 4.762 GB, free: 68.87 MB / 1.046 GB Notification: Performance of simCode: created simulation system equations: time 0.5259/13.72, allocations: 77.06 MB / 4.838 GB, free: 247.6 MB / 1.062 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1824/13.9, allocations: 30.4 MB / 4.867 GB, free: 245.9 MB / 1.062 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 31.46/45.36, allocations: 4.823 GB / 9.69 GB, free: 297.3 MB / 1.374 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1676/45.53, allocations: 85.01 MB / 9.773 GB, free: 241 MB / 1.374 GB Notification: Performance of simCode: alias equations: time 0.1585/45.68, allocations: 54.75 MB / 9.827 GB, free: 192.3 MB / 1.374 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.125/45.81, allocations: 56.87 MB / 9.882 GB, free: 135.4 MB / 1.374 GB Notification: Performance of SimCode: time 1.162e-06/45.81, allocations: 0 / 9.882 GB, free: 135.4 MB / 1.374 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.859/53.67, allocations: 2.662 GB / 12.54 GB, free: 269.6 MB / 1.374 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/53.67, allocations: 353.2 kB / 12.54 GB, free: 269.2 MB / 1.374 GB Notification: Performance of buildModelFMU: Generate platform static: time 67.52/121.2, allocations: 5.5 kB / 12.54 GB, free: 269.2 MB / 1.374 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