Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 181.3 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.265/1.265, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008731/0.000873, allocations: 100.2 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7389/0.7389, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8 kB / 0.5446 GB, free: 41.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 82.85 MB / 0.6255 GB, free: 7.891 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.623/0.7611, allocations: 125.6 MB / 0.7482 GB, free: 8.59 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001297/0.7613, allocations: 53.16 kB / 0.7482 GB, free: 8.562 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03524/0.7966, allocations: 10.3 MB / 0.7583 GB, free: 15.05 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7966, allocations: 0 / 0.7583 GB, free: 15.05 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.7966, allocations: 12 kB / 0.7583 GB, free: 15.04 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.003784/0.8004, allocations: 1.365 MB / 0.7596 GB, free: 13.66 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.8005, allocations: 12.03 kB / 0.7596 GB, free: 13.65 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.8008, allocations: 67.33 kB / 0.7597 GB, free: 13.58 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.802, allocations: 419.4 kB / 0.7601 GB, free: 13.13 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.8021, allocations: 55.88 kB / 0.7602 GB, free: 13.1 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/0.8024, allocations: 98.67 kB / 0.7602 GB, free: 13.04 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.8043, allocations: 0.8734 MB / 0.7611 GB, free: 12.36 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.8043, allocations: 0 / 0.7611 GB, free: 12.36 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.8044, allocations: 24 kB / 0.7611 GB, free: 12.36 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.8044, allocations: 19.95 kB / 0.7611 GB, free: 12.34 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.8058, allocations: 0.7709 MB / 0.7619 GB, free: 11.76 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006634/0.8125, allocations: 4.348 MB / 0.7661 GB, free: 7.18 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.8139, allocations: 0.9809 MB / 0.7671 GB, free: 6.508 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.045e-05/0.814, allocations: 13 kB / 0.7671 GB, free: 6.496 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.8141, allocations: 47.23 kB / 0.7672 GB, free: 6.449 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=99): time 4.619e-06/0.8141, allocations: 4 kB / 0.7672 GB, free: 6.445 MB / 0.5263 GB Notification: Performance of matching and sorting (n=99): time 0.002732/0.8168, allocations: 1.67 MB / 0.7688 GB, free: 5.195 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.8169, allocations: 68.36 kB / 0.7689 GB, free: 5.117 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.817, allocations: 129.4 kB / 0.769 GB, free: 4.996 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.8171, allocations: 52.64 kB / 0.769 GB, free: 4.961 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.8172, allocations: 153.3 kB / 0.7692 GB, free: 4.82 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.8176, allocations: 416.1 kB / 0.7696 GB, free: 4.465 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.8176, allocations: 22.5 kB / 0.7696 GB, free: 4.461 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8178, allocations: 369.8 kB / 0.7699 GB, free: 4.113 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008907/0.8187, allocations: 0.5711 MB / 0.7705 GB, free: 3.699 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/0.8196, allocations: 0.6524 MB / 0.7711 GB, free: 3.211 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.8205, allocations: 0.6542 MB / 0.7718 GB, free: 2.77 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8206, allocations: 0 / 0.7718 GB, free: 2.77 MB / 0.5263 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002121/0.8227, allocations: 1.464 MB / 0.7732 GB, free: 1.691 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.8227, allocations: 15.14 kB / 0.7732 GB, free: 1.68 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8227, allocations: 3.938 kB / 0.7732 GB, free: 1.676 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.8227, allocations: 8.875 kB / 0.7732 GB, free: 1.668 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.825, allocations: 0.5225 MB / 0.7737 GB, free: 1.156 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.8251, allocations: 8 kB / 0.7738 GB, free: 1.148 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.826, allocations: 125.4 kB / 0.7739 GB, free: 1.043 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/0.8261, allocations: 39.62 kB / 0.7739 GB, free: 1.016 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.000311/0.8264, allocations: 224 kB / 0.7741 GB, free: 0.8164 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.8265, allocations: 35.62 kB / 0.7742 GB, free: 0.7812 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.8269, allocations: 150.5 kB / 0.7743 GB, free: 0.7695 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8269, allocations: 8 kB / 0.7743 GB, free: 0.7617 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.8269, allocations: 0.875 kB / 0.7743 GB, free: 0.7617 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.827, allocations: 11.95 kB / 0.7743 GB, free: 0.75 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.828, allocations: 0.7926 MB / 0.7751 GB, free: 48 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.828, allocations: 0 / 0.7751 GB, free: 48 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003021/0.8311, allocations: 0.5305 MB / 0.7756 GB, free: 15.53 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.8311, allocations: 7.938 kB / 0.7756 GB, free: 15.52 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.8312, allocations: 39.53 kB / 0.7757 GB, free: 15.49 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.8312, allocations: 4 kB / 0.7757 GB, free: 15.49 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.8312, allocations: 3.984 kB / 0.7757 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/0.8342, allocations: 1.982 MB / 0.7776 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.8344, allocations: 124.5 kB / 0.7777 GB, free: 13.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.8345, allocations: 39.59 kB / 0.7778 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008508/0.8354, allocations: 62.64 kB / 0.7778 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.8356, allocations: 60.72 kB / 0.7779 GB, free: 13.75 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.8356, allocations: 31.8 kB / 0.7779 GB, free: 13.72 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 6.442e-05/0.8357, allocations: 94.38 kB / 0.778 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8357, allocations: 0 / 0.778 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007498/0.8365, allocations: 314.8 kB / 0.7783 GB, free: 13.36 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.000257/0.8367, allocations: 161.2 kB / 0.7785 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.8387, allocations: 1.33 MB / 0.7798 GB, free: 12.22 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8387, allocations: 4.062 kB / 0.7798 GB, free: 12.21 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008771/0.8396, allocations: 0.6584 MB / 0.7804 GB, free: 11.74 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.8401, allocations: 122.8 kB / 0.7805 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/0.8465, allocations: 5.552 MB / 0.7859 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.8469, allocations: 0.9274 MB / 0.7868 GB, free: 5.238 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.001327/0.8483, allocations: 384.6 kB / 0.7872 GB, free: 4.859 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.8488, allocations: 51.44 kB / 0.7873 GB, free: 4.812 MB / 0.5419 GB Notification: Performance of SimCode: time 8.12e-07/0.8488, allocations: 0 / 0.7873 GB, free: 4.812 MB / 0.5419 GB Notification: Performance of Templates: time 0.02032/0.8691, allocations: 9.931 MB / 0.797 GB, free: 11.01 MB / 0.5575 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches