Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001616, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2454/0.2454, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4228, allocations: 62.44 MB / 0.531 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004816/0.4277, allocations: 2.695 MB / 0.5337 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.4305, allocations: 1.471 MB / 0.5351 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.4307, allocations: 2.562 kB / 0.5351 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.4311, allocations: 115.1 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.4315, allocations: 131.8 kB / 0.5353 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.4321, allocations: 265.8 kB / 0.5356 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.4325, allocations: 276.4 kB / 0.5359 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.4326, allocations: 35.83 kB / 0.5359 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.4327, allocations: 93.56 kB / 0.536 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.4329, allocations: 122 kB / 0.5361 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.433, allocations: 6.844 kB / 0.5361 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.4342, allocations: 0.6172 MB / 0.5367 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.4343, allocations: 39.28 kB / 0.5367 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.4345, allocations: 135.3 kB / 0.5369 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008838/0.4354, allocations: 0.5571 MB / 0.5374 GB, free: 8.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4354, allocations: 0 / 0.5374 GB, free: 8.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4354, allocations: 4.875 kB / 0.5374 GB, free: 8.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.4354, allocations: 0 / 0.5374 GB, free: 8.562 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009302/0.4364, allocations: 0.644 MB / 0.5381 GB, free: 7.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.4364, allocations: 9.125 kB / 0.5381 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.4365, allocations: 40.55 kB / 0.5381 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.4368, allocations: 253.4 kB / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.4368, allocations: 27.72 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.4369, allocations: 39.28 kB / 0.5384 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007649/0.4377, allocations: 0.5768 MB / 0.539 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.4377, allocations: 6.094 kB / 0.539 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.4377, allocations: 19.53 kB / 0.539 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.4378, allocations: 11.25 kB / 0.539 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.4383, allocations: 334.3 kB / 0.5393 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.4412, allocations: 4.051 MB / 0.5433 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.4415, allocations: 91.59 kB / 0.5434 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.4417, allocations: 41.56 kB / 0.5434 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.4417, allocations: 5.266 kB / 0.5434 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.4418, allocations: 30.56 kB / 0.5434 GB, free: 2.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 3.366e-06/0.4418, allocations: 5.297 kB / 0.5434 GB, free: 2.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005997/0.4424, allocations: 169.9 kB / 0.5436 GB, free: 2.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4425, allocations: 52.84 kB / 0.5437 GB, free: 2.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.4429, allocations: 416.3 kB / 0.5441 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.443, allocations: 26.8 kB / 0.5441 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.4431, allocations: 259.1 kB / 0.5443 GB, free: 2.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.4432, allocations: 24.28 kB / 0.5443 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.4433, allocations: 69.5 kB / 0.5444 GB, free: 2.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4434, allocations: 350.8 kB / 0.5447 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.4436, allocations: 60.55 kB / 0.5448 GB, free: 1.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.4439, allocations: 269.1 kB / 0.5451 GB, free: 1.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.4445, allocations: 348.7 kB / 0.5454 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4445, allocations: 6.344 kB / 0.5454 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006605/0.4452, allocations: 348.2 kB / 0.5457 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4452, allocations: 7.875 kB / 0.5457 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4452, allocations: 15.12 kB / 0.5458 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.57e-05/0.4452, allocations: 11 kB / 0.5458 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.4458, allocations: 110.7 kB / 0.5459 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007693/0.4466, allocations: 1.22 MB / 0.5471 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.4469, allocations: 65.7 kB / 0.5471 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.4469, allocations: 21.75 kB / 0.5471 GB, free: 15.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.4471, allocations: 154.8 kB / 0.5473 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.4472, allocations: 39.05 kB / 0.5473 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.4477, allocations: 179.8 kB / 0.5475 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4477, allocations: 1.156 kB / 0.5475 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4477, allocations: 0 / 0.5475 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4477, allocations: 0 / 0.5475 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.4481, allocations: 275.9 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4481, allocations: 3.938 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.4484, allocations: 53.59 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4484, allocations: 0 / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4484, allocations: 2.125 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007709/0.4492, allocations: 1.207 MB / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4492, allocations: 0 / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.4496, allocations: 237 kB / 0.5492 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4497, allocations: 113.2 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.4498, allocations: 5.281 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.4499, allocations: 2.938 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.45, allocations: 16.64 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.45, allocations: 2.188 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003082/0.4503, allocations: 272.5 kB / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4503, allocations: 0 / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006269/0.451, allocations: 125.5 kB / 0.5497 GB, free: 13.22 MB / 414.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00043/0.4514, allocations: 188.3 kB / 0.5499 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006253/0.452, allocations: 201.3 kB / 0.5501 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4521, allocations: 0.5 kB / 0.5501 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.4524, allocations: 82.89 kB / 0.5502 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.4528, allocations: 44.33 kB / 0.5502 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009881/0.4538, allocations: 0.4972 MB / 0.5507 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.4542, allocations: 0.7678 MB / 0.5515 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.4543, allocations: 42.94 kB / 0.5515 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.4544, allocations: 23.44 kB / 0.5515 GB, free: 11.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4544, allocations: 0 / 0.5515 GB, free: 11.62 MB / 414.1 MB Notification: Performance of Templates: time 0.0118/0.4662, allocations: 6.37 MB / 0.5578 GB, free: 5.301 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches