Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.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_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",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.0009718/0.0009718, allocations: 174.7 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.337/1.337, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0009264/0.0009264, allocations: 88.09 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.956/0.956, allocations: 120.5 MB / 457.8 MB, free: 7.031 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.781e-05, allocations: 4 kB / 0.5358 GB, free: 12.08 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.505/0.505, allocations: 82.83 MB / 0.6167 GB, free: 9.316 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.6532, allocations: 134.4 MB / 0.748 GB, free: 2.75 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001631/0.6534, allocations: 67.91 kB / 0.748 GB, free: 2.684 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.8237/1.477, allocations: 132.6 MB / 0.8775 GB, free: 12.39 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.673e-06/1.477, allocations: 0 / 0.8775 GB, free: 12.39 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0006148/1.478, allocations: 223.9 kB / 0.8777 GB, free: 12.17 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01712/1.495, allocations: 7.412 MB / 0.885 GB, free: 4.68 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.495, allocations: 8.031 kB / 0.885 GB, free: 4.672 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002188/1.497, allocations: 1.039 MB / 0.886 GB, free: 3.621 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/1.5, allocations: 1.031 MB / 0.887 GB, free: 2.578 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007386/1.507, allocations: 3.18 MB / 0.8901 GB, free: 15.3 MB / 0.5578 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/1.508, allocations: 0.5903 MB / 0.8907 GB, free: 14.71 MB / 0.5578 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/1.509, allocations: 0.7695 MB / 0.8914 GB, free: 13.94 MB / 0.5578 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/1.523, allocations: 6.161 MB / 0.8974 GB, free: 7.727 MB / 0.5578 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/1.523, allocations: 3.984 kB / 0.8974 GB, free: 7.723 MB / 0.5578 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001009/1.524, allocations: 372 kB / 0.8978 GB, free: 7.359 MB / 0.5578 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/1.524, allocations: 200 kB / 0.898 GB, free: 7.164 MB / 0.5578 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/1.538, allocations: 5.232 MB / 0.9031 GB, free: 1.918 MB / 0.5578 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.054/1.592, allocations: 24.51 MB / 0.927 GB, free: 8.672 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/1.6, allocations: 6.489 MB / 0.9334 GB, free: 2.188 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/1.603, allocations: 2.613 MB / 0.9359 GB, free: 15.55 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/1.603, allocations: 64.94 kB / 0.936 GB, free: 15.49 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/1.603, allocations: 153.5 kB / 0.9361 GB, free: 15.32 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=630): time 7.565e-06/1.603, allocations: 0 / 0.9361 GB, free: 15.32 MB / 0.6046 GB Notification: Performance of matching and sorting (n=630): time 0.01117/1.614, allocations: 6.432 MB / 0.9424 GB, free: 8.805 MB / 0.6046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/1.614, allocations: 116.3 kB / 0.9425 GB, free: 8.676 MB / 0.6046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006765/1.621, allocations: 4.4 MB / 0.9468 GB, free: 4.266 MB / 0.6046 GB Notification: Performance of collectPreVariables (initialization): time 0.0006657/1.622, allocations: 165.7 kB / 0.947 GB, free: 4.098 MB / 0.6046 GB Notification: Performance of collectInitialEqns (initialization): time 0.002217/1.624, allocations: 3.632 MB / 0.9505 GB, free: 440 kB / 0.6046 GB Notification: Performance of collectInitialBindings (initialization): time 0.001627/1.626, allocations: 2.087 MB / 0.9526 GB, free: 14.31 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/1.626, allocations: 148 kB / 0.9527 GB, free: 14.16 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 0.0002985/1.626, allocations: 0.5725 MB / 0.9533 GB, free: 13.59 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/1.629, allocations: 1.78 MB / 0.955 GB, free: 11.81 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/1.633, allocations: 2.791 MB / 0.9577 GB, free: 8.711 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004081/1.637, allocations: 2.203 MB / 0.9599 GB, free: 6.484 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/1.637, allocations: 4 kB / 0.9599 GB, free: 6.48 MB / 0.6203 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01412/1.651, allocations: 8.377 MB / 0.9681 GB, free: 14.05 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/1.651, allocations: 16 kB / 0.9681 GB, free: 14.04 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.935e-05/1.651, allocations: 20 kB / 0.9681 GB, free: 14.02 MB / 0.6359 GB Notification: Tearing is skipped for strong component 1 because system size of 419 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 7.04e-05/1.651, allocations: 52 kB / 0.9682 GB, free: 13.96 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003284/1.655, allocations: 0.8191 MB / 0.969 GB, free: 13.14 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.569e-05/1.655, allocations: 51.86 kB / 0.969 GB, free: 13.09 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005673/1.66, allocations: 0.7179 MB / 0.9697 GB, free: 12.37 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003983/1.661, allocations: 240 kB / 0.9699 GB, free: 12.13 MB / 0.6359 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (523): * Single equations (assignments): 522 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001008/1.662, allocations: 479.8 kB / 0.9704 GB, free: 11.66 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.663, allocations: 0.7301 MB / 0.9711 GB, free: 10.92 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/1.664, allocations: 0.7051 MB / 0.9718 GB, free: 10.2 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.182e-05/1.665, allocations: 56 kB / 0.9718 GB, free: 10.15 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.464e-05/1.665, allocations: 63.98 kB / 0.9719 GB, free: 10.09 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.206e-05/1.665, allocations: 27.89 kB / 0.9719 GB, free: 10.06 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007272/1.672, allocations: 5.577 MB / 0.9774 GB, free: 4.41 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.672, allocations: 0 / 0.9774 GB, free: 4.41 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.673, allocations: 327.6 kB / 0.9777 GB, free: 4.09 MB / 0.6359 GB Notification: Tearing is skipped for strong component 2 because system size of 419 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 2.76e-05/1.673, allocations: 15.94 kB / 0.9777 GB, free: 4.074 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/1.673, allocations: 104 kB / 0.9778 GB, free: 3.973 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/1.673, allocations: 8 kB / 0.9778 GB, free: 3.965 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.673, allocations: 0 / 0.9778 GB, free: 3.965 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.684, allocations: 6.816 MB / 0.9845 GB, free: 13.03 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.686, allocations: 0.8273 MB / 0.9853 GB, free: 12.18 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009609/1.687, allocations: 104 kB / 0.9854 GB, free: 12.07 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005778/1.693, allocations: 0.8745 MB / 0.9862 GB, free: 11.2 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000869/1.694, allocations: 0.6442 MB / 0.9869 GB, free: 10.55 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004753/1.694, allocations: 184 kB / 0.987 GB, free: 10.37 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.004526/1.699, allocations: 3.266 MB / 0.9902 GB, free: 7.102 MB / 0.6515 GB Notification: Performance of sort global known variables: time 2.5e-07/1.699, allocations: 0 / 0.9902 GB, free: 7.102 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.00475/1.704, allocations: 2.256 MB / 0.9924 GB, free: 4.84 MB / 0.6515 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 (212): * Single equations (assignments): 211 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3624/2.066, allocations: 7.6 MB / 0.9998 GB, free: 120 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.009107/2.075, allocations: 5.424 MB / 1.005 GB, free: 119.7 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/2.075, allocations: 12.84 kB / 1.005 GB, free: 119.7 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.004428/2.08, allocations: 2.813 MB / 1.008 GB, free: 119.5 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005592/2.085, allocations: 1.394 MB / 1.009 GB, free: 119.4 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/2.101, allocations: 9.501 MB / 1.019 GB, free: 116.9 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/2.103, allocations: 3.459 MB / 1.022 GB, free: 116 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.003449/2.106, allocations: 0.6761 MB / 1.023 GB, free: 116 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002787/2.109, allocations: 3.238 MB / 1.026 GB, free: 116 MB / 0.6515 GB Notification: Performance of SimCode: time 8.11e-07/2.109, allocations: 3.938 kB / 1.026 GB, free: 116 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/2.307, allocations: 138.5 MB / 1.161 GB, free: 43.93 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/2.307, allocations: 240.2 kB / 1.161 GB, free: 43.6 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/9.215, allocations: 4 kB / 1.161 GB, free: 43.59 MB / 0.6515 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat does not exist to compare? outputFormat=mat