Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009306/0.0009305, allocations: 96.94 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 193.4 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.18 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003756, allocations: 8.203 kB / 418.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 63.57 MB / 482.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002324/0.1328, allocations: 1.775 MB / 484.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1344, allocations: 1.111 MB / 485.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.1345, allocations: 4 kB / 485.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.1348, allocations: 51.67 kB / 485.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.135, allocations: 79.5 kB / 485.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.1354, allocations: 163.4 kB / 485.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.1359, allocations: 473.9 kB / 486.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.136, allocations: 44.72 kB / 486.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.1363, allocations: 147.2 kB / 486.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1365, allocations: 187.2 kB / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.1366, allocations: 12 kB / 486.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.1369, allocations: 207.7 kB / 486.7 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.137, allocations: 87.58 kB / 486.7 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1371, allocations: 85.45 kB / 486.8 MB, free: 68 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.1376, allocations: 343.3 kB / 487.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1376, allocations: 4 kB / 487.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1376, allocations: 0 / 487.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1376, allocations: 0 / 487.2 MB, free: 15.73 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009595/0.1386, allocations: 0.6512 MB / 487.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1386, allocations: 12.03 kB / 487.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.139, allocations: 83.39 kB / 487.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.1394, allocations: 298.2 kB / 488.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.1394, allocations: 29 kB / 488.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.1395, allocations: 36 kB / 488.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1405, allocations: 0.5816 MB / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1405, allocations: 0 / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.1406, allocations: 16 kB / 488.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.1406, allocations: 24.98 kB / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/0.1415, allocations: 455.4 kB / 489.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.1437, allocations: 1.367 MB / 490.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.1443, allocations: 287.6 kB / 491 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.1446, allocations: 150.5 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.865e-05/0.1447, allocations: 7.984 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.398e-05/0.1448, allocations: 46.5 kB / 491.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.365e-06/0.1448, allocations: 0 / 491.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001264/0.1461, allocations: 489.1 kB / 491.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.1461, allocations: 106.8 kB / 491.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006155/0.1468, allocations: 0.5017 MB / 492.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1468, allocations: 33.7 kB / 492.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.147, allocations: 200.2 kB / 492.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.147, allocations: 55.19 kB / 492.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.147, allocations: 4 kB / 492.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1472, allocations: 354.8 kB / 492.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.1475, allocations: 140 kB / 493 MB, free: 9.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.1478, allocations: 187 kB / 493.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.1481, allocations: 158.7 kB / 493.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1482, allocations: 0 / 493.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007615/0.1489, allocations: 408.9 kB / 493.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.149, allocations: 4 kB / 493.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.277e-05/0.149, allocations: 35.98 kB / 493.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.149, allocations: 0 / 493.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1493, allocations: 39.91 kB / 493.8 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1493, allocations: 4 kB / 493.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.1495, allocations: 67.47 kB / 493.9 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.1496, allocations: 23.94 kB / 493.9 MB, free: 8.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.1498, allocations: 177.8 kB / 494.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1499, allocations: 47.42 kB / 494.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008764/0.1508, allocations: 392.7 kB / 494.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.1508, allocations: 7.938 kB / 494.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1508, allocations: 0 / 494.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1508, allocations: 0 / 494.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.1514, allocations: 365.4 kB / 494.9 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.052e-05/0.1515, allocations: 32 kB / 494.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1516, allocations: 31.97 kB / 495 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1516, allocations: 0 / 495 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1517, allocations: 15.98 kB / 495 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1517, allocations: 4 kB / 495 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1517, allocations: 0 / 495 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.1525, allocations: 0.6031 MB / 495.6 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.1526, allocations: 128.5 kB / 495.7 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.1527, allocations: 4 kB / 495.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1529, allocations: 23.98 kB / 495.7 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.153, allocations: 23.97 kB / 495.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1531, allocations: 8 kB / 495.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004139/0.1535, allocations: 379 kB / 496.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1535, allocations: 0 / 496.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.154, allocations: 103.9 kB / 496.2 MB, free: 6.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003146/0.1543, allocations: 159.6 kB / 496.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008758/0.1552, allocations: 0.5343 MB / 496.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1552, allocations: 4.062 kB / 496.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.1557, allocations: 399.1 kB / 497.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.1563, allocations: 101.5 kB / 497.4 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.1578, allocations: 0.8876 MB / 498.3 MB, free: 4.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.1582, allocations: 0.85 MB / 499.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.1584, allocations: 59.25 kB / 499.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.1585, allocations: 27.44 kB / 499.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1585, allocations: 0 / 499.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of Templates: time 0.01082/0.1693, allocations: 6.57 MB / 0.494 GB, free: 12.58 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches