Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 111.3 kB / 17.08 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 199 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1905/0.1905, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.09843, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003399/0.1019, allocations: 2.111 MB / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.1039, allocations: 1.262 MB / 0.4919 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1041, allocations: 7.938 kB / 0.4919 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1044, allocations: 63.59 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.1047, allocations: 99.34 kB / 0.492 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.1054, allocations: 195.3 kB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.1059, allocations: 430.1 kB / 0.4926 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.106, allocations: 60.61 kB / 0.4927 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.1063, allocations: 147.2 kB / 0.4928 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.1066, allocations: 183.1 kB / 0.493 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.1066, allocations: 12 kB / 0.493 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.1071, allocations: 259.5 kB / 0.4933 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.1072, allocations: 91.53 kB / 0.4933 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1074, allocations: 174.9 kB / 0.4935 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.1081, allocations: 0.506 MB / 0.494 GB, free: 6.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1081, allocations: 4 kB / 0.494 GB, free: 6.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1082, allocations: 0 / 0.494 GB, free: 6.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1082, allocations: 0 / 0.494 GB, free: 6.195 MB / 382.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.00124/0.1094, allocations: 0.7019 MB / 0.4947 GB, free: 5.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1095, allocations: 15.89 kB / 0.4947 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.1096, allocations: 44.38 kB / 0.4948 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.11, allocations: 287.5 kB / 0.495 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.11, allocations: 29.38 kB / 0.4951 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.1101, allocations: 36.38 kB / 0.4951 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/0.111, allocations: 0.5819 MB / 0.4957 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1111, allocations: 0 / 0.4957 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.1111, allocations: 16 kB / 0.4957 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.1111, allocations: 24.94 kB / 0.4957 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.112, allocations: 427.5 kB / 0.4961 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.114, allocations: 1.383 MB / 0.4975 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/0.1146, allocations: 275.5 kB / 0.4977 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1149, allocations: 130.5 kB / 0.4978 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.115, allocations: 15.97 kB / 0.4979 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.1151, allocations: 38.56 kB / 0.4979 GB, free: 2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.1151, allocations: 0 / 0.4979 GB, free: 2 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.00122/0.1163, allocations: 452.7 kB / 0.4983 GB, free: 1.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.1164, allocations: 111.1 kB / 0.4984 GB, free: 1.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.117, allocations: 0.4979 MB / 0.4989 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.117, allocations: 25.7 kB / 0.4989 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.1172, allocations: 208.2 kB / 0.4991 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.1173, allocations: 51.27 kB / 0.4992 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-05/0.1174, allocations: 53.61 kB / 0.4992 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1175, allocations: 350.8 kB / 0.4996 GB, free: 216 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.1178, allocations: 131.9 kB / 0.4997 GB, free: 84 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.1182, allocations: 165 kB / 0.4999 GB, free: 15.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.1188, allocations: 308.7 kB / 0.5002 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1188, allocations: 0 / 0.5002 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008353/0.1197, allocations: 381 kB / 0.5005 GB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1197, allocations: 14.59 kB / 0.5005 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.083e-05/0.1198, allocations: 24 kB / 0.5006 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1198, allocations: 4 kB / 0.5006 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.1201, allocations: 40.11 kB / 0.5006 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1201, allocations: 4 kB / 0.5006 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.1204, allocations: 55.36 kB / 0.5006 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.1204, allocations: 15.98 kB / 0.5007 GB, free: 15.05 MB / 398.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.0002134/0.1206, allocations: 185.7 kB / 0.5008 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1208, allocations: 43.45 kB / 0.5009 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/0.1215, allocations: 384.5 kB / 0.5013 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1216, allocations: 0 / 0.5013 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1216, allocations: 4 kB / 0.5013 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1216, allocations: 7.922 kB / 0.5013 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.1221, allocations: 361.3 kB / 0.5016 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.302e-05/0.1222, allocations: 28 kB / 0.5016 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1224, allocations: 31.91 kB / 0.5017 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.1224, allocations: 7.922 kB / 0.5017 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.1225, allocations: 16 kB / 0.5017 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1225, allocations: 0 / 0.5017 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1225, allocations: 0 / 0.5017 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.1233, allocations: 0.5716 MB / 0.5022 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.1235, allocations: 124.5 kB / 0.5024 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.1236, allocations: 4 kB / 0.5024 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.1239, allocations: 23.91 kB / 0.5024 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.124, allocations: 19.98 kB / 0.5024 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.124, allocations: 12 kB / 0.5024 GB, free: 13.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004104/0.1244, allocations: 375 kB / 0.5028 GB, free: 12.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1244, allocations: 4 kB / 0.5028 GB, free: 12.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005129/0.1249, allocations: 111.9 kB / 0.5029 GB, free: 12.67 MB / 398.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.0003314/0.1253, allocations: 167.2 kB / 0.503 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.1262, allocations: 0.5184 MB / 0.5036 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.1262, allocations: 4 kB / 0.5036 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004938/0.1267, allocations: 379.5 kB / 0.5039 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.1274, allocations: 109.1 kB / 0.504 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.129, allocations: 0.831 MB / 0.5048 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.1294, allocations: 0.8419 MB / 0.5057 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.1295, allocations: 23.44 kB / 0.5057 GB, free: 9.625 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1295, allocations: 0 / 0.5057 GB, free: 9.625 MB / 398.1 MB Notification: Performance of Templates: time 0.01114/0.1407, allocations: 7.029 MB / 0.5125 GB, free: 2.598 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches