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.001313/0.001313, allocations: 99.59 kB / 17.73 MB, free: 5.238 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.001262/0.001262, allocations: 194.2 kB / 18.66 MB, free: 4.312 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9032/0.9032, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.45 kB / 0.5729 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1458, allocations: 80.69 MB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002533/0.1484, allocations: 1.456 MB / 0.6532 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.1488, allocations: 102.6 kB / 0.6533 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.1489, allocations: 4 kB / 0.6533 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.149, allocations: 11.92 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.1492, allocations: 59.66 kB / 0.6533 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1494, allocations: 31.94 kB / 0.6534 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005372/0.1499, allocations: 0.6356 MB / 0.654 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/0.15, allocations: 8 kB / 0.654 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.1503, allocations: 239.6 kB / 0.6542 GB, free: 9.117 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.1507, allocations: 295.3 kB / 0.6545 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.1508, allocations: 36 kB / 0.6545 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.1509, allocations: 28 kB / 0.6546 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.151, allocations: 183.6 kB / 0.6547 GB, free: 8.586 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.1512, allocations: 195.2 kB / 0.6549 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.1515, allocations: 327 kB / 0.6552 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1515, allocations: 0 / 0.6552 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1515, allocations: 0 / 0.6552 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1515, allocations: 0 / 0.6552 GB, free: 8.074 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.002157/0.1537, allocations: 0.8544 MB / 0.6561 GB, free: 7.164 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1537, allocations: 15.89 kB / 0.6561 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.872e-05/0.1538, allocations: 36.56 kB / 0.6561 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1542, allocations: 255.9 kB / 0.6564 GB, free: 6.824 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.1542, allocations: 32.94 kB / 0.6564 GB, free: 6.793 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.1543, allocations: 56.2 kB / 0.6565 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.155, allocations: 445.1 kB / 0.6569 GB, free: 6.301 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.155, allocations: 192 / 0.6569 GB, free: 6.301 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.155, allocations: 19.92 kB / 0.6569 GB, free: 6.281 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1551, allocations: 8 kB / 0.6569 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.1557, allocations: 374 kB / 0.6573 GB, free: 5.906 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.1585, allocations: 2.148 MB / 0.6594 GB, free: 3.488 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.1592, allocations: 476.1 kB / 0.6598 GB, free: 3.016 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.1597, allocations: 322 kB / 0.6601 GB, free: 2.695 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.1597, allocations: 4.438 kB / 0.6601 GB, free: 2.691 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1598, allocations: 38.94 kB / 0.6602 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.543e-06/0.1598, allocations: 0 / 0.6602 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001361/0.1611, allocations: 0.8085 MB / 0.661 GB, free: 1.832 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1612, allocations: 55.84 kB / 0.661 GB, free: 1.766 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1613, allocations: 133.5 kB / 0.6611 GB, free: 1.629 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.1614, allocations: 37.7 kB / 0.6612 GB, free: 1.586 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.1614, allocations: 129 kB / 0.6613 GB, free: 1.453 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1616, allocations: 201.1 kB / 0.6615 GB, free: 1.254 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.1617, allocations: 118.3 kB / 0.6616 GB, free: 1.133 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1619, allocations: 338.8 kB / 0.6619 GB, free: 0.793 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.1623, allocations: 281.1 kB / 0.6622 GB, free: 0.5156 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.1628, allocations: 332.7 kB / 0.6625 GB, free: 188 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.1637, allocations: 0.6077 MB / 0.6631 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1637, allocations: 0 / 0.6631 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001093/0.1648, allocations: 0.7195 MB / 0.6638 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1648, allocations: 8.031 kB / 0.6638 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1648, allocations: 0 / 0.6638 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1648, allocations: 11.92 kB / 0.6638 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.1659, allocations: 255.8 kB / 0.6641 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1659, allocations: 0 / 0.6641 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.1663, allocations: 59.36 kB / 0.6641 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.1663, allocations: 24 kB / 0.6641 GB, free: 14.49 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.0001671/0.1665, allocations: 158.6 kB / 0.6643 GB, free: 14.33 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.1666, allocations: 27.75 kB / 0.6643 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.1668, allocations: 74.28 kB / 0.6644 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1668, allocations: 11.94 kB / 0.6644 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1668, allocations: 0 / 0.6644 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1668, allocations: 3.984 kB / 0.6644 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.1674, allocations: 473.4 kB / 0.6649 GB, free: 13.7 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1674, allocations: 0 / 0.6649 GB, free: 13.7 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.1687, allocations: 263.7 kB / 0.6651 GB, free: 13.44 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1687, allocations: 0 / 0.6651 GB, free: 13.44 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.1688, allocations: 23.92 kB / 0.6651 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1688, allocations: 8 kB / 0.6651 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1688, allocations: 0 / 0.6651 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.1702, allocations: 1.005 MB / 0.6661 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.1702, allocations: 100.7 kB / 0.6662 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.55e-05/0.1703, allocations: 19.98 kB / 0.6662 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.1707, allocations: 23.97 kB / 0.6663 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.1708, allocations: 36.33 kB / 0.6663 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.1709, allocations: 12 kB / 0.6663 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.1709, allocations: 99.27 kB / 0.6664 GB, free: 12.08 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1709, allocations: 0 / 0.6664 GB, free: 12.08 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004186/0.1713, allocations: 147.9 kB / 0.6665 GB, free: 11.94 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.0001528/0.1715, allocations: 127.6 kB / 0.6667 GB, free: 11.8 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009712/0.1725, allocations: 0.6387 MB / 0.6673 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1725, allocations: 0 / 0.6673 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004515/0.173, allocations: 322.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.0004202/0.1734, allocations: 64 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.003022/0.1764, allocations: 2.315 MB / 0.6699 GB, free: 8.441 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1768, allocations: 0.7995 MB / 0.6707 GB, free: 7.617 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.177, allocations: 35.44 kB / 0.6707 GB, free: 7.586 MB / 0.5139 GB Notification: Performance of SimCode: time 4.41e-07/0.177, allocations: 0 / 0.6707 GB, free: 7.586 MB / 0.5139 GB Notification: Performance of Templates: time 0.007102/0.1841, allocations: 5.473 MB / 0.6761 GB, free: 2.133 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