Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001626, allocations: 97.11 kB / 16.3 MB, free: 5.992 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.002392/0.002393, allocations: 182.5 kB / 17.2 MB, free: 5.906 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.386/1.386, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9112/0.9112, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 8 kB / 0.4955 GB, free: 9.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.174, allocations: 82.85 MB / 0.5764 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.001781/0.1759, allocations: 1.127 MB / 0.5775 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003613/0.1763, allocations: 103.7 kB / 0.5776 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.1763, allocations: 0 / 0.5776 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.1765, allocations: 11.92 kB / 0.5776 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.1766, allocations: 23.94 kB / 0.5776 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.1768, allocations: 23.97 kB / 0.5776 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.1775, allocations: 0.6824 MB / 0.5783 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.389e-05/0.1776, allocations: 11.98 kB / 0.5783 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.1782, allocations: 367.6 kB / 0.5787 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008563/0.179, allocations: 491.1 kB / 0.5791 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.1793, allocations: 63.94 kB / 0.5792 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1795, allocations: 64 kB / 0.5792 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.1798, allocations: 339.3 kB / 0.5796 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.1801, allocations: 125.5 kB / 0.5797 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.1806, allocations: 447 kB / 0.5801 GB, free: 2.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1806, allocations: 4 kB / 0.5801 GB, free: 2.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1806, allocations: 0 / 0.5801 GB, free: 2.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.1806, allocations: 3.938 kB / 0.5801 GB, free: 2.953 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004831/0.1854, allocations: 1.491 MB / 0.5816 GB, free: 1.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1855, allocations: 8.031 kB / 0.5816 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/0.1858, allocations: 63.39 kB / 0.5816 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.1869, allocations: 350.3 kB / 0.582 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.998e-05/0.1869, allocations: 53.31 kB / 0.582 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003415/0.1873, allocations: 103.8 kB / 0.5821 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5437/0.731, allocations: 0.8643 MB / 0.583 GB, free: 15.84 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.7311, allocations: 0.5938 kB / 0.583 GB, free: 15.84 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.7312, allocations: 22.25 kB / 0.583 GB, free: 15.84 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.7312, allocations: 14.62 kB / 0.583 GB, free: 15.84 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.7331, allocations: 0.7743 MB / 0.5838 GB, free: 15.83 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00745/0.7406, allocations: 4.357 MB / 0.588 GB, free: 13.09 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.7426, allocations: 0.9821 MB / 0.589 GB, free: 12.95 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.7428, allocations: 14.77 kB / 0.589 GB, free: 12.95 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.7428, allocations: 52.2 kB / 0.589 GB, free: 12.9 MB / 446.3 MB Notification: Performance of pre-optimization done (n=99): time 3.126e-06/0.7428, allocations: 0 / 0.589 GB, free: 12.9 MB / 446.3 MB Notification: Performance of matching and sorting (n=99): time 0.003461/0.7463, allocations: 1.666 MB / 0.5907 GB, free: 12.38 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.7465, allocations: 65.02 kB / 0.5907 GB, free: 12.32 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.7468, allocations: 145.1 kB / 0.5909 GB, free: 12.21 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 8.998e-05/0.7469, allocations: 50.42 kB / 0.5909 GB, free: 12.16 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.747, allocations: 153 kB / 0.5911 GB, free: 12.02 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.7473, allocations: 420.9 kB / 0.5915 GB, free: 11.71 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.7473, allocations: 25.69 kB / 0.5915 GB, free: 11.69 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.7474, allocations: 363.7 kB / 0.5918 GB, free: 11.36 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.7485, allocations: 0.5714 MB / 0.5924 GB, free: 11.2 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.7497, allocations: 0.6546 MB / 0.593 GB, free: 10.99 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.7508, allocations: 0.6602 MB / 0.5937 GB, free: 10.77 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7508, allocations: 0 / 0.5937 GB, free: 10.77 MB / 446.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002583/0.7534, allocations: 1.463 MB / 0.5951 GB, free: 10.29 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.7534, allocations: 10.05 kB / 0.5951 GB, free: 10.28 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7535, allocations: 2.203 kB / 0.5951 GB, free: 10.28 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.7535, allocations: 4.562 kB / 0.5951 GB, free: 10.28 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/0.7559, allocations: 0.5265 MB / 0.5956 GB, free: 10.26 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.851e-05/0.7559, allocations: 6.344 kB / 0.5956 GB, free: 10.26 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.757, allocations: 127.8 kB / 0.5958 GB, free: 10.19 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.7572, allocations: 37.38 kB / 0.5958 GB, free: 10.18 MB / 446.3 MB 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 (157): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004612/0.7576, allocations: 216.2 kB / 0.596 GB, free: 10.02 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.7578, allocations: 41.33 kB / 0.596 GB, free: 10 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.7582, allocations: 154.5 kB / 0.5962 GB, free: 9.855 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.7582, allocations: 9.203 kB / 0.5962 GB, free: 9.855 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/0.7582, allocations: 0 / 0.5962 GB, free: 9.855 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.7582, allocations: 11.27 kB / 0.5962 GB, free: 9.852 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.7596, allocations: 0.7937 MB / 0.597 GB, free: 9.492 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.7596, allocations: 0.7031 kB / 0.597 GB, free: 9.492 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003115/0.7627, allocations: 0.5245 MB / 0.5975 GB, free: 9.469 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-05/0.7629, allocations: 3.688 kB / 0.5975 GB, free: 9.469 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/0.7632, allocations: 46.16 kB / 0.5975 GB, free: 9.453 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.7632, allocations: 8.438 kB / 0.5976 GB, free: 9.449 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7632, allocations: 4.875 kB / 0.5976 GB, free: 9.445 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.7669, allocations: 1.965 MB / 0.5995 GB, free: 8.711 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.7671, allocations: 126.9 kB / 0.5996 GB, free: 8.582 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.7672, allocations: 39.38 kB / 0.5996 GB, free: 8.57 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008845/0.7681, allocations: 72.3 kB / 0.5997 GB, free: 8.535 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.7684, allocations: 58.17 kB / 0.5998 GB, free: 8.527 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.7685, allocations: 24.89 kB / 0.5998 GB, free: 8.523 MB / 446.3 MB Notification: Performance of sorting global known variables: time 7.037e-05/0.7685, allocations: 98.59 kB / 0.5999 GB, free: 8.441 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7685, allocations: 0 / 0.5999 GB, free: 8.441 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.00105/0.7696, allocations: 313.1 kB / 0.6002 GB, free: 8.398 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002607/0.7699, allocations: 158.1 kB / 0.6003 GB, free: 8.27 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002827/0.7727, allocations: 1.335 MB / 0.6016 GB, free: 7.891 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7727, allocations: 1.281 kB / 0.6016 GB, free: 7.891 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.774, allocations: 0.6528 MB / 0.6023 GB, free: 7.68 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.7747, allocations: 120.7 kB / 0.6024 GB, free: 7.637 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007321/0.7821, allocations: 5.562 MB / 0.6078 GB, free: 3.805 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.7826, allocations: 0.924 MB / 0.6087 GB, free: 3.012 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.001726/0.7843, allocations: 394.9 kB / 0.6091 GB, free: 2.844 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/0.7848, allocations: 49.53 kB / 0.6091 GB, free: 2.84 MB / 446.3 MB Notification: Performance of SimCode: time 1.383e-06/0.7848, allocations: 0 / 0.6091 GB, free: 2.84 MB / 446.3 MB Notification: Performance of Templates: time 0.01922/0.8041, allocations: 9.921 MB / 0.6188 GB, free: 12.94 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches