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.001859/0.001859, allocations: 176.1 kB / 8.348 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.318/1.318, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.0009848/0.0009852, allocations: 87.48 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.03/1.03, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.802e-05, allocations: 0 / 0.5295 GB, free: 0.5234 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.6262, allocations: 82.84 MB / 0.6104 GB, free: 13.02 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.7806, allocations: 124.8 MB / 0.7324 GB, free: 40 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001447/0.7808, allocations: 55.97 kB / 0.7324 GB, free: 15.98 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03543/0.8163, allocations: 10.75 MB / 0.7429 GB, free: 5.199 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8163, allocations: 0 / 0.7429 GB, free: 5.199 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.8163, allocations: 8 kB / 0.7429 GB, free: 5.191 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.003643/0.82, allocations: 1.35 MB / 0.7442 GB, free: 3.797 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.82, allocations: 8.031 kB / 0.7442 GB, free: 3.789 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.8203, allocations: 67.39 kB / 0.7443 GB, free: 3.723 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.8215, allocations: 415.5 kB / 0.7447 GB, free: 3.277 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.8215, allocations: 24 kB / 0.7447 GB, free: 3.254 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.8218, allocations: 71.73 kB / 0.7448 GB, free: 3.184 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001251/0.8231, allocations: 0.7171 MB / 0.7455 GB, free: 2.465 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.8245, allocations: 0.7845 MB / 0.7463 GB, free: 1.676 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.8245, allocations: 0 / 0.7463 GB, free: 1.676 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/0.8246, allocations: 0 / 0.7463 GB, free: 1.676 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.8246, allocations: 15.95 kB / 0.7463 GB, free: 1.66 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6331/1.458, allocations: 4.23 MB / 0.7504 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/1.459, allocations: 0.926 MB / 0.7513 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008439/1.46, allocations: 0.6155 MB / 0.7519 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.46, allocations: 10.38 kB / 0.7519 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/1.46, allocations: 53.34 kB / 0.752 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=99): time 2.645e-06/1.46, allocations: 1 kB / 0.752 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=99): time 0.001906/1.462, allocations: 1.103 MB / 0.7531 GB, free: 130 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/1.462, allocations: 65.42 kB / 0.7531 GB, free: 130 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.462, allocations: 131.3 kB / 0.7532 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/1.462, allocations: 26.61 kB / 0.7533 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/1.462, allocations: 147 kB / 0.7534 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.463, allocations: 406.1 kB / 0.7538 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/1.463, allocations: 0 / 0.7538 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/1.463, allocations: 363.4 kB / 0.7541 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008381/1.464, allocations: 0.5262 MB / 0.7547 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/1.465, allocations: 0.6086 MB / 0.7552 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.466, allocations: 0.6095 MB / 0.7558 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.466, allocations: 1.188 kB / 0.7558 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002184/1.468, allocations: 1.346 MB / 0.7572 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.468, allocations: 4.531 kB / 0.7572 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.468, allocations: 1.031 kB / 0.7572 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/1.468, allocations: 6.094 kB / 0.7572 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/1.47, allocations: 0.5334 MB / 0.7577 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.47, allocations: 7.875 kB / 0.7577 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/1.471, allocations: 100.7 kB / 0.7578 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/1.471, allocations: 37.34 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.0001918/1.471, allocations: 117.4 kB / 0.7579 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/1.471, allocations: 39.78 kB / 0.758 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/1.472, allocations: 136.1 kB / 0.7581 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.472, allocations: 10.34 kB / 0.7581 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/1.472, allocations: 5.734 kB / 0.7581 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.472, allocations: 10.73 kB / 0.7581 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008289/1.472, allocations: 0.7073 MB / 0.7588 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.472, allocations: 0 / 0.7588 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/1.475, allocations: 0.5307 MB / 0.7593 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/1.475, allocations: 3.875 kB / 0.7593 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/1.475, allocations: 30.53 kB / 0.7594 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.475, allocations: 4.75 kB / 0.7594 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.475, allocations: 0 / 0.7594 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/1.477, allocations: 1.876 MB / 0.7612 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/1.477, allocations: 124.1 kB / 0.7613 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.477, allocations: 25.67 kB / 0.7614 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/1.478, allocations: 53.59 kB / 0.7614 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.478, allocations: 54.14 kB / 0.7615 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/1.478, allocations: 32.3 kB / 0.7615 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.595e-05/1.478, allocations: 93.02 kB / 0.7616 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.3e-07/1.478, allocations: 0 / 0.7616 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000541/1.479, allocations: 277.8 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.0002009/1.479, allocations: 142.2 kB / 0.762 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001368/1.48, allocations: 1.252 MB / 0.7632 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.48, allocations: 0 / 0.7632 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0006191/1.481, allocations: 0.6164 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.0004934/1.481, allocations: 109.8 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.004832/1.486, allocations: 4.937 MB / 0.7687 GB, free: 121.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/1.486, allocations: 0.9246 MB / 0.7696 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.000962/1.487, allocations: 399.5 kB / 0.77 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/1.488, allocations: 55.44 kB / 0.7701 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of SimCode: time 6.21e-07/1.488, allocations: 0 / 0.7701 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of Templates: time 0.01159/1.499, allocations: 9.634 MB / 0.7795 GB, free: 112.2 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/jenkins/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