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.001007/0.001007, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.21/1.21, allocations: 221.3 MB / 235.5 MB, free: 2.906 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.0008332/0.000833, allocations: 90.45 kB / 286.5 MB, free: 168 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.848/0.848, allocations: 120.5 MB / 457.8 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/3.007e-05, allocations: 0 / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5406, allocations: 82.84 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8168/1.357, allocations: 153.3 MB / 0.7665 GB, free: 42.48 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/1.358, allocations: 68.06 kB / 0.7665 GB, free: 42.48 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 2.417/3.774, allocations: 0.5534 GB / 1.32 GB, free: 27.39 MB / 0.7453 GB Notification: Performance of FrontEnd: time 3.276e-06/3.774, allocations: 0 / 1.32 GB, free: 27.39 MB / 0.7453 GB Notification: Performance of Transformations before backend: time 0.005153/3.78, allocations: 0.8622 MB / 1.321 GB, free: 27.29 MB / 0.7453 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.0957/3.875, allocations: 27.91 MB / 1.348 GB, free: 18 MB / 0.7453 GB Notification: Performance of prepare preOptimizeDAE: time 8.335e-05/3.875, allocations: 9.406 kB / 1.348 GB, free: 18 MB / 0.7453 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01649/3.892, allocations: 3.982 MB / 1.352 GB, free: 17.76 MB / 0.7453 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/3.908, allocations: 4.007 MB / 1.356 GB, free: 15.84 MB / 0.7453 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04476/3.953, allocations: 11.91 MB / 1.367 GB, free: 13 MB / 0.7453 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002809/3.956, allocations: 2.311 MB / 1.37 GB, free: 12.93 MB / 0.7453 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008924/3.965, allocations: 3.002 MB / 1.373 GB, free: 12.93 MB / 0.7453 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07895/4.044, allocations: 23.95 MB / 1.396 GB, free: 12.07 MB / 0.7453 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001778/4.046, allocations: 0.5625 kB / 1.396 GB, free: 12.07 MB / 0.7453 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009854/4.055, allocations: 1.407 MB / 1.397 GB, free: 12.07 MB / 0.7453 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007029/4.056, allocations: 0.7473 MB / 1.398 GB, free: 12.07 MB / 0.7453 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06363/4.12, allocations: 20.43 MB / 1.418 GB, free: 11.82 MB / 0.7453 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2456/4.366, allocations: 95.54 MB / 1.511 GB, free: 0.5117 MB / 0.7765 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0781/4.444, allocations: 29.82 MB / 1.54 GB, free: 13.18 MB / 0.8078 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02271/4.466, allocations: 10.31 MB / 1.551 GB, free: 2.992 MB / 0.8078 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/4.469, allocations: 251.2 kB / 1.551 GB, free: 2.746 MB / 0.8078 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000867/4.47, allocations: 499 kB / 1.551 GB, free: 2.25 MB / 0.8078 GB Notification: Performance of pre-optimization done (n=2460): time 0.0001767/4.47, allocations: 0 / 1.551 GB, free: 2.25 MB / 0.8078 GB Notification: Performance of matching and sorting (n=2460): time 0.07899/4.549, allocations: 25.04 MB / 1.576 GB, free: 11.2 MB / 0.839 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003451/4.549, allocations: 298.6 kB / 1.576 GB, free: 10.9 MB / 0.839 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04856/4.598, allocations: 16.88 MB / 1.593 GB, free: 11.38 MB / 0.8546 GB Notification: Performance of collectPreVariables (initialization): time 0.005187/4.603, allocations: 0.5485 MB / 1.593 GB, free: 10.82 MB / 0.8546 GB Notification: Performance of collectInitialEqns (initialization): time 0.5825/5.186, allocations: 14.64 MB / 1.607 GB, free: 152.2 MB / 0.8546 GB Notification: Performance of collectInitialBindings (initialization): time 0.009711/5.195, allocations: 8.169 MB / 1.615 GB, free: 148.1 MB / 0.8546 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004433/5.2, allocations: 0.5631 MB / 1.616 GB, free: 148.1 MB / 0.8546 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/5.2, allocations: 310.2 kB / 1.616 GB, free: 147.8 MB / 0.8546 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02218/5.222, allocations: 6.945 MB / 1.623 GB, free: 147.8 MB / 0.8546 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02597/5.248, allocations: 10.92 MB / 1.634 GB, free: 144.3 MB / 0.8546 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02349/5.272, allocations: 8.577 MB / 1.642 GB, free: 143.9 MB / 0.8546 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003561/5.272, allocations: 23.81 kB / 1.642 GB, free: 143.9 MB / 0.8546 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.09564/5.368, allocations: 32.67 MB / 1.674 GB, free: 141.2 MB / 0.8546 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/5.368, allocations: 44.75 kB / 1.674 GB, free: 141.2 MB / 0.8546 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/5.368, allocations: 87 kB / 1.674 GB, free: 141.2 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.000247/5.368, allocations: 183.1 kB / 1.674 GB, free: 141.2 MB / 0.8546 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01764/5.386, allocations: 3.172 MB / 1.677 GB, free: 141.2 MB / 0.8546 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004527/5.386, allocations: 222 kB / 1.678 GB, free: 141.2 MB / 0.8546 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0367/5.423, allocations: 2.752 MB / 1.68 GB, free: 139.5 MB / 0.8546 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005842/5.429, allocations: 0.9078 MB / 1.681 GB, free: 139.5 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.01014/5.439, allocations: 1.531 MB / 1.683 GB, free: 139.3 MB / 0.8546 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0112/5.45, allocations: 2.82 MB / 1.685 GB, free: 138 MB / 0.8546 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00821/5.459, allocations: 2.75 MB / 1.688 GB, free: 137.7 MB / 0.8546 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001481/5.459, allocations: 232.3 kB / 1.688 GB, free: 137.7 MB / 0.8546 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003954/5.459, allocations: 234.7 kB / 1.688 GB, free: 137.7 MB / 0.8546 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004033/5.46, allocations: 113.5 kB / 1.689 GB, free: 137.7 MB / 0.8546 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05323/5.513, allocations: 21.37 MB / 1.709 GB, free: 136.1 MB / 0.8546 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003224/5.513, allocations: 12.03 kB / 1.709 GB, free: 136.1 MB / 0.8546 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005404/5.519, allocations: 1.222 MB / 1.711 GB, free: 136.1 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 0.0001062/5.519, allocations: 30.83 kB / 1.711 GB, free: 136.1 MB / 0.8546 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003062/5.522, allocations: 381 kB / 1.711 GB, free: 136.1 MB / 0.8546 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.766e-05/5.522, allocations: 27.44 kB / 1.711 GB, free: 136.1 MB / 0.8546 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/5.522, allocations: 0 / 1.711 GB, free: 136.1 MB / 0.8546 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06564/5.588, allocations: 26.29 MB / 1.737 GB, free: 130.5 MB / 0.8546 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01138/5.599, allocations: 3 MB / 1.74 GB, free: 128.4 MB / 0.8546 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01054/5.61, allocations: 385.1 kB / 1.74 GB, free: 128.1 MB / 0.8546 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03206/5.642, allocations: 3.384 MB / 1.743 GB, free: 127.8 MB / 0.8546 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005821/5.648, allocations: 2.502 MB / 1.746 GB, free: 127.6 MB / 0.8546 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005066/5.653, allocations: 0.7032 MB / 1.746 GB, free: 127.4 MB / 0.8546 GB Notification: Performance of sorting global known variables: time 0.03029/5.683, allocations: 12.56 MB / 1.759 GB, free: 122.8 MB / 0.8546 GB Notification: Performance of sort global known variables: time 6.61e-07/5.683, allocations: 0 / 1.759 GB, free: 122.8 MB / 0.8546 GB Notification: Performance of remove unused functions: time 0.03078/5.714, allocations: 8.795 MB / 1.767 GB, free: 120.9 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.07248/5.786, allocations: 27.81 MB / 1.795 GB, free: 109.7 MB / 0.8546 GB Notification: Performance of simCode: created initialization part: time 0.0475/5.834, allocations: 20.96 MB / 1.815 GB, free: 94.09 MB / 0.8546 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-05/5.834, allocations: 60.73 kB / 1.815 GB, free: 94.04 MB / 0.8546 GB Notification: Performance of simCode: created simulation system equations: time 0.02288/5.857, allocations: 10.76 MB / 1.826 GB, free: 84.49 MB / 0.8546 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03387/5.891, allocations: 5.434 MB / 1.831 GB, free: 80.01 MB / 0.8546 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1236/6.014, allocations: 38.64 MB / 1.869 GB, free: 44.48 MB / 0.8546 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01921/6.034, allocations: 11.58 MB / 1.88 GB, free: 37.19 MB / 0.8546 GB Notification: Performance of simCode: alias equations: time 0.02295/6.057, allocations: 2.645 MB / 1.882 GB, free: 35.76 MB / 0.8546 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01913/6.076, allocations: 14.09 MB / 1.896 GB, free: 22.54 MB / 0.8546 GB Notification: Performance of SimCode: time 2.235e-06/6.076, allocations: 1.875 kB / 1.896 GB, free: 22.54 MB / 0.8546 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.832/7.908, allocations: 0.4907 GB / 2.387 GB, free: 82.18 MB / 0.8703 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/7.908, allocations: 271.6 kB / 2.387 GB, free: 81.85 MB / 0.8703 GB Notification: Performance of buildModelFMU: Generate platform static: time 64.58/72.49, allocations: 3.938 kB / 2.387 GB, free: 81.85 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