Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008712/0.0008712, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.137/1.137, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1617/0.1617, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001992/0.0001992, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08566/0.08587, allocations: 63.55 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.001838/0.08774, allocations: 1.82 MB / 484.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.08983, allocations: 1.788 MB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.0899, allocations: 3.938 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.09015, allocations: 83.5 kB / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.09027, allocations: 59.48 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.09083, allocations: 279.1 kB / 487.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.09101, allocations: 159 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.09106, allocations: 20.28 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.09113, allocations: 51.67 kB / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.09123, allocations: 63.59 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.09125, allocations: 4 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009495/0.0922, allocations: 0.7763 MB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.09226, allocations: 27.8 kB / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.09235, allocations: 101.1 kB / 488.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005747/0.09293, allocations: 0.5802 MB / 488.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.09294, allocations: 0 / 488.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.09295, allocations: 0 / 488.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.09295, allocations: 3.938 kB / 488.9 MB, free: 14.3 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005218/0.09348, allocations: 491.2 kB / 489.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.09352, allocations: 13.95 kB / 489.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.09357, allocations: 28.64 kB / 489.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.09373, allocations: 208.5 kB / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.09376, allocations: 16.38 kB / 489.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.09378, allocations: 20 kB / 489.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.09415, allocations: 271.5 kB / 489.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.09417, allocations: 0 / 489.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.09419, allocations: 8 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.0942, allocations: 4 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.09449, allocations: 164.2 kB / 490.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/0.09532, allocations: 0.908 MB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.09549, allocations: 70.48 kB / 491.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.09561, allocations: 32.95 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.09564, allocations: 7.984 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.09566, allocations: 38.56 kB / 491.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.09567, allocations: 0 / 491.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003951/0.09607, allocations: 149.3 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.09611, allocations: 55.34 kB / 491.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.09632, allocations: 270.9 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.09634, allocations: 25.7 kB / 491.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.09644, allocations: 179.1 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.09646, allocations: 23.66 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.0965, allocations: 29.7 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.0966, allocations: 334.8 kB / 492.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.09673, allocations: 52.2 kB / 492.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.09693, allocations: 201.9 kB / 492.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.09727, allocations: 267.5 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.09728, allocations: 0 / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004164/0.0977, allocations: 257.1 kB / 492.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.09772, allocations: 8 kB / 493 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.09776, allocations: 19.98 kB / 493 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.09778, allocations: 12 kB / 493 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.09792, allocations: 52.55 kB / 493 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.09794, allocations: 19.91 kB / 493.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.09809, allocations: 39.59 kB / 493.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.09811, allocations: 16.09 kB / 493.1 MB, free: 9.684 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001005/0.09822, allocations: 141.7 kB / 493.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.09826, allocations: 23.72 kB / 493.3 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.0986, allocations: 146.8 kB / 493.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.09862, allocations: 11.94 kB / 493.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.09863, allocations: 0 / 493.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.09863, allocations: 0 / 493.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.09883, allocations: 221.5 kB / 493.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.09885, allocations: 8 kB / 493.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.09891, allocations: 11.98 kB / 493.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.09891, allocations: 0 / 493.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.09893, allocations: 4 kB / 493.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.09893, allocations: 3.938 kB / 493.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.09894, allocations: 8 kB / 493.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.09921, allocations: 207.2 kB / 493.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.09927, allocations: 96.81 kB / 494 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.0993, allocations: 4 kB / 494 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.0994, allocations: 11.94 kB / 494 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.09944, allocations: 11.92 kB / 494 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.09945, allocations: 0 / 494 MB, free: 8.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.09959, allocations: 186 kB / 494.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09959, allocations: 0 / 494.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.09996, allocations: 96 kB / 494.3 MB, free: 8.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003341/0.1003, allocations: 207 kB / 494.5 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.1007, allocations: 216.5 kB / 494.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1007, allocations: 0 / 494.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.1009, allocations: 107.3 kB / 494.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1012, allocations: 20.89 kB / 494.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.1017, allocations: 435.4 kB / 495.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.102, allocations: 0.7326 MB / 496 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.326e-05/0.102, allocations: 29.88 kB / 496 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.1021, allocations: 15.44 kB / 496 MB, free: 6.574 MB / 366.1 MB Notification: Performance of SimCode: time 1.333e-06/0.1021, allocations: 0 / 496 MB, free: 6.574 MB / 366.1 MB Notification: Performance of Templates: time 0.008522/0.1106, allocations: 6.143 MB / 0.4904 GB, free: 476 kB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches