Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009485/0.0009484, allocations: 179.5 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.215/1.215, allocations: 221.3 MB / 235.5 MB, free: 2.93 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.0008477/0.0008478, allocations: 99.84 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8816/0.8816, allocations: 120.5 MB / 457.8 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.62e-05, allocations: 4 kB / 0.5367 GB, free: 11.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5423, allocations: 82.82 MB / 0.6176 GB, free: 9.277 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.6925, allocations: 125.5 MB / 0.7401 GB, free: 11.63 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.6928, allocations: 47.98 kB / 0.7402 GB, free: 11.58 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.7106, allocations: 5.672 MB / 0.7457 GB, free: 5.883 MB / 0.5419 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7107, allocations: 3.938 kB / 0.7457 GB, free: 5.879 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.7107, allocations: 4 kB / 0.7457 GB, free: 5.875 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.001494/0.7122, allocations: 0.764 MB / 0.7465 GB, free: 5.062 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7122, allocations: 8.031 kB / 0.7465 GB, free: 5.055 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.7123, allocations: 35.67 kB / 0.7465 GB, free: 5.02 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.7129, allocations: 299.1 kB / 0.7468 GB, free: 4.684 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.7129, allocations: 24.56 kB / 0.7468 GB, free: 4.66 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.713, allocations: 47.91 kB / 0.7469 GB, free: 4.613 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.7137, allocations: 432.6 kB / 0.7473 GB, free: 4.188 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.7137, allocations: 0 / 0.7473 GB, free: 4.188 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.7138, allocations: 12 kB / 0.7473 GB, free: 4.176 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.7138, allocations: 4 kB / 0.7473 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.7143, allocations: 370 kB / 0.7477 GB, free: 3.812 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.7172, allocations: 2.171 MB / 0.7498 GB, free: 1.363 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.718, allocations: 472.8 kB / 0.7502 GB, free: 0.8945 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.7184, allocations: 314.1 kB / 0.7505 GB, free: 0.5859 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.7185, allocations: 4.438 kB / 0.7505 GB, free: 0.582 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.7185, allocations: 38.95 kB / 0.7506 GB, free: 0.5352 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 1.452e-06/0.7185, allocations: 0 / 0.7506 GB, free: 0.5352 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.5412/1.26, allocations: 0.5556 MB / 0.7511 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.26, allocations: 60.59 kB / 0.7512 GB, free: 131.8 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/1.26, allocations: 125.7 kB / 0.7513 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/1.26, allocations: 38.45 kB / 0.7513 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/1.26, allocations: 120 kB / 0.7514 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/1.26, allocations: 203.5 kB / 0.7516 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/1.26, allocations: 12.5 kB / 0.7516 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/1.261, allocations: 340.5 kB / 0.752 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/1.261, allocations: 270.3 kB / 0.7522 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/1.262, allocations: 320.3 kB / 0.7525 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/1.262, allocations: 313.2 kB / 0.7528 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.262, allocations: 0 / 0.7528 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001232/1.263, allocations: 0.7092 MB / 0.7535 GB, free: 131 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.264, allocations: 5.859 kB / 0.7535 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.264, allocations: 0.8438 kB / 0.7535 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.264, allocations: 3.828 kB / 0.7535 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.265, allocations: 259.1 kB / 0.7538 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.265, allocations: 6.516 kB / 0.7538 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/1.265, allocations: 60.12 kB / 0.7538 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/1.265, allocations: 24.84 kB / 0.7539 GB, free: 131 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 (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.0001131/1.265, allocations: 129.3 kB / 0.754 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/1.265, allocations: 20.38 kB / 0.754 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/1.266, allocations: 73.14 kB / 0.7541 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.266, allocations: 10.5 kB / 0.7541 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.266, allocations: 1.469 kB / 0.7541 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.266, allocations: 6.109 kB / 0.7541 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/1.266, allocations: 465.2 kB / 0.7545 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.266, allocations: 1.359 kB / 0.7545 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.268, allocations: 261.5 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/1.268, allocations: 2.031 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/1.268, allocations: 23.12 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/1.268, allocations: 2.266 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.268, allocations: 0.9375 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/1.269, allocations: 0.9889 MB / 0.7558 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/1.269, allocations: 108.4 kB / 0.7559 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/1.269, allocations: 17.31 kB / 0.7559 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/1.27, allocations: 30.52 kB / 0.7559 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.27, allocations: 28.84 kB / 0.756 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/1.27, allocations: 14.8 kB / 0.756 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 4.659e-05/1.27, allocations: 100.7 kB / 0.7561 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 8.92e-07/1.27, allocations: 0 / 0.7561 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004276/1.27, allocations: 157.9 kB / 0.7562 GB, free: 129.8 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.0001634/1.271, allocations: 121.5 kB / 0.7563 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001002/1.272, allocations: 0.6205 MB / 0.7569 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.272, allocations: 0 / 0.7569 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004543/1.272, allocations: 309.4 kB / 0.7572 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.272, allocations: 63.72 kB / 0.7573 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/1.275, allocations: 2.368 MB / 0.7596 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/1.276, allocations: 0.8077 MB / 0.7604 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006011/1.276, allocations: 180.5 kB / 0.7606 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/1.276, allocations: 28.84 kB / 0.7606 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of SimCode: time 4.31e-07/1.276, allocations: 4.531 kB / 0.7606 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.007357/1.284, allocations: 4.936 MB / 0.7654 GB, free: 126.7 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches