Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 75.17 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1072, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.00349/0.1107, allocations: 2.117 MB / 483.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1125, allocations: 1.297 MB / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.1126, allocations: 0 / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1129, allocations: 63.59 kB / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1132, allocations: 91.38 kB / 485.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.1138, allocations: 207.1 kB / 485.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.1143, allocations: 438 kB / 485.7 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.805e-05/0.1143, allocations: 48.72 kB / 485.7 MB, free: 264 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.1147, allocations: 155.2 kB / 485.9 MB, free: 108 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.1149, allocations: 187.2 kB / 486.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.1149, allocations: 12 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.1154, allocations: 275.5 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.1155, allocations: 91.47 kB / 486.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1156, allocations: 174.9 kB / 486.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.1162, allocations: 0.5099 MB / 487.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1162, allocations: 0 / 487.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1162, allocations: 0 / 487.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1162, allocations: 0 / 487.1 MB, free: 14.87 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.001058/0.1173, allocations: 0.7058 MB / 487.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1173, allocations: 8.031 kB / 487.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.1177, allocations: 80.36 kB / 487.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.1181, allocations: 296.3 kB / 488.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.1182, allocations: 29.38 kB / 488.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.1182, allocations: 36.38 kB / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008701/0.1191, allocations: 0.582 MB / 488.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1191, allocations: 3.938 kB / 488.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.1192, allocations: 16 kB / 488.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.1192, allocations: 24.92 kB / 488.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.12, allocations: 427.6 kB / 489.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.1218, allocations: 1.367 MB / 490.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.1223, allocations: 271.6 kB / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.1226, allocations: 146.5 kB / 491.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.1226, allocations: 7.984 kB / 491.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1227, allocations: 34.56 kB / 491.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.684e-06/0.1227, allocations: 0 / 491.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001101/0.1238, allocations: 460.9 kB / 491.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.1238, allocations: 106.8 kB / 491.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.1244, allocations: 0.5017 MB / 492.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.1244, allocations: 29.7 kB / 492.2 MB, free: 9.516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1246, allocations: 204.2 kB / 492.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.1246, allocations: 59.25 kB / 492.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1248, allocations: 49.81 kB / 492.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1249, allocations: 358.7 kB / 492.9 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.1253, allocations: 127.9 kB / 493 MB, free: 8.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.1256, allocations: 180.6 kB / 493.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/0.1262, allocations: 299.5 kB / 493.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1263, allocations: 0 / 493.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007586/0.127, allocations: 392.8 kB / 493.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.127, allocations: 7.938 kB / 493.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.624e-05/0.1271, allocations: 24 kB / 493.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1271, allocations: 4 kB / 493.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.1273, allocations: 31.95 kB / 493.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1274, allocations: 7.984 kB / 493.9 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.1276, allocations: 55.42 kB / 494 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.1276, allocations: 24.02 kB / 494 MB, free: 7.672 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.000179/0.1278, allocations: 181.7 kB / 494.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1279, allocations: 43.45 kB / 494.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008214/0.1288, allocations: 379.2 kB / 494.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1288, allocations: 7.938 kB / 494.6 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1288, allocations: 3.984 kB / 494.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1288, allocations: 0 / 494.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.1293, allocations: 361.3 kB / 494.9 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-05/0.1294, allocations: 35.98 kB / 495 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1295, allocations: 23.97 kB / 495 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1296, allocations: 7.875 kB / 495 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.1296, allocations: 12 kB / 495 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1296, allocations: 0 / 495 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1296, allocations: 4 kB / 495 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.1304, allocations: 0.5771 MB / 495.6 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1305, allocations: 124.5 kB / 495.7 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.1306, allocations: 8 kB / 495.7 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.1309, allocations: 15.97 kB / 495.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.131, allocations: 23.98 kB / 495.8 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.131, allocations: 12 kB / 495.8 MB, free: 5.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003767/0.1314, allocations: 375 kB / 496.2 MB, free: 5.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1314, allocations: 0 / 496.2 MB, free: 5.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005133/0.1319, allocations: 115.9 kB / 496.3 MB, free: 5.305 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.000286/0.1322, allocations: 159.2 kB / 496.4 MB, free: 5.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.133, allocations: 0.5265 MB / 496.9 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.133, allocations: 0 / 496.9 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.1335, allocations: 383.1 kB / 497.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.1342, allocations: 109.5 kB / 497.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1355, allocations: 0.7941 MB / 498.2 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.1359, allocations: 0.8497 MB / 499.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.136, allocations: 63.25 kB / 499.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.1361, allocations: 31.42 kB / 499.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1361, allocations: 3.938 kB / 499.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of Templates: time 0.0115/0.1476, allocations: 7.289 MB / 0.4946 GB, free: 11.02 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches