Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, 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.2273/0.2273, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 79.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4268, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003317/0.4302, allocations: 2.125 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.4321, allocations: 1.422 MB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.4322, allocations: 1.375 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.4325, allocations: 85.19 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.4327, allocations: 66.28 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.4333, allocations: 212.8 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.4335, allocations: 146.1 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.4335, allocations: 21.91 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.4338, allocations: 63.11 kB / 0.5351 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.4339, allocations: 65.7 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.4339, allocations: 4.344 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.4346, allocations: 435.6 kB / 0.5355 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.4346, allocations: 24.8 kB / 0.5356 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.4347, allocations: 62.78 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.4354, allocations: 444 kB / 0.536 GB, free: 9.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4354, allocations: 7.984 kB / 0.5361 GB, free: 9.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4355, allocations: 0 / 0.5361 GB, free: 9.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.4355, allocations: 1.062 kB / 0.5361 GB, free: 9.711 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00064/0.4361, allocations: 0.4923 MB / 0.5365 GB, free: 9.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4362, allocations: 13.59 kB / 0.5365 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.4362, allocations: 23.39 kB / 0.5366 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.4364, allocations: 218.2 kB / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.4364, allocations: 15.53 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.4365, allocations: 23.06 kB / 0.5368 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.4369, allocations: 204.9 kB / 0.537 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4369, allocations: 0 / 0.537 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4369, allocations: 5.156 kB / 0.537 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4369, allocations: 5.812 kB / 0.537 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.4372, allocations: 153.2 kB / 0.5372 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.438, allocations: 0.5743 MB / 0.5377 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.4383, allocations: 66.89 kB / 0.5378 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4384, allocations: 28.86 kB / 0.5378 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.4384, allocations: 5.016 kB / 0.5378 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.4384, allocations: 31.72 kB / 0.5379 GB, free: 8.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.4385, allocations: 4 kB / 0.5379 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004701/0.4389, allocations: 127.7 kB / 0.538 GB, free: 8.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.439, allocations: 56.47 kB / 0.538 GB, free: 8.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.4393, allocations: 266 kB / 0.5383 GB, free: 7.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4393, allocations: 26.8 kB / 0.5383 GB, free: 7.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4394, allocations: 171.7 kB / 0.5385 GB, free: 7.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.4395, allocations: 22.47 kB / 0.5385 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.4395, allocations: 41.23 kB / 0.5385 GB, free: 7.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4397, allocations: 336.2 kB / 0.5389 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.4398, allocations: 37.44 kB / 0.5389 GB, free: 7.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.44, allocations: 131.2 kB / 0.539 GB, free: 7.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.4403, allocations: 177.4 kB / 0.5392 GB, free: 6.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4403, allocations: 2.344 kB / 0.5392 GB, free: 6.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004618/0.4408, allocations: 203.2 kB / 0.5394 GB, free: 6.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.4408, allocations: 5.844 kB / 0.5394 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.462e-05/0.4409, allocations: 24.05 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.4409, allocations: 4.219 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.4411, allocations: 30.92 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.4411, allocations: 7.719 kB / 0.5395 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.4412, allocations: 36.58 kB / 0.5395 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.4413, allocations: 13.28 kB / 0.5395 GB, free: 6.762 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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 (17): * Single equations (assignments): 15 * 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.0001225/0.4414, allocations: 130.3 kB / 0.5396 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.4415, allocations: 25.23 kB / 0.5396 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.4418, allocations: 135.5 kB / 0.5398 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4418, allocations: 5.453 kB / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4419, allocations: 0 / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4419, allocations: 0 / 0.5398 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.4421, allocations: 217.1 kB / 0.54 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.4422, allocations: 9.594 kB / 0.54 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.4422, allocations: 8.266 kB / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4422, allocations: 0 / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.4422, allocations: 5.719 kB / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4422, allocations: 5.781 kB / 0.54 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4423, allocations: 0 / 0.54 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.4426, allocations: 211.5 kB / 0.5402 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.4427, allocations: 93.5 kB / 0.5403 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.4427, allocations: 1.438 kB / 0.5403 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.4428, allocations: 6.578 kB / 0.5403 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.4429, allocations: 8.062 kB / 0.5403 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.4429, allocations: 6.688 kB / 0.5403 GB, free: 5.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.443, allocations: 183.2 kB / 0.5405 GB, free: 5.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4431, allocations: 0 / 0.5405 GB, free: 5.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.4435, allocations: 79.02 kB / 0.5406 GB, free: 5.848 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.0003649/0.4438, allocations: 169 kB / 0.5407 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.4443, allocations: 166.9 kB / 0.5409 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4443, allocations: 3.938 kB / 0.5409 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.4445, allocations: 102.6 kB / 0.541 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4449, allocations: 25.92 kB / 0.541 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.4456, allocations: 373.8 kB / 0.5414 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.446, allocations: 0.7324 MB / 0.5421 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.519e-05/0.4461, allocations: 12.64 kB / 0.5421 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.4461, allocations: 19.69 kB / 0.5421 GB, free: 4.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4462, allocations: 0 / 0.5421 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Templates: time 0.01077/0.4569, allocations: 4.223 MB / 0.5463 GB, free: 1.645 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches