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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 111.7 kB / 17.74 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 188.4 kB / 18.67 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9503/0.9503, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.44 kB / 0.573 GB, free: 38.9 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1418, allocations: 80.69 MB / 0.6518 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002534/0.1443, allocations: 1.456 MB / 0.6532 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003155/0.1447, allocations: 98.59 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.1447, allocations: 7.938 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1448, allocations: 7.922 kB / 0.6533 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.145, allocations: 59.7 kB / 0.6533 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1452, allocations: 39.92 kB / 0.6534 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.1458, allocations: 0.6356 MB / 0.654 GB, free: 9.344 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.924e-05/0.1459, allocations: 7.984 kB / 0.654 GB, free: 9.336 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.1461, allocations: 243.6 kB / 0.6542 GB, free: 9.098 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.1466, allocations: 283.3 kB / 0.6545 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.1467, allocations: 32 kB / 0.6545 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.1468, allocations: 28 kB / 0.6546 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.1469, allocations: 183.6 kB / 0.6547 GB, free: 8.582 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.1471, allocations: 195.3 kB / 0.6549 GB, free: 8.391 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.1474, allocations: 334.9 kB / 0.6552 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1475, allocations: 0 / 0.6552 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1475, allocations: 4 kB / 0.6553 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1475, allocations: 0 / 0.6553 GB, free: 8.059 MB / 0.4983 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.002369/0.1499, allocations: 0.8467 MB / 0.6561 GB, free: 7.156 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1499, allocations: 19.88 kB / 0.6561 GB, free: 7.137 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.15, allocations: 32.56 kB / 0.6561 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.1504, allocations: 263.6 kB / 0.6564 GB, free: 6.812 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.1504, allocations: 24.94 kB / 0.6564 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/0.1505, allocations: 52.28 kB / 0.6565 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.1512, allocations: 445.1 kB / 0.6569 GB, free: 6.301 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1513, allocations: 4.125 kB / 0.6569 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.1513, allocations: 19.94 kB / 0.6569 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1513, allocations: 4 kB / 0.6569 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.152, allocations: 374 kB / 0.6573 GB, free: 5.906 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.155, allocations: 2.152 MB / 0.6594 GB, free: 3.484 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/0.1559, allocations: 479 kB / 0.6598 GB, free: 3.012 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.1564, allocations: 322 kB / 0.6601 GB, free: 2.691 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.1564, allocations: 12.44 kB / 0.6601 GB, free: 2.68 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1565, allocations: 38.94 kB / 0.6602 GB, free: 2.633 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 2.384e-06/0.1565, allocations: 0 / 0.6602 GB, free: 2.633 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001458/0.1579, allocations: 0.7968 MB / 0.661 GB, free: 1.832 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.158, allocations: 55.84 kB / 0.661 GB, free: 1.766 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1581, allocations: 136.8 kB / 0.6611 GB, free: 1.625 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.1582, allocations: 37.7 kB / 0.6612 GB, free: 1.582 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.1583, allocations: 133 kB / 0.6613 GB, free: 1.445 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.1585, allocations: 201.1 kB / 0.6615 GB, free: 1.246 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.1586, allocations: 118.3 kB / 0.6616 GB, free: 1.125 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1588, allocations: 338.8 kB / 0.6619 GB, free: 0.7852 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004463/0.1592, allocations: 281.1 kB / 0.6622 GB, free: 0.5078 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.1597, allocations: 332.7 kB / 0.6625 GB, free: 180 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/0.1607, allocations: 0.6078 MB / 0.6631 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1607, allocations: 0 / 0.6631 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00116/0.1618, allocations: 0.7272 MB / 0.6638 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1619, allocations: 4 kB / 0.6638 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1619, allocations: 0 / 0.6638 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1619, allocations: 4 kB / 0.6638 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.163, allocations: 255.7 kB / 0.6641 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1631, allocations: 8.031 kB / 0.6641 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.1635, allocations: 63.41 kB / 0.6641 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.1635, allocations: 19.98 kB / 0.6642 GB, free: 14.48 MB / 0.5139 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.1637, allocations: 162.6 kB / 0.6643 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.1638, allocations: 23.75 kB / 0.6643 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.164, allocations: 82.27 kB / 0.6644 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.164, allocations: 4 kB / 0.6644 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.1641, allocations: 4 kB / 0.6644 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1641, allocations: 4 kB / 0.6644 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.1647, allocations: 469.4 kB / 0.6649 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1647, allocations: 0 / 0.6649 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.1661, allocations: 255.7 kB / 0.6651 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.1661, allocations: 4 kB / 0.6651 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/0.1662, allocations: 19.98 kB / 0.6651 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.1662, allocations: 7.984 kB / 0.6651 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1662, allocations: 0 / 0.6651 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.1678, allocations: 1.009 MB / 0.6661 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.1679, allocations: 104.7 kB / 0.6662 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.711e-05/0.168, allocations: 15.98 kB / 0.6662 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.1684, allocations: 27.97 kB / 0.6663 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1685, allocations: 24.41 kB / 0.6663 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.1686, allocations: 11.98 kB / 0.6663 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.885e-05/0.1686, allocations: 99.27 kB / 0.6664 GB, free: 12.08 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1686, allocations: 0 / 0.6664 GB, free: 12.08 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004623/0.1691, allocations: 155.9 kB / 0.6666 GB, free: 11.93 MB / 0.5139 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.1693, allocations: 127.6 kB / 0.6667 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.1704, allocations: 0.6386 MB / 0.6673 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1705, allocations: 0 / 0.6673 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.171, allocations: 314.3 kB / 0.6676 GB, free: 10.85 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.1714, allocations: 63.97 kB / 0.6677 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.1747, allocations: 2.313 MB / 0.6699 GB, free: 8.441 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.1752, allocations: 0.7956 MB / 0.6707 GB, free: 7.621 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.1755, allocations: 31.44 kB / 0.6707 GB, free: 7.594 MB / 0.5139 GB Notification: Performance of SimCode: time 9.12e-07/0.1755, allocations: 0 / 0.6707 GB, free: 7.594 MB / 0.5139 GB Notification: Performance of Templates: time 0.008582/0.1841, allocations: 5.45 MB / 0.676 GB, free: 2.16 MB / 0.5139 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches