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.002014/0.002014, allocations: 109.7 kB / 17.06 MB, free: 6.02 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.002186/0.002186, allocations: 190.1 kB / 18 MB, free: 5.102 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.458/1.458, allocations: 222.9 MB / 241.7 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 1.076/1.076, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 65.97 kB / 0.5723 GB, free: 38.96 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1645, allocations: 80.69 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002446/0.167, allocations: 1.46 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000326/0.1673, allocations: 94.59 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.1674, allocations: 0 / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.1675, allocations: 19.91 kB / 0.6526 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.1677, allocations: 55.72 kB / 0.6527 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.1679, allocations: 35.88 kB / 0.6527 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006096/0.1685, allocations: 0.5693 MB / 0.6533 GB, free: 9.398 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.801e-05/0.1686, allocations: 15.97 kB / 0.6533 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1688, allocations: 203.8 kB / 0.6535 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.1693, allocations: 279.3 kB / 0.6538 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.011e-05/0.1694, allocations: 28 kB / 0.6538 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.1695, allocations: 32 kB / 0.6538 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.1697, allocations: 183.6 kB / 0.654 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.1699, allocations: 191.3 kB / 0.6542 GB, free: 8.484 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.1703, allocations: 334.7 kB / 0.6545 GB, free: 8.156 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1703, allocations: 4 kB / 0.6545 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1704, allocations: 0 / 0.6545 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.1704, allocations: 0 / 0.6545 GB, free: 8.152 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.002403/0.1728, allocations: 0.8657 MB / 0.6553 GB, free: 7.23 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1728, allocations: 8.031 kB / 0.6554 GB, free: 7.223 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.1729, allocations: 32.8 kB / 0.6554 GB, free: 7.191 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.1733, allocations: 262.2 kB / 0.6556 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1733, allocations: 24.94 kB / 0.6557 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-05/0.1734, allocations: 52.31 kB / 0.6557 GB, free: 6.824 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.1742, allocations: 453 kB / 0.6561 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1742, allocations: 192 / 0.6561 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.1743, allocations: 15.94 kB / 0.6562 GB, free: 6.363 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1743, allocations: 8 kB / 0.6562 GB, free: 6.355 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.175, allocations: 374 kB / 0.6565 GB, free: 5.988 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.1783, allocations: 2.148 MB / 0.6586 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.1792, allocations: 480 kB / 0.6591 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.1797, allocations: 326 kB / 0.6594 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/0.1798, allocations: 8.438 kB / 0.6594 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1798, allocations: 38.94 kB / 0.6594 GB, free: 2.715 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.553e-06/0.1798, allocations: 0 / 0.6594 GB, free: 2.715 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001547/0.1814, allocations: 0.8086 MB / 0.6602 GB, free: 1.902 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1814, allocations: 63.72 kB / 0.6603 GB, free: 1.828 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1816, allocations: 141.3 kB / 0.6604 GB, free: 1.684 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.1816, allocations: 33.7 kB / 0.6604 GB, free: 1.645 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.1817, allocations: 133.2 kB / 0.6606 GB, free: 1.508 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.1819, allocations: 210.2 kB / 0.6608 GB, free: 1.301 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.1821, allocations: 118.3 kB / 0.6609 GB, free: 1.18 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1823, allocations: 342.8 kB / 0.6612 GB, free: 0.8359 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.1828, allocations: 273.1 kB / 0.6615 GB, free: 0.5664 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.1833, allocations: 336.7 kB / 0.6618 GB, free: 236 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.1844, allocations: 0.6117 MB / 0.6624 GB, free: 15.61 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1844, allocations: 0 / 0.6624 GB, free: 15.61 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001224/0.1856, allocations: 0.7312 MB / 0.6631 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1856, allocations: 4 kB / 0.6631 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.1857, allocations: 0 / 0.6631 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.1857, allocations: 7.984 kB / 0.6631 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.1868, allocations: 259.7 kB / 0.6634 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1868, allocations: 4.031 kB / 0.6634 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.1872, allocations: 55.66 kB / 0.6634 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.1873, allocations: 19.98 kB / 0.6634 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.0002086/0.1875, allocations: 166.5 kB / 0.6636 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.1876, allocations: 27.8 kB / 0.6636 GB, free: 14.33 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.1878, allocations: 78.27 kB / 0.6637 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1878, allocations: 4 kB / 0.6637 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1878, allocations: 4 kB / 0.6637 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1878, allocations: 7.984 kB / 0.6637 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006715/0.1885, allocations: 469.4 kB / 0.6642 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1885, allocations: 0 / 0.6642 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.1899, allocations: 259.7 kB / 0.6644 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1899, allocations: 7.938 kB / 0.6644 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.19, allocations: 19.98 kB / 0.6644 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.19, allocations: 4 kB / 0.6644 GB, free: 13.44 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.19, allocations: 0 / 0.6644 GB, free: 13.44 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.1916, allocations: 1.006 MB / 0.6654 GB, free: 12.42 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.1917, allocations: 108.8 kB / 0.6655 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.1918, allocations: 23.98 kB / 0.6656 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.1921, allocations: 19.97 kB / 0.6656 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1923, allocations: 28.39 kB / 0.6656 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.1923, allocations: 16 kB / 0.6656 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.594e-05/0.1924, allocations: 95.27 kB / 0.6657 GB, free: 12.12 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1924, allocations: 0 / 0.6657 GB, free: 12.12 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003978/0.1928, allocations: 152 kB / 0.6658 GB, free: 11.97 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.0001626/0.193, allocations: 131.6 kB / 0.666 GB, free: 11.83 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.1941, allocations: 0.6425 MB / 0.6666 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1941, allocations: 0 / 0.6666 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.1946, allocations: 322.3 kB / 0.6669 GB, free: 10.87 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.195, allocations: 71.95 kB / 0.667 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.1982, allocations: 2.263 MB / 0.6692 GB, free: 8.512 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.1986, allocations: 0.7995 MB / 0.67 GB, free: 7.688 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004315/0.1991, allocations: 178.8 kB / 0.6701 GB, free: 7.512 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.1992, allocations: 31.44 kB / 0.6702 GB, free: 7.484 MB / 0.5139 GB Notification: Performance of SimCode: time 4.01e-07/0.1993, allocations: 0 / 0.6702 GB, free: 7.484 MB / 0.5139 GB Notification: Performance of Templates: time 0.009905/0.2092, allocations: 5.504 MB / 0.6755 GB, free: 2.062 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