Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 116.4 kB / 16.63 MB, free: 6.812 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.001104/0.001104, allocations: 194 kB / 17.55 MB, free: 5.93 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.165/1.165, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7564/0.7564, allocations: 119.3 MB / 410.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.4918 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3787, allocations: 80.68 MB / 0.5706 GB, free: 43.86 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001828/0.3806, allocations: 1.522 MB / 0.5721 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.3808, allocations: 98.84 kB / 0.5721 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.3808, allocations: 1.25 kB / 0.5721 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.397e-05/0.3809, allocations: 5.516 kB / 0.5722 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.544e-05/0.381, allocations: 63.86 kB / 0.5722 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3812, allocations: 23.31 kB / 0.5722 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.3816, allocations: 0.6372 MB / 0.5729 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.3816, allocations: 5.281 kB / 0.5729 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.3818, allocations: 248.8 kB / 0.5731 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.3822, allocations: 316.6 kB / 0.5734 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.3822, allocations: 30.16 kB / 0.5734 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.3823, allocations: 29.44 kB / 0.5735 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3824, allocations: 182.9 kB / 0.5736 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3826, allocations: 201 kB / 0.5738 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.3828, allocations: 335.5 kB / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3828, allocations: 0 / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3828, allocations: 1.25 kB / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3828, allocations: 0 / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001883/0.3847, allocations: 0.8502 MB / 0.575 GB, free: 40.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.3847, allocations: 12.83 kB / 0.575 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.3848, allocations: 32.25 kB / 0.575 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.3851, allocations: 261 kB / 0.5753 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3851, allocations: 27.66 kB / 0.5753 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.3852, allocations: 49.38 kB / 0.5753 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.3858, allocations: 453.2 kB / 0.5758 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3858, allocations: 192 / 0.5758 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.3858, allocations: 13.44 kB / 0.5758 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3859, allocations: 6.844 kB / 0.5758 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.3864, allocations: 378.1 kB / 0.5762 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.3887, allocations: 2.155 MB / 0.5783 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.3894, allocations: 475.5 kB / 0.5787 GB, free: 37.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.3898, allocations: 322.9 kB / 0.579 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.3899, allocations: 11.45 kB / 0.579 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.3899, allocations: 42.88 kB / 0.5791 GB, free: 37.77 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.383e-06/0.3899, allocations: 3.562 kB / 0.5791 GB, free: 37.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001188/0.3911, allocations: 0.7911 MB / 0.5798 GB, free: 37.4 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.3911, allocations: 60.88 kB / 0.5799 GB, free: 37.33 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.3912, allocations: 137.8 kB / 0.58 GB, free: 37.21 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.3912, allocations: 36.23 kB / 0.5801 GB, free: 37.17 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.3913, allocations: 122 kB / 0.5802 GB, free: 37.05 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-05/0.3914, allocations: 203.8 kB / 0.5804 GB, free: 36.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.3915, allocations: 114.9 kB / 0.5805 GB, free: 36.81 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.3916, allocations: 339.7 kB / 0.5808 GB, free: 36.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.3919, allocations: 280.4 kB / 0.5811 GB, free: 36.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.3924, allocations: 338.2 kB / 0.5814 GB, free: 36.19 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007819/0.3932, allocations: 0.6019 MB / 0.582 GB, free: 35.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3932, allocations: 3.984 kB / 0.582 GB, free: 35.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009802/0.3941, allocations: 0.7272 MB / 0.5827 GB, free: 35.57 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3942, allocations: 5.969 kB / 0.5827 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3942, allocations: 4.031 kB / 0.5827 GB, free: 35.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3942, allocations: 3.281 kB / 0.5827 GB, free: 35.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009884/0.3952, allocations: 257.6 kB / 0.583 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3952, allocations: 2.656 kB / 0.583 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.3956, allocations: 64.91 kB / 0.583 GB, free: 35.47 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.3956, allocations: 17.03 kB / 0.583 GB, free: 35.46 MB / 462.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 (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.3957, allocations: 163.7 kB / 0.5832 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.3958, allocations: 27.61 kB / 0.5832 GB, free: 35.3 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.396, allocations: 75.72 kB / 0.5833 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.396, allocations: 5.125 kB / 0.5833 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.396, allocations: 1.375 kB / 0.5833 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.396, allocations: 3.984 kB / 0.5833 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.3965, allocations: 473.6 kB / 0.5838 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3965, allocations: 1.062 kB / 0.5838 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.3977, allocations: 260.2 kB / 0.584 GB, free: 34.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3978, allocations: 2.062 kB / 0.584 GB, free: 34.81 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.3978, allocations: 30 kB / 0.584 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3978, allocations: 2.406 kB / 0.584 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3978, allocations: 3.984 kB / 0.5841 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.3991, allocations: 1.003 MB / 0.585 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.3991, allocations: 108.6 kB / 0.5851 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.3992, allocations: 17.11 kB / 0.5852 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.3995, allocations: 35.25 kB / 0.5852 GB, free: 34.1 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/0.3997, allocations: 26.09 kB / 0.5852 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.3997, allocations: 13.11 kB / 0.5852 GB, free: 34.09 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.476e-05/0.3997, allocations: 102.9 kB / 0.5853 GB, free: 34 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.3997, allocations: 0 / 0.5853 GB, free: 34 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003609/0.4001, allocations: 147.5 kB / 0.5855 GB, free: 33.89 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.922e-05/0.4002, allocations: 127.1 kB / 0.5856 GB, free: 33.75 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.4011, allocations: 0.8026 MB / 0.5864 GB, free: 32.95 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4011, allocations: 0 / 0.5864 GB, free: 32.95 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.4015, allocations: 314.3 kB / 0.5867 GB, free: 32.64 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4019, allocations: 67.94 kB / 0.5867 GB, free: 32.58 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.4042, allocations: 2.382 MB / 0.5891 GB, free: 30.17 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.4043, allocations: 0.7917 MB / 0.5898 GB, free: 29.35 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000389/0.4047, allocations: 182.8 kB / 0.59 GB, free: 29.17 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.4049, allocations: 31.44 kB / 0.59 GB, free: 29.14 MB / 462.3 MB Notification: Performance of SimCode: time 2.01e-07/0.4049, allocations: 0 / 0.59 GB, free: 29.14 MB / 462.3 MB Notification: Performance of Templates: time 0.006351/0.4113, allocations: 5.375 MB / 0.5953 GB, free: 23.85 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches