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.001422/0.001422, allocations: 117.8 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 213.9 kB / 19.4 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3204, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003452/0.3239, allocations: 2.116 MB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.3263, allocations: 1.715 MB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.3264, allocations: 1.375 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.3268, allocations: 94.59 kB / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.327, allocations: 55.69 kB / 0.5356 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008992/0.3279, allocations: 365.3 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3281, allocations: 142.8 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.3282, allocations: 24.45 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.3283, allocations: 59.34 kB / 0.5361 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3284, allocations: 55.62 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3284, allocations: 7.188 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.3296, allocations: 0.7903 MB / 0.537 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.3297, allocations: 27.3 kB / 0.537 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.724e-05/0.3298, allocations: 68.45 kB / 0.537 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.3306, allocations: 0.5992 MB / 0.5376 GB, free: 9.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3306, allocations: 4 kB / 0.5376 GB, free: 9.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3306, allocations: 0.9375 kB / 0.5376 GB, free: 9.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3306, allocations: 0 / 0.5376 GB, free: 9.066 MB / 398.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.0007375/0.3314, allocations: 0.5039 MB / 0.5381 GB, free: 8.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.3314, allocations: 10.58 kB / 0.5381 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.3315, allocations: 23.31 kB / 0.5382 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3317, allocations: 214.5 kB / 0.5384 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3317, allocations: 19.91 kB / 0.5384 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.3318, allocations: 17.03 kB / 0.5384 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.3322, allocations: 270.4 kB / 0.5387 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3322, allocations: 0 / 0.5387 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3322, allocations: 6.219 kB / 0.5387 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3323, allocations: 6.219 kB / 0.5387 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.3326, allocations: 159.7 kB / 0.5388 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.3336, allocations: 0.9044 MB / 0.5397 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.3338, allocations: 66.14 kB / 0.5398 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.334, allocations: 32.66 kB / 0.5398 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.334, allocations: 1.125 kB / 0.5398 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.334, allocations: 31.81 kB / 0.5398 GB, free: 7.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.334, allocations: 3.938 kB / 0.5398 GB, free: 7.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004496/0.3345, allocations: 135.6 kB / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3345, allocations: 59.33 kB / 0.54 GB, free: 6.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.3348, allocations: 261.9 kB / 0.5403 GB, free: 6.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3348, allocations: 29.64 kB / 0.5403 GB, free: 6.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3349, allocations: 188.5 kB / 0.5405 GB, free: 6.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.335, allocations: 16.5 kB / 0.5405 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/0.335, allocations: 54.12 kB / 0.5405 GB, free: 6.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3352, allocations: 336 kB / 0.5409 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3354, allocations: 46.16 kB / 0.5409 GB, free: 6.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.3356, allocations: 186.6 kB / 0.5411 GB, free: 5.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.3359, allocations: 253.7 kB / 0.5413 GB, free: 5.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.336, allocations: 2.031 kB / 0.5413 GB, free: 5.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005303/0.3365, allocations: 258.8 kB / 0.5416 GB, free: 5.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3365, allocations: 8.625 kB / 0.5416 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/0.3366, allocations: 17 kB / 0.5416 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3366, allocations: 10.69 kB / 0.5416 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3368, allocations: 54.16 kB / 0.5417 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.3368, allocations: 11.19 kB / 0.5417 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.337, allocations: 46.02 kB / 0.5417 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.337, allocations: 13.91 kB / 0.5417 GB, free: 5.492 MB / 398.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.0001108/0.3371, allocations: 136.6 kB / 0.5419 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.3372, allocations: 19.88 kB / 0.5419 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.3375, allocations: 135.7 kB / 0.542 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3376, allocations: 8.953 kB / 0.542 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3376, allocations: 1.25 kB / 0.542 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3376, allocations: 7.938 kB / 0.542 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3378, allocations: 217 kB / 0.5422 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.3379, allocations: 9.531 kB / 0.5422 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.3379, allocations: 8.016 kB / 0.5423 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3379, allocations: 0 / 0.5423 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.338, allocations: 2.531 kB / 0.5423 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.338, allocations: 5.25 kB / 0.5423 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.338, allocations: 0 / 0.5423 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.3383, allocations: 206.6 kB / 0.5425 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.3383, allocations: 90.2 kB / 0.5425 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.3384, allocations: 5.094 kB / 0.5426 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3385, allocations: 15.55 kB / 0.5426 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.3385, allocations: 2.656 kB / 0.5426 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.3386, allocations: 3.5 kB / 0.5426 GB, free: 4.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.3388, allocations: 183.7 kB / 0.5427 GB, free: 4.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3388, allocations: 0 / 0.5427 GB, free: 4.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005578/0.3394, allocations: 108.3 kB / 0.5429 GB, free: 4.566 MB / 398.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.0004741/0.3398, allocations: 208.6 kB / 0.543 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.3404, allocations: 197 kB / 0.5432 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3404, allocations: 0 / 0.5432 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3406, allocations: 98.81 kB / 0.5433 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.341, allocations: 28.95 kB / 0.5434 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.3417, allocations: 396.7 kB / 0.5437 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.3421, allocations: 0.7288 MB / 0.5444 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.3421, allocations: 21.22 kB / 0.5445 GB, free: 3.191 MB / 398.1 MB Notification: Performance of SimCode: time 4.128e-06/0.3421, allocations: 0 / 0.5445 GB, free: 3.191 MB / 398.1 MB Notification: Performance of Templates: time 0.008238/0.3504, allocations: 5.142 MB / 0.5495 GB, free: 14.93 MB / 414.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/jenkins1/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/jenkins1/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