Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001287/0.001287, allocations: 105.2 kB / 17.74 MB, free: 5.363 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.001287/0.001287, allocations: 183.8 kB / 18.66 MB, free: 4.449 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9347/0.9347, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.92 kB / 0.573 GB, free: 38.96 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1381, allocations: 80.69 MB / 0.6518 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002338/0.1404, allocations: 1.456 MB / 0.6532 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.1407, allocations: 98.59 kB / 0.6533 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.1408, allocations: 0 / 0.6533 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.1409, allocations: 7.922 kB / 0.6533 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.141, allocations: 67.66 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.1413, allocations: 31.88 kB / 0.6534 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000497/0.1418, allocations: 0.5771 MB / 0.6539 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.1418, allocations: 4 kB / 0.6539 GB, free: 9.422 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.142, allocations: 207.7 kB / 0.6541 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.1424, allocations: 279.4 kB / 0.6544 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.1425, allocations: 31.94 kB / 0.6544 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.1426, allocations: 28 kB / 0.6545 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.1427, allocations: 187.6 kB / 0.6546 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.143, allocations: 199.2 kB / 0.6548 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.1432, allocations: 331 kB / 0.6551 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1433, allocations: 0 / 0.6551 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1433, allocations: 0 / 0.6551 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.1433, allocations: 0 / 0.6551 GB, free: 8.184 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.002254/0.1455, allocations: 0.8545 MB / 0.656 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1456, allocations: 11.89 kB / 0.656 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.108e-05/0.1457, allocations: 36.56 kB / 0.656 GB, free: 7.227 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.146, allocations: 259.9 kB / 0.6563 GB, free: 6.934 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.146, allocations: 24.94 kB / 0.6563 GB, free: 6.91 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.671e-05/0.1461, allocations: 48.28 kB / 0.6563 GB, free: 6.863 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.1469, allocations: 449.1 kB / 0.6568 GB, free: 6.422 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1469, allocations: 192 / 0.6568 GB, free: 6.422 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.1469, allocations: 15.94 kB / 0.6568 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1469, allocations: 8 kB / 0.6568 GB, free: 6.398 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006181/0.1476, allocations: 374 kB / 0.6571 GB, free: 6.031 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.1505, allocations: 2.159 MB / 0.6593 GB, free: 3.602 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.1514, allocations: 476.1 kB / 0.6597 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.1519, allocations: 324.8 kB / 0.66 GB, free: 2.809 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.1519, allocations: 4.438 kB / 0.66 GB, free: 2.805 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.152, allocations: 46.92 kB / 0.6601 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.583e-06/0.152, allocations: 0 / 0.6601 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001446/0.1534, allocations: 0.8046 MB / 0.6609 GB, free: 1.941 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1535, allocations: 59.84 kB / 0.6609 GB, free: 1.871 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1536, allocations: 137 kB / 0.661 GB, free: 1.73 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.1536, allocations: 41.7 kB / 0.6611 GB, free: 1.684 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.1537, allocations: 125 kB / 0.6612 GB, free: 1.555 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.1539, allocations: 205.1 kB / 0.6614 GB, free: 1.352 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.1541, allocations: 110.3 kB / 0.6615 GB, free: 1.238 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1542, allocations: 338.8 kB / 0.6618 GB, free: 0.8984 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/0.1547, allocations: 285.1 kB / 0.6621 GB, free: 0.6172 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.1552, allocations: 332.7 kB / 0.6624 GB, free: 292 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009403/0.1561, allocations: 0.6116 MB / 0.663 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1561, allocations: 0 / 0.663 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001121/0.1573, allocations: 0.7311 MB / 0.6637 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1573, allocations: 4 kB / 0.6637 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1573, allocations: 0 / 0.6637 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1573, allocations: 8.031 kB / 0.6637 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.1584, allocations: 255.7 kB / 0.664 GB, free: 14.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1584, allocations: 4 kB / 0.664 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.1588, allocations: 63.41 kB / 0.664 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.1589, allocations: 16 kB / 0.6641 GB, free: 14.59 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.000172/0.1591, allocations: 162.6 kB / 0.6642 GB, free: 14.42 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.1592, allocations: 23.73 kB / 0.6642 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.1594, allocations: 90.27 kB / 0.6643 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1594, allocations: 4 kB / 0.6643 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1594, allocations: 0 / 0.6643 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1594, allocations: 3.938 kB / 0.6643 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.16, allocations: 477.4 kB / 0.6648 GB, free: 13.78 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.16, allocations: 0 / 0.6648 GB, free: 13.78 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.1614, allocations: 255.7 kB / 0.665 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1614, allocations: 4 kB / 0.665 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.1614, allocations: 23.97 kB / 0.6651 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1614, allocations: 0 / 0.6651 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1614, allocations: 8 kB / 0.6651 GB, free: 13.49 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.1629, allocations: 1.001 MB / 0.666 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.163, allocations: 104.7 kB / 0.6661 GB, free: 12.36 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.1631, allocations: 19.98 kB / 0.6662 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.1635, allocations: 27.97 kB / 0.6662 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1636, allocations: 24.34 kB / 0.6662 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.1637, allocations: 15.98 kB / 0.6662 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.1637, allocations: 99.27 kB / 0.6663 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1637, allocations: 0 / 0.6663 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004009/0.1641, allocations: 151.9 kB / 0.6665 GB, free: 12.02 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.000156/0.1643, allocations: 127.6 kB / 0.6666 GB, free: 11.89 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.1653, allocations: 0.6426 MB / 0.6672 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1653, allocations: 4.062 kB / 0.6672 GB, free: 11.24 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.1658, allocations: 318.3 kB / 0.6675 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1662, allocations: 71.83 kB / 0.6676 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.1692, allocations: 2.293 MB / 0.6698 GB, free: 8.535 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1696, allocations: 0.7956 MB / 0.6706 GB, free: 7.715 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.1699, allocations: 31.44 kB / 0.6706 GB, free: 7.688 MB / 0.5139 GB Notification: Performance of SimCode: time 3.3e-07/0.1699, allocations: 4 kB / 0.6706 GB, free: 7.684 MB / 0.5139 GB Notification: Performance of Templates: time 0.007475/0.1773, allocations: 5.482 MB / 0.676 GB, free: 2.219 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches