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.001131/0.001131, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4102, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004142/0.4143, allocations: 2.117 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.4181, allocations: 1.716 MB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.4184, allocations: 1.375 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.4189, allocations: 90.59 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.4194, allocations: 59.69 kB / 0.5349 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.4209, allocations: 358.2 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.4214, allocations: 146.2 kB / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.4215, allocations: 21.7 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.4216, allocations: 55.5 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.4218, allocations: 63.09 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.4218, allocations: 2.75 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.4241, allocations: 0.7905 MB / 0.5363 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.4242, allocations: 27.42 kB / 0.5363 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.4244, allocations: 68.73 kB / 0.5364 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.4259, allocations: 0.5988 MB / 0.537 GB, free: 9.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.4259, allocations: 0 / 0.537 GB, free: 9.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4259, allocations: 5.094 kB / 0.537 GB, free: 9.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.426, allocations: 0 / 0.537 GB, free: 9.051 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.001508/0.4275, allocations: 0.5086 MB / 0.5375 GB, free: 8.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.4276, allocations: 9.953 kB / 0.5375 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.4277, allocations: 23.66 kB / 0.5375 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.4281, allocations: 213.9 kB / 0.5377 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.4281, allocations: 20.94 kB / 0.5377 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.4282, allocations: 15.69 kB / 0.5377 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.4288, allocations: 267.2 kB / 0.538 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4288, allocations: 0 / 0.538 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.4289, allocations: 10.25 kB / 0.538 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.4289, allocations: 5.469 kB / 0.538 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.4293, allocations: 156.1 kB / 0.5382 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.4308, allocations: 0.9047 MB / 0.539 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.4311, allocations: 61.58 kB / 0.5391 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.4312, allocations: 41.66 kB / 0.5391 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.4313, allocations: 1.344 kB / 0.5391 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.4313, allocations: 30.56 kB / 0.5392 GB, free: 7.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.895e-06/0.4313, allocations: 0 / 0.5392 GB, free: 7.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005436/0.4319, allocations: 135.8 kB / 0.5393 GB, free: 7.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.432, allocations: 59.34 kB / 0.5394 GB, free: 6.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.4324, allocations: 262.3 kB / 0.5396 GB, free: 6.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.4324, allocations: 25.7 kB / 0.5396 GB, free: 6.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.4326, allocations: 189.4 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.4326, allocations: 14.92 kB / 0.5398 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.4328, allocations: 57.67 kB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4329, allocations: 328.6 kB / 0.5402 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.4331, allocations: 54.75 kB / 0.5402 GB, free: 6.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.4333, allocations: 190.3 kB / 0.5404 GB, free: 5.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.4338, allocations: 254.6 kB / 0.5407 GB, free: 5.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4339, allocations: 1.594 kB / 0.5407 GB, free: 5.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000707/0.4346, allocations: 263.2 kB / 0.5409 GB, free: 5.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.4346, allocations: 6.625 kB / 0.5409 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-05/0.4347, allocations: 13.44 kB / 0.5409 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.4347, allocations: 6.75 kB / 0.5409 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.4349, allocations: 50.72 kB / 0.541 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.4349, allocations: 14.53 kB / 0.541 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.4352, allocations: 46.33 kB / 0.5411 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.4352, allocations: 17.53 kB / 0.5411 GB, free: 5.473 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.0002559/0.4355, allocations: 133 kB / 0.5412 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.4356, allocations: 21.06 kB / 0.5412 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.436, allocations: 139.8 kB / 0.5414 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.436, allocations: 3.938 kB / 0.5414 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.436, allocations: 1.062 kB / 0.5414 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.436, allocations: 0 / 0.5414 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.4364, allocations: 214.1 kB / 0.5416 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/0.4364, allocations: 15.42 kB / 0.5416 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.4365, allocations: 9.562 kB / 0.5416 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4365, allocations: 3.938 kB / 0.5416 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4365, allocations: 2.188 kB / 0.5416 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4365, allocations: 5 kB / 0.5416 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4365, allocations: 0 / 0.5416 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.437, allocations: 203.7 kB / 0.5418 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.4371, allocations: 93.86 kB / 0.5419 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.4371, allocations: 0 / 0.5419 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4373, allocations: 16.64 kB / 0.5419 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.4373, allocations: 2.281 kB / 0.5419 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4374, allocations: 15.33 kB / 0.5419 GB, free: 4.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.4376, allocations: 179.9 kB / 0.5421 GB, free: 4.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4376, allocations: 0 / 0.5421 GB, free: 4.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006978/0.4383, allocations: 109 kB / 0.5422 GB, free: 4.547 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.0006935/0.439, allocations: 207.8 kB / 0.5424 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005677/0.4396, allocations: 192.6 kB / 0.5426 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4396, allocations: 0 / 0.5426 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.4398, allocations: 106.2 kB / 0.5427 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.4403, allocations: 30.97 kB / 0.5427 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.4412, allocations: 360.4 kB / 0.543 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4416, allocations: 0.7295 MB / 0.5438 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.4417, allocations: 25.22 kB / 0.5438 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.4418, allocations: 17 kB / 0.5438 GB, free: 3.195 MB / 398.1 MB Notification: Performance of SimCode: time 3.537e-06/0.4418, allocations: 0 / 0.5438 GB, free: 3.195 MB / 398.1 MB Notification: Performance of Templates: time 0.01609/0.4579, allocations: 6.471 MB / 0.5501 GB, free: 13.61 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/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