Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 167.5 kB / 17.39 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007461/0.0007461, allocations: 94.72 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7292/0.7292, allocations: 120.4 MB / 440.6 MB, free: 4.094 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003832, allocations: 8 kB / 0.5201 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1095, allocations: 80.01 MB / 0.5983 GB, free: 7.773 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5376/0.6471, allocations: 124.6 MB / 0.72 GB, free: 19.3 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001395/0.6473, allocations: 51.38 kB / 0.72 GB, free: 19.29 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.02834/0.6757, allocations: 9.642 MB / 0.7294 GB, free: 10.53 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6757, allocations: 0 / 0.7294 GB, free: 10.53 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.6757, allocations: 8 kB / 0.7295 GB, free: 10.52 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002687/0.6784, allocations: 1.292 MB / 0.7307 GB, free: 9.203 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6785, allocations: 8.031 kB / 0.7307 GB, free: 9.195 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.6786, allocations: 48.56 kB / 0.7308 GB, free: 9.148 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/0.6794, allocations: 396.4 kB / 0.7311 GB, free: 8.727 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.6794, allocations: 44.25 kB / 0.7312 GB, free: 8.699 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.6796, allocations: 91.27 kB / 0.7313 GB, free: 8.637 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.6806, allocations: 0.7334 MB / 0.732 GB, free: 8.062 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.6806, allocations: 7.938 kB / 0.732 GB, free: 8.055 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.517e-05/0.6807, allocations: 19.5 kB / 0.732 GB, free: 8.051 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.6807, allocations: 11.98 kB / 0.732 GB, free: 8.039 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008897/0.6816, allocations: 0.675 MB / 0.7327 GB, free: 7.535 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.6828, allocations: 0.9985 MB / 0.7337 GB, free: 6.641 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.6843, allocations: 0.9781 MB / 0.7346 GB, free: 5.957 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/0.685, allocations: 0.6584 MB / 0.7353 GB, free: 5.52 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 7.572e-05/0.6851, allocations: 9 kB / 0.7353 GB, free: 5.508 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.6851, allocations: 43.31 kB / 0.7353 GB, free: 5.465 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=99): time 1.904e-06/0.6851, allocations: 3.938 kB / 0.7353 GB, free: 5.461 MB / 0.4953 GB Notification: Performance of matching and sorting (n=99): time 0.002343/0.6875, allocations: 1.654 MB / 0.7369 GB, free: 4.215 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.6875, allocations: 63.66 kB / 0.737 GB, free: 4.145 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.6876, allocations: 141 kB / 0.7371 GB, free: 4.012 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/0.6877, allocations: 54.27 kB / 0.7372 GB, free: 3.973 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.6877, allocations: 108 kB / 0.7373 GB, free: 3.875 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.6879, allocations: 413.8 kB / 0.7377 GB, free: 3.52 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.688, allocations: 25.81 kB / 0.7377 GB, free: 3.516 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.6881, allocations: 364.6 kB / 0.738 GB, free: 3.172 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007846/0.6889, allocations: 0.5661 MB / 0.7386 GB, free: 2.758 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.6897, allocations: 0.5829 MB / 0.7392 GB, free: 2.324 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.6913, allocations: 1.271 MB / 0.7404 GB, free: 1.461 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6913, allocations: 7.938 kB / 0.7404 GB, free: 1.453 MB / 0.4953 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001866/0.6932, allocations: 1.462 MB / 0.7418 GB, free: 380 kB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.6932, allocations: 4 kB / 0.7418 GB, free: 376 kB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.6932, allocations: 0 / 0.7418 GB, free: 376 kB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6932, allocations: 8 kB / 0.7419 GB, free: 368 kB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.6952, allocations: 0.5264 MB / 0.7424 GB, free: 15.84 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.6953, allocations: 8 kB / 0.7424 GB, free: 15.83 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.696, allocations: 114.4 kB / 0.7425 GB, free: 15.74 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.6961, allocations: 39.56 kB / 0.7425 GB, free: 15.71 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.000269/0.6963, allocations: 212 kB / 0.7427 GB, free: 15.52 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.6965, allocations: 35.62 kB / 0.7428 GB, free: 15.49 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.6967, allocations: 150.6 kB / 0.7429 GB, free: 15.48 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.6967, allocations: 15.97 kB / 0.7429 GB, free: 15.46 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.6967, allocations: 0 / 0.7429 GB, free: 15.46 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.6968, allocations: 7.984 kB / 0.7429 GB, free: 15.45 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009723/0.6977, allocations: 0.7538 MB / 0.7437 GB, free: 14.77 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6978, allocations: 0 / 0.7437 GB, free: 14.77 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/0.7004, allocations: 0.5303 MB / 0.7442 GB, free: 14.25 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.7004, allocations: 0.875 kB / 0.7442 GB, free: 14.25 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.7005, allocations: 43.64 kB / 0.7442 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.7005, allocations: 4 kB / 0.7442 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7005, allocations: 0 / 0.7442 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004394/0.7049, allocations: 1.979 MB / 0.7462 GB, free: 12.74 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.7051, allocations: 128.4 kB / 0.7463 GB, free: 12.6 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.7053, allocations: 35.66 kB / 0.7463 GB, free: 12.57 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009975/0.7063, allocations: 55.69 kB / 0.7464 GB, free: 12.54 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.7066, allocations: 56.86 kB / 0.7464 GB, free: 12.48 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.7067, allocations: 27.73 kB / 0.7464 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 7.468e-05/0.7068, allocations: 98.16 kB / 0.7465 GB, free: 12.38 MB / 0.5109 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7068, allocations: 0 / 0.7465 GB, free: 12.38 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008831/0.7077, allocations: 282.3 kB / 0.7468 GB, free: 12.13 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TB[1],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[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.0002856/0.708, allocations: 148 kB / 0.747 GB, free: 12 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.002742/0.7107, allocations: 1.327 MB / 0.7482 GB, free: 11 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7107, allocations: 0 / 0.7482 GB, free: 11 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.7119, allocations: 0.6547 MB / 0.7489 GB, free: 10.53 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.7128, allocations: 130.8 kB / 0.749 GB, free: 10.43 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.723, allocations: 5.724 MB / 0.7546 GB, free: 4.812 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.7237, allocations: 0.8737 MB / 0.7555 GB, free: 3.918 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.001983/0.7257, allocations: 388.5 kB / 0.7558 GB, free: 3.539 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.7261, allocations: 51.44 kB / 0.7559 GB, free: 3.488 MB / 0.5109 GB Notification: Performance of SimCode: time 6.81e-07/0.7261, allocations: 4 kB / 0.7559 GB, free: 3.484 MB / 0.5109 GB Notification: Performance of Templates: time 0.02066/0.7468, allocations: 9.868 MB / 0.7655 GB, free: 9.609 MB / 0.5265 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches