Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.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.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",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.0008793/0.0008793, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 91.86 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8788/0.8788, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.802e-05, allocations: 4 kB / 0.5289 GB, free: 1.207 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5605/0.5606, allocations: 82.83 MB / 0.6098 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8194/1.38, allocations: 152.7 MB / 0.7589 GB, free: 45.86 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/1.38, allocations: 67.81 kB / 0.7589 GB, free: 45.86 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 2.19/3.57, allocations: 0.548 GB / 1.307 GB, free: 25.58 MB / 0.7296 GB Notification: Performance of FrontEnd: time 2.615e-06/3.57, allocations: 0 / 1.307 GB, free: 25.58 MB / 0.7296 GB Notification: Performance of Transformations before backend: time 0.003965/3.574, allocations: 0.8618 MB / 1.308 GB, free: 25.48 MB / 0.7296 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.08061/3.655, allocations: 27.9 MB / 1.335 GB, free: 16.04 MB / 0.7296 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/3.655, allocations: 10.41 kB / 1.335 GB, free: 16.04 MB / 0.7296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/3.672, allocations: 4.004 MB / 1.339 GB, free: 14.11 MB / 0.7296 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05143/3.723, allocations: 11.92 MB / 1.351 GB, free: 11.27 MB / 0.7296 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003386/3.727, allocations: 1.002 MB / 1.352 GB, free: 11.27 MB / 0.7296 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01047/3.737, allocations: 1.754 MB / 1.353 GB, free: 11.27 MB / 0.7296 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05795/3.795, allocations: 18.8 MB / 1.372 GB, free: 11.14 MB / 0.7296 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08124/3.877, allocations: 19.13 MB / 1.39 GB, free: 10.41 MB / 0.7296 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001444/3.878, allocations: 0 / 1.39 GB, free: 10.41 MB / 0.7296 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009201/3.887, allocations: 56.67 kB / 1.39 GB, free: 10.41 MB / 0.7296 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005613/3.888, allocations: 0.7488 MB / 1.391 GB, free: 10.41 MB / 0.7296 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2334/4.121, allocations: 90.45 MB / 1.479 GB, free: 11.39 MB / 0.7609 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0558/4.177, allocations: 26.8 MB / 1.506 GB, free: 8.344 MB / 0.7765 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0205/4.198, allocations: 9.516 MB / 1.515 GB, free: 14.95 MB / 0.7921 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/4.2, allocations: 251.2 kB / 1.515 GB, free: 14.7 MB / 0.7921 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006113/4.2, allocations: 492.2 kB / 1.516 GB, free: 14.21 MB / 0.7921 GB Notification: Performance of pre-optimization done (n=2460): time 9.859e-05/4.2, allocations: 0 / 1.516 GB, free: 14.21 MB / 0.7921 GB Notification: Performance of matching and sorting (n=2460): time 0.06828/4.269, allocations: 22.73 MB / 1.538 GB, free: 9.457 MB / 0.8078 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002806/4.269, allocations: 304.8 kB / 1.538 GB, free: 9.148 MB / 0.8078 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04796/4.317, allocations: 14.23 MB / 1.552 GB, free: 13.32 MB / 0.8234 GB Notification: Performance of collectPreVariables (initialization): time 0.004971/4.322, allocations: 77.7 kB / 1.552 GB, free: 13.24 MB / 0.8234 GB Notification: Performance of collectInitialEqns (initialization): time 0.0157/4.338, allocations: 14.58 MB / 1.566 GB, free: 68 kB / 0.8234 GB Notification: Performance of collectInitialBindings (initialization): time 0.01464/4.352, allocations: 7.824 MB / 1.574 GB, free: 8.855 MB / 0.839 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007261/4.36, allocations: 4 kB / 1.574 GB, free: 8.852 MB / 0.839 GB Notification: Performance of setup shared object (initialization): time 0.0001307/4.36, allocations: 301.1 kB / 1.574 GB, free: 8.555 MB / 0.839 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02365/4.384, allocations: 6.38 MB / 1.581 GB, free: 2.168 MB / 0.839 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03362/4.417, allocations: 10.19 MB / 1.59 GB, free: 7.125 MB / 0.8546 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5918/5.009, allocations: 7.941 MB / 1.598 GB, free: 162.2 MB / 0.8546 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002604/5.01, allocations: 25.09 kB / 1.598 GB, free: 162.2 MB / 0.8546 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.09098/5.101, allocations: 29.4 MB / 1.627 GB, free: 160.7 MB / 0.8546 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/5.101, allocations: 47.56 kB / 1.627 GB, free: 160.7 MB / 0.8546 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/5.101, allocations: 88.88 kB / 1.627 GB, free: 160.7 MB / 0.8546 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0002573/5.101, allocations: 180 kB / 1.627 GB, free: 160.7 MB / 0.8546 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01526/5.116, allocations: 3.172 MB / 1.63 GB, free: 160.7 MB / 0.8546 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003055/5.117, allocations: 222.7 kB / 1.631 GB, free: 160.7 MB / 0.8546 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02942/5.146, allocations: 1.874 MB / 1.632 GB, free: 160.3 MB / 0.8546 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005531/5.152, allocations: 0.9109 MB / 1.633 GB, free: 160.3 MB / 0.8546 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008163/5.16, allocations: 0.497 MB / 1.634 GB, free: 160.2 MB / 0.8546 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05548/5.215, allocations: 22.73 MB / 1.656 GB, free: 157.7 MB / 0.8546 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01059/5.226, allocations: 2.546 MB / 1.658 GB, free: 156.5 MB / 0.8546 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006625/5.233, allocations: 2.261 MB / 1.661 GB, free: 156.2 MB / 0.8546 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001577/5.233, allocations: 231.5 kB / 1.661 GB, free: 156.2 MB / 0.8546 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004587/5.233, allocations: 232.7 kB / 1.661 GB, free: 156.2 MB / 0.8546 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003819/5.234, allocations: 119.9 kB / 1.661 GB, free: 156.2 MB / 0.8546 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03603/5.27, allocations: 17.87 MB / 1.679 GB, free: 155.3 MB / 0.8546 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001786/5.27, allocations: 3.188 kB / 1.679 GB, free: 155.3 MB / 0.8546 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005012/5.275, allocations: 1.224 MB / 1.68 GB, free: 155.3 MB / 0.8546 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 8.612e-05/5.275, allocations: 26.44 kB / 1.68 GB, free: 155.3 MB / 0.8546 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002299/5.277, allocations: 3.234 kB / 1.68 GB, free: 155.3 MB / 0.8546 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.339e-05/5.277, allocations: 26.66 kB / 1.68 GB, free: 155.3 MB / 0.8546 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/5.278, allocations: 2.656 kB / 1.68 GB, free: 155.3 MB / 0.8546 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05158/5.329, allocations: 23.97 MB / 1.703 GB, free: 151.8 MB / 0.8546 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009093/5.338, allocations: 2.736 MB / 1.706 GB, free: 150.4 MB / 0.8546 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008102/5.346, allocations: 0 / 1.706 GB, free: 150.4 MB / 0.8546 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03081/5.377, allocations: 2.91 MB / 1.709 GB, free: 150.4 MB / 0.8546 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005775/5.383, allocations: 2.5 MB / 1.711 GB, free: 150.4 MB / 0.8546 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004594/5.388, allocations: 0.7009 MB / 1.712 GB, free: 150.4 MB / 0.8546 GB Notification: Performance of sorting global known variables: time 0.02222/5.41, allocations: 9.96 MB / 1.722 GB, free: 149.9 MB / 0.8546 GB Notification: Performance of sort global known variables: time 4.01e-07/5.41, allocations: 1.594 kB / 1.722 GB, free: 149.9 MB / 0.8546 GB Notification: Performance of remove unused functions: time 0.03159/5.442, allocations: 8.025 MB / 1.73 GB, free: 148.6 MB / 0.8546 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06089/5.502, allocations: 24.88 MB / 1.754 GB, free: 140.4 MB / 0.8546 GB Notification: Performance of simCode: created initialization part: time 0.04617/5.549, allocations: 19.46 MB / 1.773 GB, free: 133.2 MB / 0.8546 GB Notification: Performance of simCode: created event and clocks part: time 6.365e-05/5.549, allocations: 57.64 kB / 1.773 GB, free: 133.2 MB / 0.8546 GB Notification: Performance of simCode: created simulation system equations: time 0.02348/5.572, allocations: 10.07 MB / 1.783 GB, free: 127.9 MB / 0.8546 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02945/5.602, allocations: 3.572 MB / 1.786 GB, free: 125 MB / 0.8546 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09661/5.698, allocations: 36.13 MB / 1.821 GB, free: 91.95 MB / 0.8546 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01135/5.71, allocations: 11.57 MB / 1.833 GB, free: 84.66 MB / 0.8546 GB Notification: Performance of simCode: alias equations: time 0.01641/5.726, allocations: 2.28 MB / 1.835 GB, free: 83.46 MB / 0.8546 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01632/5.743, allocations: 13.96 MB / 1.849 GB, free: 70.34 MB / 0.8546 GB Notification: Performance of SimCode: time 1.002e-06/5.743, allocations: 0 / 1.849 GB, free: 70.34 MB / 0.8546 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.748/7.491, allocations: 435.8 MB / 2.274 GB, free: 87.92 MB / 0.8703 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/7.491, allocations: 244.8 kB / 2.275 GB, free: 87.64 MB / 0.8703 GB Notification: Performance of buildModelFMU: Generate platform static: time 63.86/71.35, allocations: 1.406 kB / 2.275 GB, free: 87.64 MB / 0.8703 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat does not exist to compare? outputFormat=mat