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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001034, allocations: 179.9 kB / 16.38 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.368/1.368, allocations: 223.2 MB / 240.3 MB, free: 10.18 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.001227/0.001226, allocations: 98.41 kB / 291.5 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8906/0.8906, allocations: 120.5 MB / 463 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 8 kB / 0.5446 GB, free: 41.17 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 82.85 MB / 0.6255 GB, free: 7.93 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6889/0.8667, allocations: 125.6 MB / 0.7482 GB, free: 8.684 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001486/0.8669, allocations: 50.61 kB / 0.7482 GB, free: 8.66 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03832/0.9053, allocations: 10.76 MB / 0.7587 GB, free: 14.71 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9053, allocations: 0 / 0.7587 GB, free: 14.71 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.9053, allocations: 8 kB / 0.7587 GB, free: 14.7 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.003627/0.909, allocations: 1.368 MB / 0.7601 GB, free: 13.32 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.909, allocations: 8.031 kB / 0.7601 GB, free: 13.31 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.9092, allocations: 67.33 kB / 0.7601 GB, free: 13.25 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.9105, allocations: 430.1 kB / 0.7606 GB, free: 12.79 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.9106, allocations: 53.5 kB / 0.7606 GB, free: 12.76 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.9108, allocations: 98.38 kB / 0.7607 GB, free: 12.69 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.9123, allocations: 0.8706 MB / 0.7616 GB, free: 12.02 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.9123, allocations: 0 / 0.7616 GB, free: 12.02 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.9125, allocations: 24.92 kB / 0.7616 GB, free: 12.01 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.9125, allocations: 15.95 kB / 0.7616 GB, free: 12 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.9138, allocations: 0.7639 MB / 0.7623 GB, free: 11.43 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006897/0.9207, allocations: 4.357 MB / 0.7666 GB, free: 6.844 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.9224, allocations: 0.9681 MB / 0.7675 GB, free: 6.176 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.008e-05/0.9225, allocations: 17 kB / 0.7676 GB, free: 6.16 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.9226, allocations: 47.25 kB / 0.7676 GB, free: 6.113 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=99): time 3.166e-06/0.9226, allocations: 0 / 0.7676 GB, free: 6.113 MB / 0.5263 GB Notification: Performance of matching and sorting (n=99): time 0.002877/0.9255, allocations: 1.644 MB / 0.7692 GB, free: 4.875 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.9256, allocations: 68.36 kB / 0.7693 GB, free: 4.797 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.9258, allocations: 129.3 kB / 0.7694 GB, free: 4.676 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.9259, allocations: 48.83 kB / 0.7694 GB, free: 4.641 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.926, allocations: 161.3 kB / 0.7696 GB, free: 4.496 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.9264, allocations: 419.7 kB / 0.77 GB, free: 4.137 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.9265, allocations: 23.44 kB / 0.77 GB, free: 4.133 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.9267, allocations: 366 kB / 0.7704 GB, free: 3.789 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/0.9276, allocations: 0.5572 MB / 0.7709 GB, free: 3.383 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.9286, allocations: 0.6641 MB / 0.7716 GB, free: 2.883 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.9296, allocations: 0.6538 MB / 0.7722 GB, free: 2.438 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9297, allocations: 0 / 0.7722 GB, free: 2.438 MB / 0.5263 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002366/0.932, allocations: 1.453 MB / 0.7736 GB, free: 1.367 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.9321, allocations: 7.125 kB / 0.7736 GB, free: 1.363 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.9321, allocations: 3.938 kB / 0.7736 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.9321, allocations: 8 kB / 0.7736 GB, free: 1.352 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.9346, allocations: 0.5343 MB / 0.7742 GB, free: 0.8281 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.9346, allocations: 4 kB / 0.7742 GB, free: 0.8242 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/0.9355, allocations: 126.3 kB / 0.7743 GB, free: 0.7188 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.9356, allocations: 35.5 kB / 0.7743 GB, free: 0.6953 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.0004296/0.9361, allocations: 219.5 kB / 0.7745 GB, free: 0.5 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.9362, allocations: 35.62 kB / 0.7746 GB, free: 476 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.9367, allocations: 158.6 kB / 0.7747 GB, free: 456 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.9367, allocations: 8 kB / 0.7747 GB, free: 448 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.9367, allocations: 0 / 0.7747 GB, free: 448 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.9367, allocations: 3.984 kB / 0.7747 GB, free: 444 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.9379, allocations: 0.8045 MB / 0.7755 GB, free: 15.72 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.9379, allocations: 1.938 kB / 0.7755 GB, free: 15.72 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/0.9409, allocations: 0.5265 MB / 0.776 GB, free: 15.21 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.941, allocations: 7.938 kB / 0.776 GB, free: 15.2 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.9411, allocations: 43.64 kB / 0.7761 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.9411, allocations: 4 kB / 0.7761 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9411, allocations: 4 kB / 0.7761 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.9441, allocations: 1.97 MB / 0.778 GB, free: 13.7 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.9443, allocations: 120.5 kB / 0.7781 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.9444, allocations: 39.59 kB / 0.7782 GB, free: 13.54 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008691/0.9453, allocations: 70.62 kB / 0.7782 GB, free: 13.48 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.9455, allocations: 56.73 kB / 0.7783 GB, free: 13.43 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.9456, allocations: 31.8 kB / 0.7783 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 7.258e-05/0.9457, allocations: 93.94 kB / 0.7784 GB, free: 13.32 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9457, allocations: 0 / 0.7784 GB, free: 13.32 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007465/0.9464, allocations: 318.1 kB / 0.7787 GB, free: 13.04 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.0002597/0.9467, allocations: 161.2 kB / 0.7789 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.002013/0.9487, allocations: 1.324 MB / 0.7801 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9487, allocations: 0 / 0.7801 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.000909/0.9496, allocations: 0.6466 MB / 0.7808 GB, free: 11.43 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.9502, allocations: 120 kB / 0.7809 GB, free: 11.34 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007879/0.9581, allocations: 5.604 MB / 0.7864 GB, free: 5.836 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.9587, allocations: 0.9196 MB / 0.7873 GB, free: 4.895 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.001305/0.96, allocations: 388.5 kB / 0.7876 GB, free: 4.512 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.9604, allocations: 51.44 kB / 0.7877 GB, free: 4.465 MB / 0.5419 GB Notification: Performance of SimCode: time 1.102e-06/0.9604, allocations: 0 / 0.7877 GB, free: 4.465 MB / 0.5419 GB Notification: Performance of Templates: time 0.01693/0.9773, allocations: 9.929 MB / 0.7974 GB, free: 10.66 MB / 0.5575 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (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) 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