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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 109.2 kB / 17.75 MB, free: 5.223 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.001316/0.001316, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.882/0.882, allocations: 119.3 MB / 411.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 73.66 kB / 0.573 GB, free: 39.06 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.129, allocations: 80.68 MB / 0.6518 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002268/0.1313, allocations: 1.456 MB / 0.6532 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.1316, allocations: 98.59 kB / 0.6533 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.1317, allocations: 4 kB / 0.6533 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.072e-05/0.1317, allocations: 7.922 kB / 0.6533 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.1319, allocations: 63.64 kB / 0.6534 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1321, allocations: 43.92 kB / 0.6534 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000547/0.1326, allocations: 0.6278 MB / 0.654 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.1327, allocations: 8 kB / 0.654 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.133, allocations: 243.6 kB / 0.6543 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.1334, allocations: 287.3 kB / 0.6545 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.1334, allocations: 32 kB / 0.6546 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.74e-05/0.1335, allocations: 28 kB / 0.6546 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.1337, allocations: 183.6 kB / 0.6548 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.1339, allocations: 199.2 kB / 0.6549 GB, free: 8.484 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1342, allocations: 327 kB / 0.6553 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1342, allocations: 8 kB / 0.6553 GB, free: 8.156 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1342, allocations: 0 / 0.6553 GB, free: 8.156 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.1342, allocations: 0 / 0.6553 GB, free: 8.156 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.002236/0.1365, allocations: 0.8467 MB / 0.6561 GB, free: 7.254 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1365, allocations: 11.89 kB / 0.6561 GB, free: 7.242 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.1366, allocations: 40.56 kB / 0.6561 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.137, allocations: 263.9 kB / 0.6564 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.137, allocations: 24.94 kB / 0.6564 GB, free: 6.883 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/0.1371, allocations: 44.28 kB / 0.6565 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.1379, allocations: 449.1 kB / 0.6569 GB, free: 6.398 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1379, allocations: 192 / 0.6569 GB, free: 6.398 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.1379, allocations: 15.94 kB / 0.6569 GB, free: 6.383 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1379, allocations: 8 kB / 0.6569 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.1386, allocations: 374 kB / 0.6573 GB, free: 6.008 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.1416, allocations: 2.159 MB / 0.6594 GB, free: 3.578 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000797/0.1424, allocations: 472.1 kB / 0.6598 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.1429, allocations: 318 kB / 0.6601 GB, free: 2.793 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.1429, allocations: 8.438 kB / 0.6601 GB, free: 2.785 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.143, allocations: 46.94 kB / 0.6602 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/0.143, allocations: 0 / 0.6602 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001473/0.1445, allocations: 0.7967 MB / 0.661 GB, free: 1.93 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1445, allocations: 59.84 kB / 0.661 GB, free: 1.859 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1446, allocations: 129.8 kB / 0.6611 GB, free: 1.723 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.1447, allocations: 41.7 kB / 0.6612 GB, free: 1.676 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.1448, allocations: 133 kB / 0.6613 GB, free: 1.539 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.1449, allocations: 201.1 kB / 0.6615 GB, free: 1.34 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.1451, allocations: 114.3 kB / 0.6616 GB, free: 1.223 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1453, allocations: 342.8 kB / 0.6619 GB, free: 0.8789 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.1457, allocations: 281.1 kB / 0.6622 GB, free: 0.6016 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.1462, allocations: 328.7 kB / 0.6625 GB, free: 280 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009923/0.1472, allocations: 0.6077 MB / 0.6631 GB, free: 15.66 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1472, allocations: 4 kB / 0.6631 GB, free: 15.66 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001165/0.1484, allocations: 0.7195 MB / 0.6638 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1484, allocations: 7.938 kB / 0.6638 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1484, allocations: 0 / 0.6638 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1485, allocations: 4 kB / 0.6638 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.1496, allocations: 259.7 kB / 0.6641 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1496, allocations: 8.031 kB / 0.6641 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.15, allocations: 59.41 kB / 0.6641 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.1501, allocations: 19.94 kB / 0.6642 GB, free: 14.58 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.0002082/0.1503, allocations: 158.6 kB / 0.6643 GB, free: 14.41 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.1504, allocations: 23.75 kB / 0.6643 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.1505, allocations: 74.28 kB / 0.6644 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1505, allocations: 3.984 kB / 0.6644 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1506, allocations: 3.938 kB / 0.6644 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.1506, allocations: 104.7 kB / 0.6645 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.1507, allocations: 23.98 kB / 0.6645 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.1511, allocations: 23.97 kB / 0.6646 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.1512, allocations: 32.38 kB / 0.6646 GB, free: 14.11 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003169/0.1544, allocations: 1.061 MB / 0.6656 GB, free: 13.04 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0017/0.1561, allocations: 1.198 MB / 0.6668 GB, free: 11.82 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004952/0.1566, allocations: 311.2 kB / 0.6671 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.1567, allocations: 106.6 kB / 0.6672 GB, free: 11.42 MB / 0.5139 GB Notification: Performance of Backend: time 5.11e-07/0.1567, allocations: 0 / 0.6672 GB, free: 11.42 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009867/0.1577, allocations: 493.8 kB / 0.6677 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of SimCode: time 0.002664/0.1603, allocations: 2.394 MB / 0.67 GB, free: 8.484 MB / 0.5139 GB Notification: Performance of Templates: time 0.01104/0.1714, allocations: 6.863 MB / 0.6767 GB, free: 1.66 MB / 0.5139 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches