Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 177.1 kB / 8.35 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.586/1.586, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.001019/0.001019, allocations: 88.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.377/1.377, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.374e-05, allocations: 4 kB / 0.5295 GB, free: 0.5117 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8381, allocations: 82.83 MB / 0.6104 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/1.072, allocations: 124.8 MB / 0.7323 GB, free: 84 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/1.072, allocations: 55.92 kB / 0.7324 GB, free: 28 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.01921/1.091, allocations: 5.645 MB / 0.7379 GB, free: 10.36 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.154e-06/1.092, allocations: 0 / 0.7379 GB, free: 10.36 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.351e-05/1.092, allocations: 8 kB / 0.7379 GB, free: 10.35 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001731/1.093, allocations: 0.7601 MB / 0.7386 GB, free: 9.539 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/1.093, allocations: 8.031 kB / 0.7387 GB, free: 9.531 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/1.094, allocations: 35.67 kB / 0.7387 GB, free: 9.496 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/1.094, allocations: 303.1 kB / 0.739 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/1.094, allocations: 8 kB / 0.739 GB, free: 9.148 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/1.094, allocations: 35.89 kB / 0.739 GB, free: 9.113 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006481/1.095, allocations: 352.9 kB / 0.7394 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/1.096, allocations: 391.5 kB / 0.7397 GB, free: 8.383 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/1.096, allocations: 0 / 0.7397 GB, free: 8.383 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/1.096, allocations: 0 / 0.7397 GB, free: 8.383 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/1.096, allocations: 11.95 kB / 0.7397 GB, free: 8.371 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/1.099, allocations: 2.104 MB / 0.7418 GB, free: 6.004 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/1.1, allocations: 455.1 kB / 0.7422 GB, free: 5.551 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/1.1, allocations: 298.1 kB / 0.7425 GB, free: 5.258 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/1.1, allocations: 4.438 kB / 0.7425 GB, free: 5.254 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.1, allocations: 35 kB / 0.7426 GB, free: 5.211 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 2.234e-06/1.101, allocations: 4 kB / 0.7426 GB, free: 5.207 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.00102/1.102, allocations: 0.5364 MB / 0.7431 GB, free: 4.664 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.102, allocations: 55.84 kB / 0.7431 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/1.102, allocations: 118.9 kB / 0.7432 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/1.102, allocations: 29.7 kB / 0.7433 GB, free: 4.441 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/1.102, allocations: 129 kB / 0.7434 GB, free: 4.312 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.102, allocations: 193.1 kB / 0.7436 GB, free: 4.121 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/1.102, allocations: 0 / 0.7436 GB, free: 4.121 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.102, allocations: 338.8 kB / 0.7439 GB, free: 3.781 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/1.103, allocations: 261.4 kB / 0.7442 GB, free: 3.523 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/1.103, allocations: 300.5 kB / 0.7444 GB, free: 3.227 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/1.103, allocations: 308.4 kB / 0.7447 GB, free: 2.926 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.104, allocations: 0 / 0.7447 GB, free: 2.926 MB / 0.5419 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009967/1.105, allocations: 0.6522 MB / 0.7454 GB, free: 2.266 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.105, allocations: 4 kB / 0.7454 GB, free: 2.262 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.105, allocations: 0 / 0.7454 GB, free: 2.262 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.105, allocations: 4 kB / 0.7454 GB, free: 2.258 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.106, allocations: 259.7 kB / 0.7456 GB, free: 2.004 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.106, allocations: 3.953 kB / 0.7456 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/1.106, allocations: 55.44 kB / 0.7457 GB, free: 1.945 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/1.106, allocations: 23.94 kB / 0.7457 GB, free: 1.922 MB / 0.5419 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 (77): * Single equations (assignments): 77 * 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.0001531/1.106, allocations: 112.9 kB / 0.7458 GB, free: 1.805 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/1.106, allocations: 19.81 kB / 0.7458 GB, free: 1.785 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/1.107, allocations: 70.17 kB / 0.7459 GB, free: 1.719 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/1.107, allocations: 4 kB / 0.7459 GB, free: 1.715 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.107, allocations: 4 kB / 0.7459 GB, free: 1.711 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.107, allocations: 7.953 kB / 0.7459 GB, free: 1.703 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/1.107, allocations: 414 kB / 0.7463 GB, free: 1.262 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.107, allocations: 4 kB / 0.7463 GB, free: 1.258 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.108, allocations: 255.7 kB / 0.7466 GB, free: 1.008 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/1.108, allocations: 7.984 kB / 0.7466 GB, free: 1 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/1.109, allocations: 11.98 kB / 0.7466 GB, free: 0.9883 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.109, allocations: 4 kB / 0.7466 GB, free: 0.9844 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.109, allocations: 3.984 kB / 0.7466 GB, free: 0.9805 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/1.11, allocations: 0.9554 MB / 0.7475 GB, free: 4 kB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.9694/2.079, allocations: 98.42 kB / 0.7476 GB, free: 135 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/2.08, allocations: 11.56 kB / 0.7476 GB, free: 135 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/2.08, allocations: 21.81 kB / 0.7476 GB, free: 135 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/2.08, allocations: 28.2 kB / 0.7477 GB, free: 135 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/2.08, allocations: 13.39 kB / 0.7477 GB, free: 135 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 9.408e-05/2.08, allocations: 94.75 kB / 0.7478 GB, free: 134.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.1e-07/2.08, allocations: 0.8438 kB / 0.7478 GB, free: 134.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006719/2.081, allocations: 132.4 kB / 0.7479 GB, free: 134.9 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.000237/2.081, allocations: 127.1 kB / 0.748 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001507/2.083, allocations: 0.5876 MB / 0.7486 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.083, allocations: 3.719 kB / 0.7486 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005958/2.084, allocations: 301.8 kB / 0.7489 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/2.084, allocations: 53.56 kB / 0.7489 GB, free: 134.8 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/2.088, allocations: 2.349 MB / 0.7512 GB, free: 133.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/2.088, allocations: 0.8049 MB / 0.752 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007239/2.089, allocations: 181.4 kB / 0.7522 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/2.089, allocations: 35.03 kB / 0.7522 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of SimCode: time 2.014e-06/2.089, allocations: 0 / 0.7522 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of Templates: time 0.01214/2.101, allocations: 4.783 MB / 0.7569 GB, free: 132.5 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches