Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_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: 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_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001891, allocations: 180.8 kB / 16.39 MB, free: 5.766 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.395/1.395, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009911/0.000991, allocations: 101.5 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7807/0.7807, allocations: 120.5 MB / 463.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 8 kB / 0.5446 GB, free: 41.13 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1491, allocations: 82.86 MB / 0.6255 GB, free: 7.902 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7397/0.8889, allocations: 125.6 MB / 0.7482 GB, free: 8.609 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001385/0.8891, allocations: 45.92 kB / 0.7482 GB, free: 8.59 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03715/0.9262, allocations: 10.76 MB / 0.7587 GB, free: 14.64 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9263, allocations: 0 / 0.7587 GB, free: 14.64 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.578e-05/0.9263, allocations: 8 kB / 0.7587 GB, free: 14.64 MB / 0.5263 GB 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.004117/0.9304, allocations: 1.362 MB / 0.7601 GB, free: 13.26 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9305, allocations: 19.95 kB / 0.7601 GB, free: 13.24 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/0.9308, allocations: 63.39 kB / 0.7602 GB, free: 13.18 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.9323, allocations: 427.3 kB / 0.7606 GB, free: 12.72 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/0.9324, allocations: 51.75 kB / 0.7606 GB, free: 12.69 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.9327, allocations: 101.8 kB / 0.7607 GB, free: 12.62 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.9345, allocations: 0.8638 MB / 0.7616 GB, free: 11.96 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.9345, allocations: 0 / 0.7616 GB, free: 11.96 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.9346, allocations: 26.75 kB / 0.7616 GB, free: 11.95 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.9346, allocations: 15.95 kB / 0.7616 GB, free: 11.93 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.936, allocations: 0.7703 MB / 0.7623 GB, free: 11.36 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/0.9426, allocations: 4.355 MB / 0.7666 GB, free: 6.773 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.9441, allocations: 0.9673 MB / 0.7675 GB, free: 6.105 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.9442, allocations: 13 kB / 0.7676 GB, free: 6.094 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.9443, allocations: 46.75 kB / 0.7676 GB, free: 6.047 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=99): time 2.545e-06/0.9443, allocations: 0 / 0.7676 GB, free: 6.047 MB / 0.5263 GB Notification: Performance of matching and sorting (n=99): time 0.00278/0.9471, allocations: 1.644 MB / 0.7692 GB, free: 4.809 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.9471, allocations: 72.3 kB / 0.7693 GB, free: 4.73 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.9473, allocations: 132.6 kB / 0.7694 GB, free: 4.605 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.9473, allocations: 49.02 kB / 0.7695 GB, free: 4.57 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.9475, allocations: 157 kB / 0.7696 GB, free: 4.43 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.9478, allocations: 416 kB / 0.77 GB, free: 4.074 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.9478, allocations: 22.38 kB / 0.77 GB, free: 4.07 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.948, allocations: 369.9 kB / 0.7704 GB, free: 3.723 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009165/0.9489, allocations: 0.5592 MB / 0.7709 GB, free: 3.316 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009866/0.9499, allocations: 0.6681 MB / 0.7716 GB, free: 2.812 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009899/0.9509, allocations: 0.6541 MB / 0.7722 GB, free: 2.367 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.9509, allocations: 0 / 0.7722 GB, free: 2.367 MB / 0.5263 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002202/0.9531, allocations: 1.453 MB / 0.7736 GB, free: 1.297 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.9532, allocations: 10.75 kB / 0.7736 GB, free: 1.289 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.9532, allocations: 0 / 0.7736 GB, free: 1.289 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.9532, allocations: 8 kB / 0.7736 GB, free: 1.281 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/0.9555, allocations: 0.526 MB / 0.7742 GB, free: 0.7656 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/0.9556, allocations: 11.98 kB / 0.7742 GB, free: 0.7539 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/0.9565, allocations: 126.4 kB / 0.7743 GB, free: 0.6484 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.9566, allocations: 34.5 kB / 0.7743 GB, free: 0.625 MB / 0.5263 GB 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.000309/0.9569, allocations: 223.8 kB / 0.7745 GB, free: 440 kB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.957, allocations: 35.62 kB / 0.7746 GB, free: 404 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.9574, allocations: 155.7 kB / 0.7747 GB, free: 388 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.9574, allocations: 12 kB / 0.7747 GB, free: 376 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.9575, allocations: 0 / 0.7747 GB, free: 376 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.9575, allocations: 3.984 kB / 0.7747 GB, free: 372 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.9586, allocations: 0.7939 MB / 0.7755 GB, free: 15.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.9586, allocations: 0 / 0.7755 GB, free: 15.66 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/0.9616, allocations: 0.5304 MB / 0.776 GB, free: 15.14 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.9616, allocations: 8 kB / 0.776 GB, free: 15.13 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.9617, allocations: 43.41 kB / 0.7761 GB, free: 15.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.9617, allocations: 0 / 0.7761 GB, free: 15.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.9618, allocations: 9.312 kB / 0.7761 GB, free: 15.09 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.9646, allocations: 1.965 MB / 0.778 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.9647, allocations: 128.5 kB / 0.7781 GB, free: 13.49 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.9649, allocations: 35.66 kB / 0.7782 GB, free: 13.47 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008638/0.9657, allocations: 67.33 kB / 0.7782 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.9659, allocations: 64.59 kB / 0.7783 GB, free: 13.36 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/0.966, allocations: 23.8 kB / 0.7783 GB, free: 13.34 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.599e-05/0.9661, allocations: 100.4 kB / 0.7784 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9661, allocations: 4 kB / 0.7784 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0006842/0.9668, allocations: 314.7 kB / 0.7787 GB, free: 12.97 MB / 0.5419 GB 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.0002328/0.967, allocations: 153.3 kB / 0.7789 GB, free: 12.82 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.969, allocations: 1.325 MB / 0.7801 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.969, allocations: 0 / 0.7801 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008935/0.9699, allocations: 0.6432 MB / 0.7808 GB, free: 11.37 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.9705, allocations: 126.9 kB / 0.7809 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006911/0.9774, allocations: 5.597 MB / 0.7864 GB, free: 5.773 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.9779, allocations: 0.9271 MB / 0.7873 GB, free: 4.824 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.001157/0.979, allocations: 392.5 kB / 0.7876 GB, free: 4.438 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.9794, allocations: 55.44 kB / 0.7877 GB, free: 4.387 MB / 0.5419 GB Notification: Performance of SimCode: time 1.834e-06/0.9794, allocations: 0 / 0.7877 GB, free: 4.387 MB / 0.5419 GB Notification: Performance of Templates: time 0.01615/0.9956, allocations: 9.934 MB / 0.7974 GB, free: 10.59 MB / 0.5575 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches