Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 108.3 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.001278/0.001278, allocations: 183 kB / 18.67 MB, free: 4.391 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.895/0.895, allocations: 119.3 MB / 411.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 65.12 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.132, allocations: 80.69 MB / 0.6517 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002284/0.1343, allocations: 1.464 MB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.1346, allocations: 90.61 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.1347, allocations: 0 / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.1348, allocations: 15.92 kB / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.1349, allocations: 63.66 kB / 0.6533 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.1351, allocations: 39.86 kB / 0.6534 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.1357, allocations: 0.5732 MB / 0.6539 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.1357, allocations: 4 kB / 0.6539 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1359, allocations: 203.7 kB / 0.6541 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.1363, allocations: 279.4 kB / 0.6544 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-05/0.1364, allocations: 35.94 kB / 0.6544 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.1365, allocations: 32 kB / 0.6545 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.1366, allocations: 183.6 kB / 0.6546 GB, free: 8.66 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1368, allocations: 195.3 kB / 0.6548 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.1371, allocations: 326.9 kB / 0.6551 GB, free: 8.148 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1372, allocations: 4 kB / 0.6551 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1372, allocations: 0 / 0.6551 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1372, allocations: 4 kB / 0.6551 GB, free: 8.141 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.002213/0.1394, allocations: 0.8467 MB / 0.656 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1394, allocations: 11.89 kB / 0.656 GB, free: 7.227 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.1395, allocations: 40.55 kB / 0.656 GB, free: 7.188 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1399, allocations: 259.9 kB / 0.6563 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.1399, allocations: 24.94 kB / 0.6563 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.14, allocations: 56.28 kB / 0.6564 GB, free: 6.816 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007117/0.1407, allocations: 445.1 kB / 0.6568 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1407, allocations: 192 / 0.6568 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.1408, allocations: 15.94 kB / 0.6568 GB, free: 6.363 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1408, allocations: 4 kB / 0.6568 GB, free: 6.359 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.1414, allocations: 374 kB / 0.6572 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.1444, allocations: 2.156 MB / 0.6593 GB, free: 3.566 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.1452, allocations: 488.1 kB / 0.6597 GB, free: 3.082 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.1457, allocations: 326 kB / 0.66 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-05/0.1457, allocations: 4.438 kB / 0.66 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1458, allocations: 42.94 kB / 0.6601 GB, free: 2.703 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.743e-06/0.1458, allocations: 0 / 0.6601 GB, free: 2.703 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001401/0.1472, allocations: 0.8046 MB / 0.6609 GB, free: 1.895 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.1472, allocations: 63.84 kB / 0.6609 GB, free: 1.82 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1473, allocations: 136.8 kB / 0.6611 GB, free: 1.68 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.1474, allocations: 37.7 kB / 0.6611 GB, free: 1.637 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.1474, allocations: 125 kB / 0.6612 GB, free: 1.508 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.1476, allocations: 197.1 kB / 0.6614 GB, free: 1.312 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.1478, allocations: 122.3 kB / 0.6615 GB, free: 1.188 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1479, allocations: 338.8 kB / 0.6618 GB, free: 0.8477 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.1484, allocations: 281.1 kB / 0.6621 GB, free: 0.5703 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.1488, allocations: 332.7 kB / 0.6624 GB, free: 244 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.1498, allocations: 0.6117 MB / 0.663 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1498, allocations: 0 / 0.663 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001118/0.1509, allocations: 0.7311 MB / 0.6637 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1509, allocations: 4 kB / 0.6637 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1509, allocations: 8.031 kB / 0.6637 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.151, allocations: 0 / 0.6637 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.152, allocations: 259.7 kB / 0.664 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.152, allocations: 4 kB / 0.664 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.1524, allocations: 55.41 kB / 0.6641 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.1524, allocations: 24 kB / 0.6641 GB, free: 14.53 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.0001765/0.1526, allocations: 162.6 kB / 0.6642 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.1527, allocations: 23.75 kB / 0.6643 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.1529, allocations: 78.27 kB / 0.6643 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1529, allocations: 8 kB / 0.6643 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.1529, allocations: 0 / 0.6643 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1529, allocations: 3.938 kB / 0.6643 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.1535, allocations: 469.3 kB / 0.6648 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1535, allocations: 0 / 0.6648 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.1548, allocations: 263.7 kB / 0.665 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1548, allocations: 0 / 0.665 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.1549, allocations: 15.98 kB / 0.6651 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1549, allocations: 8 kB / 0.6651 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1549, allocations: 3.984 kB / 0.6651 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.1564, allocations: 1.005 MB / 0.666 GB, free: 12.44 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.1565, allocations: 108.7 kB / 0.6661 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.1566, allocations: 15.98 kB / 0.6662 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.157, allocations: 19.98 kB / 0.6662 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1571, allocations: 36.33 kB / 0.6662 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.1571, allocations: 19.98 kB / 0.6662 GB, free: 12.22 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.1572, allocations: 95.27 kB / 0.6663 GB, free: 12.13 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1572, allocations: 0 / 0.6663 GB, free: 12.13 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004161/0.1576, allocations: 151.9 kB / 0.6665 GB, free: 11.98 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.0001468/0.1578, allocations: 123.6 kB / 0.6666 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.1588, allocations: 0.6426 MB / 0.6672 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1588, allocations: 0 / 0.6672 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.1593, allocations: 326.3 kB / 0.6675 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.1598, allocations: 67.62 kB / 0.6676 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.1629, allocations: 2.293 MB / 0.6698 GB, free: 8.5 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1633, allocations: 0.7956 MB / 0.6706 GB, free: 7.68 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.1636, allocations: 35.44 kB / 0.6706 GB, free: 7.648 MB / 0.5139 GB Notification: Performance of SimCode: time 7.01e-07/0.1636, allocations: 4 kB / 0.6706 GB, free: 7.645 MB / 0.5139 GB Notification: Performance of Templates: time 0.008089/0.1717, allocations: 5.397 MB / 0.6759 GB, free: 2.266 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches