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.001264/0.001264, 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.494/1.494, allocations: 221.3 MB / 235.5 MB, free: 2.969 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.001043/0.001043, allocations: 98.16 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.332/1.332, allocations: 120.5 MB / 457.9 MB, free: 7.059 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.459e-05, allocations: 0 / 0.5367 GB, free: 11.23 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.7666, allocations: 82.83 MB / 0.6176 GB, free: 9.297 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/0.9866, allocations: 125.5 MB / 0.7401 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.9868, allocations: 58.78 kB / 0.7402 GB, free: 11.61 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01991/1.007, allocations: 5.672 MB / 0.7457 GB, free: 5.906 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.433e-06/1.007, allocations: 0 / 0.7457 GB, free: 5.906 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.192e-05/1.007, allocations: 4 kB / 0.7457 GB, free: 5.902 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.002019/1.009, allocations: 0.7601 MB / 0.7465 GB, free: 5.094 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/1.009, allocations: 12.03 kB / 0.7465 GB, free: 5.082 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/1.009, allocations: 35.67 kB / 0.7465 GB, free: 5.047 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/1.01, allocations: 295.1 kB / 0.7468 GB, free: 4.715 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/1.01, allocations: 32.56 kB / 0.7468 GB, free: 4.684 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/1.01, allocations: 47.91 kB / 0.7469 GB, free: 4.637 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008975/1.011, allocations: 428.6 kB / 0.7473 GB, free: 4.215 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.011, allocations: 0 / 0.7473 GB, free: 4.215 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/1.011, allocations: 12 kB / 0.7473 GB, free: 4.203 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/1.011, allocations: 4 kB / 0.7473 GB, free: 4.199 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/1.012, allocations: 370 kB / 0.7476 GB, free: 3.84 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00387/1.016, allocations: 2.175 MB / 0.7498 GB, free: 1.387 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008947/1.017, allocations: 460 kB / 0.7502 GB, free: 0.9297 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/1.017, allocations: 318 kB / 0.7505 GB, free: 0.6172 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/1.017, allocations: 8.438 kB / 0.7505 GB, free: 0.6094 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.017, allocations: 42.94 kB / 0.7506 GB, free: 0.5586 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 2.975e-06/1.017, allocations: 0 / 0.7506 GB, free: 0.5586 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.8551/1.872, allocations: 0.5543 MB / 0.7511 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/1.873, allocations: 57.12 kB / 0.7512 GB, free: 131.8 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/1.873, allocations: 122.4 kB / 0.7513 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002475/1.873, allocations: 37.2 kB / 0.7513 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/1.873, allocations: 125.8 kB / 0.7514 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004506/1.874, allocations: 202.4 kB / 0.7516 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/1.874, allocations: 11.62 kB / 0.7516 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.874, allocations: 340.7 kB / 0.752 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00093/1.875, allocations: 269.8 kB / 0.7522 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/1.876, allocations: 322.5 kB / 0.7525 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008646/1.877, allocations: 313 kB / 0.7528 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.877, allocations: 0.875 kB / 0.7528 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001879/1.879, allocations: 0.7062 MB / 0.7535 GB, free: 131 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/1.879, allocations: 5.75 kB / 0.7535 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.879, allocations: 0.8125 kB / 0.7535 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.793e-05/1.879, allocations: 7.484 kB / 0.7535 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.88, allocations: 257.6 kB / 0.7538 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/1.88, allocations: 8.125 kB / 0.7538 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/1.881, allocations: 59.55 kB / 0.7538 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/1.881, allocations: 18.73 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.0002025/1.881, allocations: 132 kB / 0.754 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.881, allocations: 23.31 kB / 0.754 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/1.881, allocations: 76.33 kB / 0.7541 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.881, allocations: 8.75 kB / 0.7541 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.881, allocations: 0 / 0.7541 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.882, allocations: 7.594 kB / 0.7541 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009868/1.883, allocations: 473.2 kB / 0.7545 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.883, allocations: 0 / 0.7545 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.884, allocations: 257.3 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/1.884, allocations: 2.25 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.891e-05/1.884, allocations: 18.84 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/1.884, allocations: 6.078 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.884, allocations: 5.047 kB / 0.7548 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/1.886, allocations: 0.9884 MB / 0.7558 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.886, allocations: 101 kB / 0.7559 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/1.887, allocations: 17.27 kB / 0.7559 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/1.887, allocations: 30.2 kB / 0.7559 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.887, allocations: 37.34 kB / 0.756 GB, free: 130 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/1.887, allocations: 10.64 kB / 0.756 GB, free: 130 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 7.713e-05/1.887, allocations: 103.7 kB / 0.7561 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.11e-07/1.887, allocations: 0 / 0.7561 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000677/1.888, allocations: 156.4 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.0002282/1.888, allocations: 118.2 kB / 0.7563 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001622/1.89, allocations: 0.6238 MB / 0.7569 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.89, allocations: 0 / 0.7569 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/1.891, allocations: 306.6 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.0004662/1.891, allocations: 58.42 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.004213/1.895, allocations: 2.377 MB / 0.7596 GB, free: 128 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/1.896, allocations: 0.8045 MB / 0.7604 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007808/1.897, allocations: 185 kB / 0.7606 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/1.897, allocations: 28.84 kB / 0.7606 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of SimCode: time 1.984e-06/1.897, allocations: 0 / 0.7606 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.01198/1.909, allocations: 4.934 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/jenkins1/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