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.001082/0.001082, allocations: 94.98 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1949/0.1949, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 12.31 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 63.56 MB / 483.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002431/0.1086, allocations: 1.829 MB / 485.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1107, allocations: 1.277 MB / 486.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.1109, allocations: 0 / 486.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1112, allocations: 63.66 kB / 486.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1115, allocations: 87.5 kB / 487 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.1121, allocations: 170.8 kB / 487.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.1127, allocations: 0.5213 MB / 487.7 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.1128, allocations: 40.72 kB / 487.7 MB, free: 140 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003508/0.1131, allocations: 159.2 kB / 487.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.1134, allocations: 187 kB / 488.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.1135, allocations: 8 kB / 488.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.114, allocations: 267.5 kB / 488.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1141, allocations: 91.52 kB / 488.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.1143, allocations: 192.5 kB / 488.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.1148, allocations: 367.2 kB / 489 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1148, allocations: 4 kB / 489 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1148, allocations: 0 / 489 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1148, allocations: 0 / 489 MB, free: 14.88 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.001099/0.1159, allocations: 0.6474 MB / 489.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.116, allocations: 16.88 kB / 489.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.1164, allocations: 84.33 kB / 489.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1168, allocations: 299.4 kB / 490 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.1168, allocations: 37.25 kB / 490.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.1169, allocations: 36.38 kB / 490.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009298/0.1178, allocations: 0.5898 MB / 490.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1178, allocations: 4 kB / 490.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.1179, allocations: 16 kB / 490.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.1179, allocations: 17 kB / 490.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.1188, allocations: 459.5 kB / 491.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.1206, allocations: 1.375 MB / 492.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.1211, allocations: 287.6 kB / 492.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.1215, allocations: 154.5 kB / 493 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.1215, allocations: 4 kB / 493 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1216, allocations: 34.56 kB / 493 MB, free: 10.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.1216, allocations: 4 kB / 493 MB, free: 10.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001208/0.1228, allocations: 499.5 kB / 493.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1228, allocations: 110.9 kB / 493.6 MB, free: 10 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.1234, allocations: 0.4979 MB / 494.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1234, allocations: 33.7 kB / 494.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1236, allocations: 200.2 kB / 494.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.1236, allocations: 63.08 kB / 494.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.1237, allocations: 21.72 kB / 494.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1238, allocations: 350.8 kB / 494.8 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.1242, allocations: 139.9 kB / 494.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.1245, allocations: 185.1 kB / 495.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.1252, allocations: 332.8 kB / 495.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1252, allocations: 0 / 495.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008389/0.1261, allocations: 407.3 kB / 495.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1261, allocations: 7.938 kB / 495.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-05/0.1262, allocations: 36.14 kB / 495.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1262, allocations: 4 kB / 495.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1264, allocations: 35.97 kB / 495.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1264, allocations: 7.984 kB / 495.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.1267, allocations: 59.42 kB / 496 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.1267, allocations: 20 kB / 496 MB, free: 7.57 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.0001777/0.1269, allocations: 185.7 kB / 496.2 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.127, allocations: 43.47 kB / 496.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000752/0.1278, allocations: 392.5 kB / 496.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.1278, allocations: 7.938 kB / 496.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1278, allocations: 4 kB / 496.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1278, allocations: 0 / 496.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.1284, allocations: 365.4 kB / 496.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/0.1284, allocations: 24 kB / 497 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1286, allocations: 31.97 kB / 497 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1286, allocations: 7.938 kB / 497 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.1286, allocations: 11.98 kB / 497 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1286, allocations: 4 kB / 497 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1286, allocations: 3.938 kB / 497 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008322/0.1295, allocations: 0.5989 MB / 497.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1296, allocations: 124.5 kB / 497.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.1297, allocations: 8 kB / 497.8 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.1299, allocations: 23.97 kB / 497.8 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.13, allocations: 15.98 kB / 497.8 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.1301, allocations: 12 kB / 497.8 MB, free: 5.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004048/0.1305, allocations: 383 kB / 498.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1305, allocations: 0 / 498.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.131, allocations: 119.9 kB / 498.3 MB, free: 5.137 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.0002991/0.1313, allocations: 151.2 kB / 498.4 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008681/0.1322, allocations: 0.5496 MB / 499 MB, free: 4.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1322, allocations: 0 / 499 MB, free: 4.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.1327, allocations: 399.4 kB / 499.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/0.1334, allocations: 93.5 kB / 499.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1349, allocations: 0.9595 MB / 0.4887 GB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.1353, allocations: 0.8383 MB / 0.4895 GB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.168e-05/0.1354, allocations: 27.42 kB / 0.4896 GB, free: 1.941 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1354, allocations: 4 kB / 0.4896 GB, free: 1.938 MB / 366.1 MB Notification: Performance of Templates: time 0.01039/0.1458, allocations: 6.952 MB / 0.4963 GB, free: 11.03 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 -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