Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001369/0.001369, allocations: 107.8 kB / 16.51 MB, free: 6.707 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.001314/0.001314, allocations: 192.1 kB / 17.43 MB, free: 6.066 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.274/1.274, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8797/0.8797, allocations: 119.3 MB / 410.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 0.4916 GB, free: 12.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4394, allocations: 80.68 MB / 0.5704 GB, free: 43.86 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002034/0.4415, allocations: 1.513 MB / 0.5719 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002481/0.4418, allocations: 98.72 kB / 0.5719 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.4418, allocations: 3.938 kB / 0.5719 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.958e-05/0.4419, allocations: 13.45 kB / 0.572 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.442, allocations: 58.77 kB / 0.572 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.4422, allocations: 30.3 kB / 0.572 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004851/0.4427, allocations: 0.7644 MB / 0.5728 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.4428, allocations: 9.469 kB / 0.5728 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.443, allocations: 240.7 kB / 0.573 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.4434, allocations: 321.6 kB / 0.5733 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.4435, allocations: 29.38 kB / 0.5734 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.4436, allocations: 28.91 kB / 0.5734 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.4437, allocations: 182.8 kB / 0.5736 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.4439, allocations: 197.9 kB / 0.5738 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.4442, allocations: 332.7 kB / 0.5741 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4442, allocations: 4 kB / 0.5741 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.81e-07/0.4442, allocations: 1.438 kB / 0.5741 GB, free: 41.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.4442, allocations: 4 kB / 0.5741 GB, free: 41.37 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.00221/0.4464, allocations: 0.8477 MB / 0.5749 GB, free: 40.76 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4465, allocations: 13.28 kB / 0.5749 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.526e-05/0.4466, allocations: 34.75 kB / 0.575 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.4469, allocations: 257.9 kB / 0.5752 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.4469, allocations: 27.47 kB / 0.5752 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.447, allocations: 49.47 kB / 0.5753 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.4477, allocations: 449.8 kB / 0.5757 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4477, allocations: 1.469 kB / 0.5757 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.4477, allocations: 17.41 kB / 0.5757 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.4478, allocations: 7.531 kB / 0.5757 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.4483, allocations: 378.2 kB / 0.5761 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.451, allocations: 2.154 MB / 0.5782 GB, free: 38.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.4518, allocations: 479.8 kB / 0.5787 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/0.4523, allocations: 320.9 kB / 0.579 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-05/0.4524, allocations: 10.41 kB / 0.579 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.4524, allocations: 42.92 kB / 0.579 GB, free: 37.7 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.254e-06/0.4524, allocations: 0 / 0.579 GB, free: 37.7 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001402/0.4538, allocations: 0.7982 MB / 0.5798 GB, free: 37.33 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.4538, allocations: 56.88 kB / 0.5798 GB, free: 37.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.4539, allocations: 137.2 kB / 0.58 GB, free: 37.14 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.454, allocations: 41.42 kB / 0.58 GB, free: 37.1 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.454, allocations: 120.8 kB / 0.5801 GB, free: 36.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4541, allocations: 205.1 kB / 0.5803 GB, free: 36.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.4543, allocations: 118.1 kB / 0.5804 GB, free: 36.73 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.4544, allocations: 339.7 kB / 0.5808 GB, free: 36.4 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.4548, allocations: 280.3 kB / 0.581 GB, free: 36.28 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.4553, allocations: 326.2 kB / 0.5813 GB, free: 36.12 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008758/0.4562, allocations: 0.6088 MB / 0.5819 GB, free: 35.84 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4562, allocations: 1.125 kB / 0.5819 GB, free: 35.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001118/0.4573, allocations: 0.7318 MB / 0.5826 GB, free: 35.5 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4573, allocations: 6.781 kB / 0.5827 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4573, allocations: 1.062 kB / 0.5827 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4574, allocations: 3.281 kB / 0.5827 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.4584, allocations: 257.9 kB / 0.5829 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4585, allocations: 6.438 kB / 0.5829 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.4589, allocations: 56.53 kB / 0.583 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.459, allocations: 25.27 kB / 0.583 GB, free: 35.39 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.0001702/0.4592, allocations: 164.1 kB / 0.5831 GB, free: 35.25 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.4592, allocations: 23.12 kB / 0.5832 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.4594, allocations: 76.52 kB / 0.5832 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4594, allocations: 8.406 kB / 0.5832 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.4594, allocations: 1.062 kB / 0.5832 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4594, allocations: 0 / 0.5832 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.46, allocations: 482.3 kB / 0.5837 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.46, allocations: 0 / 0.5837 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.4613, allocations: 260.8 kB / 0.584 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.4614, allocations: 2.781 kB / 0.584 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.4614, allocations: 25.28 kB / 0.584 GB, free: 34.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4614, allocations: 1.969 kB / 0.584 GB, free: 34.72 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4614, allocations: 0 / 0.584 GB, free: 34.72 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.4629, allocations: 1.008 MB / 0.585 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.463, allocations: 112.5 kB / 0.5851 GB, free: 34.06 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.4631, allocations: 17.36 kB / 0.5851 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.4635, allocations: 30.72 kB / 0.5851 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.4636, allocations: 22.09 kB / 0.5851 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.4637, allocations: 21.48 kB / 0.5852 GB, free: 34.01 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.4637, allocations: 98.8 kB / 0.5853 GB, free: 33.93 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4637, allocations: 0 / 0.5853 GB, free: 33.93 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004129/0.4642, allocations: 147.3 kB / 0.5854 GB, free: 33.79 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 0.0001175/0.4643, allocations: 123.1 kB / 0.5855 GB, free: 33.65 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008629/0.4651, allocations: 0.6425 MB / 0.5861 GB, free: 33.01 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4652, allocations: 0 / 0.5861 GB, free: 33.01 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.4656, allocations: 318.3 kB / 0.5864 GB, free: 32.7 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.466, allocations: 71.89 kB / 0.5865 GB, free: 32.63 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.4686, allocations: 2.376 MB / 0.5888 GB, free: 30.23 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.4687, allocations: 0.8036 MB / 0.5896 GB, free: 29.39 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004752/0.4692, allocations: 178.8 kB / 0.5898 GB, free: 29.22 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.4694, allocations: 27.44 kB / 0.5898 GB, free: 29.19 MB / 462.3 MB Notification: Performance of SimCode: time 6.11e-07/0.4694, allocations: 0 / 0.5898 GB, free: 29.19 MB / 462.3 MB Notification: Performance of Templates: time 0.007097/0.4765, allocations: 5.185 MB / 0.5949 GB, free: 24.08 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches