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.0008585/0.0008586, allocations: 90.89 kB / 17.31 MB, free: 5.664 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.0009376/0.0009376, allocations: 179.2 kB / 18.21 MB, free: 5.25 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.311/1.311, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.039/1.039, allocations: 120.5 MB / 413.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 8 kB / 0.4969 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6008, allocations: 82.84 MB / 0.5778 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.00134/0.6022, allocations: 1.186 MB / 0.5789 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002614/0.6025, allocations: 92.06 kB / 0.579 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.6026, allocations: 1.344 kB / 0.579 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.6027, allocations: 13.42 kB / 0.579 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.6028, allocations: 64.7 kB / 0.5791 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.603, allocations: 26.7 kB / 0.5791 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.604, allocations: 1.212 MB / 0.5803 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.684e-05/0.6041, allocations: 7.375 kB / 0.5803 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.6045, allocations: 391.3 kB / 0.5807 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007053/0.6052, allocations: 0.5735 MB / 0.5812 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.6054, allocations: 62.03 kB / 0.5813 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.6055, allocations: 64.53 kB / 0.5814 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.6058, allocations: 371 kB / 0.5817 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.6062, allocations: 416.1 kB / 0.5821 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.6066, allocations: 445.7 kB / 0.5825 GB, free: 39.42 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6066, allocations: 0 / 0.5825 GB, free: 39.42 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6066, allocations: 3.938 kB / 0.5825 GB, free: 39.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.6067, allocations: 1.281 kB / 0.5825 GB, free: 39.41 MB / 462.3 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.004305/0.611, allocations: 1.494 MB / 0.584 GB, free: 38.5 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.611, allocations: 10.06 kB / 0.584 GB, free: 38.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.6112, allocations: 60.56 kB / 0.5841 GB, free: 38.48 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.6117, allocations: 355.6 kB / 0.5844 GB, free: 38.19 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.6118, allocations: 55.41 kB / 0.5845 GB, free: 38.17 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.612, allocations: 105.8 kB / 0.5846 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.6134, allocations: 0.8814 MB / 0.5854 GB, free: 37.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.6135, allocations: 192 / 0.5854 GB, free: 37.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.6136, allocations: 28.84 kB / 0.5855 GB, free: 37.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.6136, allocations: 13.41 kB / 0.5855 GB, free: 37.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.6149, allocations: 0.7724 MB / 0.5862 GB, free: 37.26 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/0.6199, allocations: 4.359 MB / 0.5905 GB, free: 32.47 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.6212, allocations: 0.9916 MB / 0.5914 GB, free: 31.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/0.622, allocations: 0.672 MB / 0.5921 GB, free: 30.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/0.6221, allocations: 9 kB / 0.5921 GB, free: 30.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.6221, allocations: 51.48 kB / 0.5922 GB, free: 30.72 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 3.086e-06/0.6221, allocations: 0 / 0.5922 GB, free: 30.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002413/0.6245, allocations: 1.664 MB / 0.5938 GB, free: 29.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.6246, allocations: 60.41 kB / 0.5938 GB, free: 28.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.6247, allocations: 149.7 kB / 0.594 GB, free: 28.83 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.6248, allocations: 53.7 kB / 0.594 GB, free: 28.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.6248, allocations: 145.8 kB / 0.5942 GB, free: 28.62 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.6251, allocations: 422.1 kB / 0.5946 GB, free: 28.2 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.6252, allocations: 125.6 kB / 0.5947 GB, free: 28.07 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.6253, allocations: 366.8 kB / 0.595 GB, free: 27.71 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007665/0.6261, allocations: 0.5725 MB / 0.5956 GB, free: 27.14 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/0.6269, allocations: 0.6638 MB / 0.5963 GB, free: 26.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.6285, allocations: 1.27 MB / 0.5975 GB, free: 25.19 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6285, allocations: 0 / 0.5975 GB, free: 25.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001965/0.6305, allocations: 1.472 MB / 0.5989 GB, free: 23.71 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.6305, allocations: 7.938 kB / 0.5989 GB, free: 23.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6306, allocations: 0 / 0.5989 GB, free: 23.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.6306, allocations: 8 kB / 0.5989 GB, free: 23.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.6326, allocations: 0.5307 MB / 0.5995 GB, free: 23.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.6327, allocations: 11.98 kB / 0.5995 GB, free: 23.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/0.6335, allocations: 123 kB / 0.5996 GB, free: 23.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/0.6336, allocations: 36 kB / 0.5996 GB, free: 23 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003041/0.6339, allocations: 217.5 kB / 0.5998 GB, free: 22.77 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.634, allocations: 47.47 kB / 0.5999 GB, free: 22.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.6345, allocations: 144 kB / 0.6 GB, free: 22.58 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.6345, allocations: 12 kB / 0.6 GB, free: 22.57 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.6345, allocations: 0 / 0.6 GB, free: 22.57 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.6345, allocations: 7.984 kB / 0.6 GB, free: 22.56 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009002/0.6354, allocations: 0.794 MB / 0.6008 GB, free: 21.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6354, allocations: 0 / 0.6008 GB, free: 21.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/0.6379, allocations: 0.5269 MB / 0.6013 GB, free: 21.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.6379, allocations: 3.938 kB / 0.6013 GB, free: 21.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.842e-05/0.638, allocations: 43.95 kB / 0.6014 GB, free: 21.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.6381, allocations: 4 kB / 0.6014 GB, free: 21.14 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6381, allocations: 4 kB / 0.6014 GB, free: 21.14 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.6405, allocations: 1.968 MB / 0.6033 GB, free: 19.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.6407, allocations: 128.3 kB / 0.6034 GB, free: 19.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.6408, allocations: 39.97 kB / 0.6035 GB, free: 18.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007514/0.6416, allocations: 71.72 kB / 0.6035 GB, free: 18.91 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.6417, allocations: 60.91 kB / 0.6036 GB, free: 18.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.6418, allocations: 24 kB / 0.6036 GB, free: 18.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.6419, allocations: 98.92 kB / 0.6037 GB, free: 18.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6419, allocations: 0 / 0.6037 GB, free: 18.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006616/0.6425, allocations: 315.7 kB / 0.604 GB, free: 18.42 MB / 462.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 (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.0002044/0.6427, allocations: 161.7 kB / 0.6042 GB, free: 18.25 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.6445, allocations: 1.334 MB / 0.6055 GB, free: 16.92 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6445, allocations: 0 / 0.6055 GB, free: 16.92 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007746/0.6453, allocations: 0.6576 MB / 0.6061 GB, free: 16.26 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.6459, allocations: 132.7 kB / 0.6062 GB, free: 16.13 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/0.6514, allocations: 5.66 MB / 0.6118 GB, free: 10.43 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.6517, allocations: 0.9144 MB / 0.6127 GB, free: 9.488 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/0.6523, allocations: 55.44 kB / 0.6127 GB, free: 9.434 MB / 462.3 MB Notification: Performance of SimCode: time 4.21e-07/0.6523, allocations: 0 / 0.6127 GB, free: 9.434 MB / 462.3 MB Notification: Performance of Templates: time 0.0119/0.6642, allocations: 10.6 MB / 0.6231 GB, free: 14.84 MB / 478.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/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