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.001368/0.001368, allocations: 108.5 kB / 17.06 MB, free: 6.023 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.001264/0.001264, allocations: 192 kB / 18 MB, free: 5.105 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.337/1.337, allocations: 222.9 MB / 241.7 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.8869/0.8869, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 61.66 kB / 0.5723 GB, free: 39.01 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 80.69 MB / 0.6511 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.0025/0.1373, allocations: 1.46 MB / 0.6525 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000308/0.1376, allocations: 94.66 kB / 0.6526 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.1377, allocations: 0 / 0.6526 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1378, allocations: 19.86 kB / 0.6526 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1379, allocations: 59.7 kB / 0.6527 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.1382, allocations: 23.95 kB / 0.6527 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005052/0.1387, allocations: 0.5732 MB / 0.6533 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.37e-05/0.1387, allocations: 8 kB / 0.6533 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.139, allocations: 211.7 kB / 0.6535 GB, free: 9.297 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.1395, allocations: 283.3 kB / 0.6537 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1396, allocations: 32 kB / 0.6538 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1397, allocations: 32 kB / 0.6538 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1399, allocations: 175.6 kB / 0.654 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.1401, allocations: 199.3 kB / 0.6542 GB, free: 8.59 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1404, allocations: 326.9 kB / 0.6545 GB, free: 8.27 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1405, allocations: 0 / 0.6545 GB, free: 8.27 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1405, allocations: 0 / 0.6545 GB, free: 8.27 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.1405, allocations: 0 / 0.6545 GB, free: 8.27 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.002301/0.1428, allocations: 0.8584 MB / 0.6553 GB, free: 7.355 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1428, allocations: 11.89 kB / 0.6553 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.1429, allocations: 36.56 kB / 0.6554 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.1433, allocations: 263.9 kB / 0.6556 GB, free: 7.012 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1433, allocations: 24.94 kB / 0.6556 GB, free: 6.988 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.1434, allocations: 48.28 kB / 0.6557 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.1442, allocations: 457.1 kB / 0.6561 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1442, allocations: 192 / 0.6561 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.1442, allocations: 11.94 kB / 0.6561 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1442, allocations: 8 kB / 0.6561 GB, free: 6.473 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.1448, allocations: 381.9 kB / 0.6565 GB, free: 6.098 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.1477, allocations: 2.152 MB / 0.6586 GB, free: 3.676 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.1485, allocations: 476.1 kB / 0.6591 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.149, allocations: 328.6 kB / 0.6594 GB, free: 2.879 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.149, allocations: 12.44 kB / 0.6594 GB, free: 2.867 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.149, allocations: 38.88 kB / 0.6594 GB, free: 2.82 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.623e-06/0.1491, allocations: 0 / 0.6594 GB, free: 2.82 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001357/0.1504, allocations: 0.8046 MB / 0.6602 GB, free: 2.012 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.1505, allocations: 59.84 kB / 0.6603 GB, free: 1.941 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1506, allocations: 133.8 kB / 0.6604 GB, free: 1.801 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.1506, allocations: 37.7 kB / 0.6604 GB, free: 1.758 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.1507, allocations: 129 kB / 0.6605 GB, free: 1.625 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.1508, allocations: 205.1 kB / 0.6607 GB, free: 1.422 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.151, allocations: 110.3 kB / 0.6608 GB, free: 1.309 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1511, allocations: 342.8 kB / 0.6612 GB, free: 0.9648 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.1516, allocations: 285.1 kB / 0.6614 GB, free: 0.6836 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.152, allocations: 336.7 kB / 0.6618 GB, free: 356 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000934/0.153, allocations: 0.6078 MB / 0.6624 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.153, allocations: 4 kB / 0.6624 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00111/0.1541, allocations: 0.7233 MB / 0.6631 GB, free: 15 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1541, allocations: 4 kB / 0.6631 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1541, allocations: 4.031 kB / 0.6631 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1542, allocations: 4 kB / 0.6631 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.1552, allocations: 263.7 kB / 0.6633 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1552, allocations: 0 / 0.6633 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.1556, allocations: 59.41 kB / 0.6634 GB, free: 14.67 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.1556, allocations: 16 kB / 0.6634 GB, free: 14.65 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.0001772/0.1558, allocations: 166.5 kB / 0.6636 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.1559, allocations: 27.75 kB / 0.6636 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.1562, allocations: 74.28 kB / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.1562, allocations: 4 kB / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1562, allocations: 4 kB / 0.6637 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1562, allocations: 3.984 kB / 0.6637 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.1567, allocations: 469.3 kB / 0.6641 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1567, allocations: 0 / 0.6641 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.158, allocations: 259.7 kB / 0.6644 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.1581, allocations: 4 kB / 0.6644 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.1581, allocations: 19.97 kB / 0.6644 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1581, allocations: 8 kB / 0.6644 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1581, allocations: 0 / 0.6644 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.1596, allocations: 1.009 MB / 0.6654 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.1596, allocations: 104.7 kB / 0.6655 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.1597, allocations: 19.98 kB / 0.6655 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.1601, allocations: 27.97 kB / 0.6655 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.1602, allocations: 28.39 kB / 0.6656 GB, free: 12.36 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.1603, allocations: 16 kB / 0.6656 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.1603, allocations: 102.9 kB / 0.6657 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1603, allocations: 0 / 0.6657 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003855/0.1607, allocations: 147.9 kB / 0.6658 GB, free: 12.1 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.0001295/0.1608, allocations: 127.6 kB / 0.6659 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009876/0.1618, allocations: 0.6426 MB / 0.6666 GB, free: 11.32 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1619, allocations: 0 / 0.6666 GB, free: 11.32 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.1623, allocations: 326.3 kB / 0.6669 GB, free: 11 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1627, allocations: 71.61 kB / 0.6669 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.1656, allocations: 2.245 MB / 0.6691 GB, free: 8.664 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1659, allocations: 0.7995 MB / 0.6699 GB, free: 7.84 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004227/0.1663, allocations: 170.8 kB / 0.6701 GB, free: 7.672 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.1665, allocations: 31.44 kB / 0.6701 GB, free: 7.645 MB / 0.5139 GB Notification: Performance of SimCode: time 2.71e-07/0.1665, allocations: 0 / 0.6701 GB, free: 7.645 MB / 0.5139 GB Notification: Performance of Templates: time 0.008932/0.1754, allocations: 5.512 MB / 0.6755 GB, free: 2.215 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/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