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.001147/0.001147, allocations: 106.8 kB / 16.93 MB, free: 5.793 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.001088/0.001088, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.308/1.308, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.2469/0.2469, allocations: 43.53 MB / 314.6 MB, free: 0.5352 MB / 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.001513/0.001513, allocations: 74.62 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.1007, allocations: 57.79 MB / 441.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002848/0.1035, allocations: 2.092 MB / 443.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1049, allocations: 1.278 MB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.105, allocations: 0 / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1053, allocations: 63.59 kB / 444.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1055, allocations: 95.36 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1059, allocations: 191.3 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.1062, allocations: 434 kB / 445.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.288e-05/0.1062, allocations: 48.66 kB / 445.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1064, allocations: 159.1 kB / 445.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1066, allocations: 179.2 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.1066, allocations: 12 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.107, allocations: 259.5 kB / 446 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.1071, allocations: 91.53 kB / 446.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1072, allocations: 174.8 kB / 446.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.1076, allocations: 0.5021 MB / 446.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1077, allocations: 4 kB / 446.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1077, allocations: 4 kB / 446.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1077, allocations: 0 / 446.8 MB, free: 1.309 MB / 318.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.001/0.1087, allocations: 0.7058 MB / 447.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1087, allocations: 11.89 kB / 447.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.1088, allocations: 44.38 kB / 447.5 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1091, allocations: 283.6 kB / 447.8 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1091, allocations: 29.38 kB / 447.8 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.1091, allocations: 44.36 kB / 447.9 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/0.11, allocations: 0.5741 MB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.11, allocations: 0 / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.1101, allocations: 16 kB / 448.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.1101, allocations: 21 kB / 448.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008204/0.1109, allocations: 431.5 kB / 448.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.1127, allocations: 1.379 MB / 450.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.1132, allocations: 271.6 kB / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.1136, allocations: 134.4 kB / 450.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/0.1136, allocations: 15.97 kB / 450.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1137, allocations: 38.56 kB / 450.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.1137, allocations: 0 / 450.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001166/0.1148, allocations: 452.8 kB / 451.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1149, allocations: 115 kB / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.1154, allocations: 0.5018 MB / 451.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1155, allocations: 25.7 kB / 451.8 MB, free: 12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1156, allocations: 204.3 kB / 452 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.1157, allocations: 55.2 kB / 452.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.1158, allocations: 53.61 kB / 452.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1159, allocations: 354.8 kB / 452.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.1162, allocations: 127.9 kB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.1166, allocations: 169 kB / 452.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.1172, allocations: 304.2 kB / 453.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1172, allocations: 0 / 453.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007973/0.1181, allocations: 380.8 kB / 453.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1181, allocations: 7.938 kB / 453.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.622e-05/0.1181, allocations: 28 kB / 453.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1182, allocations: 7.938 kB / 453.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.1184, allocations: 40.11 kB / 453.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1184, allocations: 4 kB / 453.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.1186, allocations: 51.42 kB / 453.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.1187, allocations: 19.98 kB / 453.6 MB, free: 10.17 MB / 334.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.0001729/0.1189, allocations: 185.6 kB / 453.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.119, allocations: 39.47 kB / 453.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/0.1197, allocations: 384.6 kB / 454.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1197, allocations: 0 / 454.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1197, allocations: 7.984 kB / 454.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1197, allocations: 0 / 454.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.1203, allocations: 365.3 kB / 454.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/0.1203, allocations: 27.98 kB / 454.6 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1205, allocations: 27.91 kB / 454.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1205, allocations: 7.938 kB / 454.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1205, allocations: 12 kB / 454.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1205, allocations: 0 / 454.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1205, allocations: 0 / 454.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/0.1213, allocations: 0.5745 MB / 455.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1215, allocations: 124.5 kB / 455.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.1215, allocations: 4 kB / 455.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.1218, allocations: 19.97 kB / 455.3 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.1219, allocations: 23.92 kB / 455.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1219, allocations: 12 kB / 455.4 MB, free: 8.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003674/0.1223, allocations: 379 kB / 455.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1223, allocations: 0 / 455.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004833/0.1228, allocations: 123.9 kB / 455.9 MB, free: 7.789 MB / 334.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.0002688/0.1231, allocations: 163.1 kB / 456 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008419/0.1239, allocations: 0.5263 MB / 456.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1239, allocations: 0 / 456.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.1244, allocations: 395.4 kB / 456.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.1251, allocations: 89.52 kB / 457 MB, free: 6.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1265, allocations: 0.8346 MB / 457.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.1269, allocations: 0.838 MB / 458.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.127, allocations: 31.42 kB / 458.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.127, allocations: 0 / 458.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of Templates: time 0.008957/0.136, allocations: 6.985 MB / 465.7 MB, free: 13.77 MB / 350.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