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.00109/0.00109, allocations: 114.8 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 71.41 kB / 417.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.11, allocations: 62.45 MB / 480.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002956/0.113, allocations: 2.179 MB / 482.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1145, allocations: 1.207 MB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.1146, allocations: 8 kB / 483.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.1148, allocations: 59.66 kB / 483.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.115, allocations: 83.5 kB / 483.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.1154, allocations: 163.5 kB / 483.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.1158, allocations: 438 kB / 484.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.1159, allocations: 44.72 kB / 484.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.1162, allocations: 155.2 kB / 484.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.1164, allocations: 195 kB / 484.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.1164, allocations: 12 kB / 484.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.1167, allocations: 223.7 kB / 484.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.285e-05/0.1168, allocations: 95.52 kB / 485 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.117, allocations: 170.8 kB / 485.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1173, allocations: 355.3 kB / 485.5 MB, free: 220 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1173, allocations: 0 / 485.5 MB, free: 220 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1173, allocations: 0 / 485.5 MB, free: 220 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1173, allocations: 0 / 485.5 MB, free: 220 kB / 350.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.001034/0.1184, allocations: 0.7136 MB / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1184, allocations: 11.97 kB / 486.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.1188, allocations: 72.42 kB / 486.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1191, allocations: 291.5 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.1191, allocations: 33.38 kB / 486.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.1192, allocations: 40.36 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.12, allocations: 0.578 MB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.12, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.1201, allocations: 16 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.1201, allocations: 28.98 kB / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.1209, allocations: 423.6 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.1224, allocations: 1.383 MB / 489.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.1229, allocations: 271.6 kB / 489.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1232, allocations: 142.4 kB / 489.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.1233, allocations: 7.984 kB / 489.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1233, allocations: 38.56 kB / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.1233, allocations: 0 / 489.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00108/0.1244, allocations: 448.9 kB / 490 MB, free: 11.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1245, allocations: 111 kB / 490.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.1249, allocations: 0.5056 MB / 490.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.125, allocations: 33.7 kB / 490.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1251, allocations: 204.2 kB / 490.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.1252, allocations: 59.19 kB / 490.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.1253, allocations: 49.7 kB / 490.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1254, allocations: 354.8 kB / 491.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.1257, allocations: 127.9 kB / 491.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.126, allocations: 169 kB / 491.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.1266, allocations: 299.7 kB / 491.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1266, allocations: 0 / 491.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007336/0.1273, allocations: 384.8 kB / 492.2 MB, free: 9.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1274, allocations: 11.94 kB / 492.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.158e-05/0.1274, allocations: 28 kB / 492.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1274, allocations: 4 kB / 492.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.1276, allocations: 40.05 kB / 492.3 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.1276, allocations: 7.984 kB / 492.3 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.1279, allocations: 55.45 kB / 492.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.128, allocations: 11.98 kB / 492.4 MB, free: 9.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.1281, allocations: 189.7 kB / 492.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.1282, allocations: 43.38 kB / 492.6 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006768/0.1289, allocations: 380.6 kB / 493 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1289, allocations: 4 kB / 493 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1289, allocations: 7.984 kB / 493 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1289, allocations: 0 / 493 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.1294, allocations: 361.3 kB / 493.4 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.878e-05/0.1295, allocations: 35.98 kB / 493.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1296, allocations: 23.97 kB / 493.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1296, allocations: 7.938 kB / 493.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.1297, allocations: 12 kB / 493.4 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1297, allocations: 3.938 kB / 493.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1297, allocations: 0 / 493.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007249/0.1304, allocations: 0.5678 MB / 494 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.1305, allocations: 124.5 kB / 494.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.1306, allocations: 4 kB / 494.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.1308, allocations: 23.97 kB / 494.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.1309, allocations: 19.98 kB / 494.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.1309, allocations: 11.94 kB / 494.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003393/0.1313, allocations: 387 kB / 494.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1313, allocations: 0 / 494.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004424/0.1317, allocations: 111.9 kB / 494.7 MB, free: 6.633 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 (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.000251/0.132, allocations: 155.1 kB / 494.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007843/0.1328, allocations: 0.5263 MB / 495.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1328, allocations: 320 / 495.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.1332, allocations: 387.7 kB / 495.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.1339, allocations: 105.7 kB / 495.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1351, allocations: 0.9351 MB / 496.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.1355, allocations: 0.8419 MB / 497.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.1356, allocations: 31.42 kB / 497.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1356, allocations: 0 / 497.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of Templates: time 0.6977/0.8333, allocations: 6.97 MB / 0.4928 GB, free: 12.56 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/jenkins1/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/jenkins1/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