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.0009637/0.0009638, allocations: 179.3 kB / 13.63 MB, free: 1.684 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.16/1.16, allocations: 221.3 MB / 235.5 MB, free: 2.891 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.0008764/0.0008765, allocations: 95.97 kB / 286.5 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8133/0.8133, allocations: 120.5 MB / 457.9 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.519e-05, allocations: 4 kB / 0.5367 GB, free: 11.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4985, allocations: 82.83 MB / 0.6176 GB, free: 9.297 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.6292, allocations: 125.5 MB / 0.7402 GB, free: 11.64 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001344/0.6294, allocations: 50.61 kB / 0.7402 GB, free: 11.59 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03448/0.6638, allocations: 10.79 MB / 0.7507 GB, free: 0.7617 MB / 0.5419 GB Notification: Performance of FrontEnd: time 3.416e-06/0.6639, allocations: 0 / 0.7507 GB, free: 0.7617 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.6639, allocations: 15.94 kB / 0.7508 GB, free: 0.7461 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.5472/1.211, allocations: 1.347 MB / 0.7521 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.211, allocations: 9.469 kB / 0.7521 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/1.212, allocations: 64.08 kB / 0.7521 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/1.213, allocations: 418.8 kB / 0.7525 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/1.213, allocations: 54.56 kB / 0.7526 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/1.213, allocations: 100.2 kB / 0.7527 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/1.214, allocations: 0.864 MB / 0.7535 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.214, allocations: 0 / 0.7535 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/1.215, allocations: 21.94 kB / 0.7536 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/1.215, allocations: 13.97 kB / 0.7536 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/1.216, allocations: 0.7474 MB / 0.7543 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005653/1.221, allocations: 4.354 MB / 0.7585 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/1.223, allocations: 0.9508 MB / 0.7595 GB, free: 125 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/1.224, allocations: 0.6479 MB / 0.7601 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 9.47e-05/1.224, allocations: 13.31 kB / 0.7601 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/1.224, allocations: 47.56 kB / 0.7602 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=99): time 3.346e-06/1.224, allocations: 0 / 0.7602 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=99): time 0.002057/1.226, allocations: 1.147 MB / 0.7613 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/1.226, allocations: 65.92 kB / 0.7613 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/1.226, allocations: 131.6 kB / 0.7615 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/1.226, allocations: 50.8 kB / 0.7615 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/1.226, allocations: 153.8 kB / 0.7617 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/1.226, allocations: 418 kB / 0.7621 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/1.226, allocations: 29.41 kB / 0.7621 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/1.227, allocations: 370.3 kB / 0.7624 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007929/1.227, allocations: 0.5521 MB / 0.763 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/1.228, allocations: 0.6348 MB / 0.7636 GB, free: 123 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000829/1.229, allocations: 0.6402 MB / 0.7642 GB, free: 122.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.229, allocations: 3.906 kB / 0.7642 GB, free: 122.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002133/1.231, allocations: 1.43 MB / 0.7656 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.231, allocations: 7.531 kB / 0.7656 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.231, allocations: 4.094 kB / 0.7656 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.231, allocations: 3.344 kB / 0.7656 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/1.234, allocations: 0.5245 MB / 0.7662 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/1.234, allocations: 7.656 kB / 0.7662 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/1.234, allocations: 134.8 kB / 0.7663 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/1.235, allocations: 35.28 kB / 0.7663 GB, free: 122.3 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.0002013/1.235, allocations: 164.3 kB / 0.7665 GB, free: 122.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.235, allocations: 41.89 kB / 0.7665 GB, free: 122.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/1.235, allocations: 148 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.235, allocations: 10.56 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.236, allocations: 0 / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/1.236, allocations: 3.469 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/1.237, allocations: 0.7991 MB / 0.7675 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.237, allocations: 0 / 0.7675 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/1.239, allocations: 0.5301 MB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/1.239, allocations: 5.609 kB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.716e-05/1.239, allocations: 43.44 kB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.239, allocations: 9.953 kB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.239, allocations: 0 / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/1.241, allocations: 1.928 MB / 0.7699 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/1.242, allocations: 128.4 kB / 0.77 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/1.242, allocations: 34.98 kB / 0.7701 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/1.242, allocations: 68.11 kB / 0.7701 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/1.242, allocations: 59.27 kB / 0.7702 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/1.243, allocations: 27.84 kB / 0.7702 GB, free: 120 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.79e-05/1.243, allocations: 91.28 kB / 0.7703 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.3e-07/1.243, allocations: 4 kB / 0.7703 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004987/1.243, allocations: 315.7 kB / 0.7706 GB, free: 119.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.0001757/1.243, allocations: 153.9 kB / 0.7708 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.00155/1.245, allocations: 1.299 MB / 0.772 GB, free: 118.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.245, allocations: 0 / 0.772 GB, free: 118.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/1.246, allocations: 0.6378 MB / 0.7727 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/1.246, allocations: 122.1 kB / 0.7728 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/1.251, allocations: 4.986 MB / 0.7776 GB, free: 113.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.251, allocations: 0.9226 MB / 0.7785 GB, free: 112.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0009558/1.252, allocations: 389.1 kB / 0.7789 GB, free: 112.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/1.253, allocations: 55.38 kB / 0.779 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of SimCode: time 4.91e-07/1.253, allocations: 0 / 0.779 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of Templates: time 0.01207/1.265, allocations: 9.931 MB / 0.7887 GB, free: 103 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