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.0009812/0.0009812, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2753/0.2753, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 75.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4436, 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.003994/0.4476, allocations: 2.117 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.4498, allocations: 1.416 MB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.4499, allocations: 1.062 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.4503, allocations: 87.31 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.4505, allocations: 66.84 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.451, allocations: 212.8 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.4513, allocations: 146.1 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.165e-05/0.4513, allocations: 17.92 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.4515, allocations: 67.03 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.4516, allocations: 65.53 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.4517, allocations: 8.062 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006757/0.4523, allocations: 435.4 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.4524, allocations: 29.44 kB / 0.5356 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.4525, allocations: 63.38 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007029/0.4532, allocations: 445.2 kB / 0.536 GB, free: 9.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4532, allocations: 0 / 0.536 GB, free: 9.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4533, allocations: 1.219 kB / 0.536 GB, free: 9.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.4533, allocations: 0 / 0.536 GB, free: 9.719 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.0008076/0.4541, allocations: 0.4928 MB / 0.5365 GB, free: 9.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.4541, allocations: 10.48 kB / 0.5365 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.4542, allocations: 22.78 kB / 0.5366 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.4545, allocations: 213.8 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.4545, allocations: 11.12 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.4545, allocations: 24.03 kB / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.4549, allocations: 199.7 kB / 0.537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.455, allocations: 1.156 kB / 0.537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.455, allocations: 9.188 kB / 0.537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.455, allocations: 8.797 kB / 0.537 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.4553, allocations: 154.7 kB / 0.5372 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.4562, allocations: 0.5734 MB / 0.5377 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.4565, allocations: 58.08 kB / 0.5378 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.4566, allocations: 33.12 kB / 0.5378 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.4566, allocations: 9.375 kB / 0.5378 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.4567, allocations: 31.81 kB / 0.5378 GB, free: 8.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.4567, allocations: 0 / 0.5378 GB, free: 8.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000484/0.4572, allocations: 136.2 kB / 0.538 GB, free: 8.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4572, allocations: 51.41 kB / 0.538 GB, free: 8.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.4575, allocations: 270.3 kB / 0.5383 GB, free: 7.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4575, allocations: 26.83 kB / 0.5383 GB, free: 7.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4577, allocations: 163 kB / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.4577, allocations: 14.89 kB / 0.5385 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.4578, allocations: 41.47 kB / 0.5385 GB, free: 7.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4579, allocations: 336.1 kB / 0.5388 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.458, allocations: 33.69 kB / 0.5389 GB, free: 7.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.4582, allocations: 134.6 kB / 0.539 GB, free: 7.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.4586, allocations: 181.3 kB / 0.5392 GB, free: 6.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4586, allocations: 2.25 kB / 0.5392 GB, free: 6.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004285/0.459, allocations: 194.7 kB / 0.5394 GB, free: 6.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4591, allocations: 6.75 kB / 0.5394 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/0.4591, allocations: 14.64 kB / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4591, allocations: 5.75 kB / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.4593, allocations: 42.45 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4593, allocations: 8.875 kB / 0.5394 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.4595, allocations: 35.17 kB / 0.5395 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.4595, allocations: 13.19 kB / 0.5395 GB, free: 6.789 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.0001661/0.4597, allocations: 129.8 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.4597, allocations: 17.41 kB / 0.5396 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.4601, allocations: 140.4 kB / 0.5397 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.4602, allocations: 3.984 kB / 0.5398 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4602, allocations: 5.375 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4602, allocations: 0 / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.4605, allocations: 225.2 kB / 0.54 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/0.4605, allocations: 12.2 kB / 0.54 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.4606, allocations: 8.25 kB / 0.54 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4606, allocations: 1.906 kB / 0.54 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4606, allocations: 5.406 kB / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4606, allocations: 0 / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4606, allocations: 1.062 kB / 0.54 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.461, allocations: 203.5 kB / 0.5402 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.4611, allocations: 97.27 kB / 0.5403 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.4611, allocations: 5.406 kB / 0.5403 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4612, allocations: 7.078 kB / 0.5403 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.4613, allocations: 4.125 kB / 0.5403 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.4613, allocations: 2.625 kB / 0.5403 GB, free: 6.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.4615, allocations: 183.7 kB / 0.5405 GB, free: 5.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4615, allocations: 0 / 0.5405 GB, free: 5.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004401/0.4619, allocations: 74.23 kB / 0.5405 GB, free: 5.879 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.0004199/0.4623, allocations: 176.7 kB / 0.5407 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.4629, allocations: 170.8 kB / 0.5409 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4629, allocations: 0.875 kB / 0.5409 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.4631, allocations: 107.2 kB / 0.541 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.4635, allocations: 24.97 kB / 0.541 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008125/0.4643, allocations: 367.4 kB / 0.5414 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4647, allocations: 0.7312 MB / 0.5421 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.4648, allocations: 17.95 kB / 0.5421 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.4648, allocations: 14.28 kB / 0.5421 GB, free: 4.547 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4648, allocations: 0 / 0.5421 GB, free: 4.547 MB / 398.1 MB Notification: Performance of Templates: time 0.009186/0.474, allocations: 4.322 MB / 0.5463 GB, free: 1.598 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