Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009891/0.0009889, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001083/0.001083, allocations: 180.1 kB / 17.19 MB, free: 6.34 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.443/1.443, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9693/0.9693, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 16 kB / 0.4955 GB, free: 9.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1984, allocations: 82.85 MB / 0.5764 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001499/0.2, allocations: 1.123 MB / 0.5775 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002697/0.2003, allocations: 103.8 kB / 0.5776 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.2003, allocations: 4 kB / 0.5776 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2004, allocations: 11.92 kB / 0.5776 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.2005, allocations: 23.94 kB / 0.5776 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.2007, allocations: 39.81 kB / 0.5776 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008128/0.2015, allocations: 0.737 MB / 0.5784 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.2016, allocations: 4 kB / 0.5784 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.202, allocations: 463.2 kB / 0.5788 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000691/0.2027, allocations: 0.4914 MB / 0.5793 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.2028, allocations: 63.94 kB / 0.5793 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.203, allocations: 64 kB / 0.5794 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.2033, allocations: 335.3 kB / 0.5797 GB, free: 3.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.2035, allocations: 129.5 kB / 0.5798 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.2039, allocations: 451.1 kB / 0.5803 GB, free: 2.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2039, allocations: 0 / 0.5803 GB, free: 2.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2039, allocations: 0 / 0.5803 GB, free: 2.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2039, allocations: 0 / 0.5803 GB, free: 2.762 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004651/0.2086, allocations: 1.491 MB / 0.5817 GB, free: 1.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2086, allocations: 8.031 kB / 0.5817 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.2088, allocations: 63.39 kB / 0.5818 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.2095, allocations: 350.3 kB / 0.5821 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.2096, allocations: 57.31 kB / 0.5822 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.2098, allocations: 99.81 kB / 0.5823 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5379/0.7477, allocations: 0.8701 MB / 0.5831 GB, free: 15.79 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.7478, allocations: 1.094 kB / 0.5831 GB, free: 15.79 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.7479, allocations: 21.59 kB / 0.5832 GB, free: 15.79 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.7479, allocations: 12.62 kB / 0.5832 GB, free: 15.79 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.7497, allocations: 0.7663 MB / 0.5839 GB, free: 15.79 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007021/0.7568, allocations: 4.357 MB / 0.5882 GB, free: 13.05 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.7586, allocations: 0.9748 MB / 0.5891 GB, free: 12.89 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.721e-05/0.7587, allocations: 14.33 kB / 0.5891 GB, free: 12.88 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.7588, allocations: 47.98 kB / 0.5892 GB, free: 12.83 MB / 446.3 MB Notification: Performance of pre-optimization done (n=99): time 3.888e-06/0.7588, allocations: 0 / 0.5892 GB, free: 12.83 MB / 446.3 MB Notification: Performance of matching and sorting (n=99): time 0.003249/0.762, allocations: 1.653 MB / 0.5908 GB, free: 12.33 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.7621, allocations: 62.28 kB / 0.5909 GB, free: 12.27 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.7622, allocations: 148.2 kB / 0.591 GB, free: 12.16 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 8.438e-05/0.7623, allocations: 50.86 kB / 0.591 GB, free: 12.11 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.7624, allocations: 156.3 kB / 0.5912 GB, free: 11.97 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.7627, allocations: 414.8 kB / 0.5916 GB, free: 11.66 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.7628, allocations: 25 kB / 0.5916 GB, free: 11.64 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7629, allocations: 367.8 kB / 0.592 GB, free: 11.3 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.764, allocations: 0.5644 MB / 0.5925 GB, free: 11.15 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.7652, allocations: 0.6581 MB / 0.5932 GB, free: 10.95 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.7663, allocations: 0.6522 MB / 0.5938 GB, free: 10.73 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7663, allocations: 0 / 0.5938 GB, free: 10.73 MB / 446.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00254/0.7689, allocations: 1.457 MB / 0.5952 GB, free: 10.25 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.7689, allocations: 11.64 kB / 0.5952 GB, free: 10.24 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.7689, allocations: 1.156 kB / 0.5952 GB, free: 10.24 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.7689, allocations: 5.906 kB / 0.5952 GB, free: 10.24 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/0.7714, allocations: 0.5315 MB / 0.5958 GB, free: 10.21 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.7714, allocations: 5.5 kB / 0.5958 GB, free: 10.21 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008519/0.7723, allocations: 125.5 kB / 0.5959 GB, free: 10.15 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.7724, allocations: 35.25 kB / 0.5959 GB, free: 10.14 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (157): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003701/0.7728, allocations: 213.2 kB / 0.5961 GB, free: 9.984 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.7729, allocations: 37.62 kB / 0.5961 GB, free: 9.969 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.7733, allocations: 155.7 kB / 0.5963 GB, free: 9.82 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.7733, allocations: 17.62 kB / 0.5963 GB, free: 9.816 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/0.7733, allocations: 0 / 0.5963 GB, free: 9.816 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.7734, allocations: 4.688 kB / 0.5963 GB, free: 9.816 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.7746, allocations: 0.7963 MB / 0.5971 GB, free: 9.457 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.7747, allocations: 0.6562 kB / 0.5971 GB, free: 9.457 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002838/0.7775, allocations: 0.5274 MB / 0.5976 GB, free: 9.434 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.7775, allocations: 2 kB / 0.5976 GB, free: 9.434 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.7777, allocations: 48.3 kB / 0.5977 GB, free: 9.418 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.7777, allocations: 2.938 kB / 0.5977 GB, free: 9.418 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7777, allocations: 0.5625 kB / 0.5977 GB, free: 9.418 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.781, allocations: 1.973 MB / 0.5996 GB, free: 8.676 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.7811, allocations: 121.9 kB / 0.5997 GB, free: 8.551 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.7813, allocations: 39.75 kB / 0.5997 GB, free: 8.539 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/0.782, allocations: 75.05 kB / 0.5998 GB, free: 8.504 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.7822, allocations: 58.3 kB / 0.5999 GB, free: 8.496 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/0.7823, allocations: 28.64 kB / 0.5999 GB, free: 8.488 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.1e-05/0.7824, allocations: 95.03 kB / 0.6 GB, free: 8.41 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7824, allocations: 0 / 0.6 GB, free: 8.41 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.000907/0.7833, allocations: 312 kB / 0.6003 GB, free: 8.367 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00023/0.7836, allocations: 150.2 kB / 0.6004 GB, free: 8.246 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.7861, allocations: 1.325 MB / 0.6017 GB, free: 7.875 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7861, allocations: 0 / 0.6017 GB, free: 7.875 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.7873, allocations: 0.6564 MB / 0.6024 GB, free: 7.664 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.7878, allocations: 117.2 kB / 0.6025 GB, free: 7.625 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/0.7948, allocations: 5.603 MB / 0.6079 GB, free: 3.645 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.7952, allocations: 0.9259 MB / 0.6089 GB, free: 2.852 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.001253/0.7965, allocations: 390.3 kB / 0.6092 GB, free: 2.688 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.7968, allocations: 50.09 kB / 0.6093 GB, free: 2.684 MB / 446.3 MB Notification: Performance of SimCode: time 7.72e-07/0.7968, allocations: 0 / 0.6093 GB, free: 2.684 MB / 446.3 MB Notification: Performance of Templates: time 0.01677/0.8136, allocations: 9.92 MB / 0.619 GB, free: 12.75 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches