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.001413/0.001412, allocations: 175.8 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 221.5 MB / 230.3 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009457/0.0009458, allocations: 97.83 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.387/1.387, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.895e-05, allocations: 7.938 kB / 0.5295 GB, free: 0.5391 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7783, allocations: 82.84 MB / 0.6104 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.9734, allocations: 124.8 MB / 0.7324 GB, free: 60 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.9737, allocations: 55.92 kB / 0.7324 GB, free: 4 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.03949/1.013, allocations: 10.74 MB / 0.7429 GB, free: 5.227 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.354e-06/1.013, allocations: 4 kB / 0.7429 GB, free: 5.223 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.896e-05/1.013, allocations: 12 kB / 0.7429 GB, free: 5.211 MB / 0.5419 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.004226/1.017, allocations: 1.346 MB / 0.7442 GB, free: 3.82 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/1.018, allocations: 12.03 kB / 0.7442 GB, free: 3.809 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/1.018, allocations: 63.39 kB / 0.7443 GB, free: 3.746 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/1.019, allocations: 419.5 kB / 0.7447 GB, free: 3.297 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/1.019, allocations: 20 kB / 0.7447 GB, free: 3.277 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/1.02, allocations: 71.81 kB / 0.7448 GB, free: 3.207 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001505/1.021, allocations: 0.7209 MB / 0.7455 GB, free: 2.484 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/1.023, allocations: 0.7845 MB / 0.7463 GB, free: 1.695 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.023, allocations: 0 / 0.7463 GB, free: 1.695 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/1.023, allocations: 0 / 0.7463 GB, free: 1.695 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/1.023, allocations: 19.95 kB / 0.7463 GB, free: 1.676 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8945/1.918, allocations: 4.228 MB / 0.7504 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/1.92, allocations: 0.9261 MB / 0.7513 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/1.921, allocations: 0.6156 MB / 0.7519 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/1.921, allocations: 11.22 kB / 0.7519 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/1.921, allocations: 40.2 kB / 0.752 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=99): time 5.451e-06/1.921, allocations: 7.578 kB / 0.752 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=99): time 0.002673/1.923, allocations: 1.109 MB / 0.753 GB, free: 130 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/1.924, allocations: 63.25 kB / 0.7531 GB, free: 130 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/1.924, allocations: 133.5 kB / 0.7532 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.999e-05/1.924, allocations: 25.7 kB / 0.7533 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/1.924, allocations: 151 kB / 0.7534 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/1.924, allocations: 397.2 kB / 0.7538 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/1.924, allocations: 0 / 0.7538 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.925, allocations: 368.3 kB / 0.7541 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/1.926, allocations: 0.5298 MB / 0.7546 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.927, allocations: 0.6086 MB / 0.7552 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/1.928, allocations: 0.6099 MB / 0.7558 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.928, allocations: 0.5 kB / 0.7558 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002828/1.931, allocations: 1.342 MB / 0.7571 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.931, allocations: 5.688 kB / 0.7572 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.931, allocations: 0 / 0.7572 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/1.931, allocations: 9.875 kB / 0.7572 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/1.933, allocations: 0.526 MB / 0.7577 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.933, allocations: 7.875 kB / 0.7577 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/1.934, allocations: 104.1 kB / 0.7578 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-05/1.934, allocations: 36.78 kB / 0.7578 GB, free: 128.1 MB / 0.5421 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 () * 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.0002533/1.935, allocations: 117.9 kB / 0.7579 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/1.935, allocations: 41.47 kB / 0.758 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/1.935, allocations: 132.1 kB / 0.7581 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.935, allocations: 15.78 kB / 0.7581 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/1.935, allocations: 7.844 kB / 0.7581 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/1.935, allocations: 3.938 kB / 0.7581 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009907/1.936, allocations: 0.7113 MB / 0.7588 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.936, allocations: 3.938 kB / 0.7588 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/1.939, allocations: 0.5238 MB / 0.7593 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/1.939, allocations: 7.406 kB / 0.7593 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.939, allocations: 30.86 kB / 0.7594 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/1.939, allocations: 3.875 kB / 0.7594 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.939, allocations: 0 / 0.7594 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/1.941, allocations: 1.879 MB / 0.7612 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.942, allocations: 123.8 kB / 0.7613 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.942, allocations: 26.48 kB / 0.7614 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/1.942, allocations: 48.8 kB / 0.7614 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/1.943, allocations: 58.34 kB / 0.7615 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/1.943, allocations: 20.5 kB / 0.7615 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 6.039e-05/1.943, allocations: 104.5 kB / 0.7616 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.2e-07/1.943, allocations: 3.969 kB / 0.7616 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006743/1.943, allocations: 277.4 kB / 0.7618 GB, free: 126.6 MB / 0.5421 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 () * 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.0002459/1.944, allocations: 140.9 kB / 0.762 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.945, allocations: 1.247 MB / 0.7632 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.945, allocations: 0 / 0.7632 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0007678/1.946, allocations: 0.6141 MB / 0.7638 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/1.947, allocations: 104.9 kB / 0.7639 GB, free: 125.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005811/1.953, allocations: 4.939 MB / 0.7687 GB, free: 121.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/1.953, allocations: 0.9233 MB / 0.7696 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001176/1.954, allocations: 400.4 kB / 0.77 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/1.955, allocations: 51.44 kB / 0.77 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of SimCode: time 1.383e-06/1.955, allocations: 0 / 0.77 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of Templates: time 0.015/1.97, allocations: 9.646 MB / 0.7795 GB, free: 112.1 MB / 0.5421 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