Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009257/0.0009256, allocations: 95.16 kB / 18 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.001261/0.001261, allocations: 204.5 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.363/1.363, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.18 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002462/0.0002463, allocations: 4.328 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 63.58 MB / 483.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002436/0.1136, allocations: 1.727 MB / 485.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1152, allocations: 0.9193 MB / 486.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.1154, allocations: 0 / 486.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1157, allocations: 59.72 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.1161, allocations: 107.5 kB / 486.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1164, allocations: 75.73 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.117, allocations: 0.5097 MB / 487.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.1171, allocations: 40.72 kB / 487.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.1174, allocations: 143.2 kB / 487.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.1177, allocations: 195.1 kB / 487.5 MB, free: 340 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.1178, allocations: 8 kB / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.1181, allocations: 147.7 kB / 487.7 MB, free: 184 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1182, allocations: 99.47 kB / 487.8 MB, free: 84 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1184, allocations: 184.6 kB / 488 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.1188, allocations: 299.4 kB / 488.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1188, allocations: 0 / 488.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1188, allocations: 0 / 488.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1188, allocations: 0 / 488.2 MB, free: 15.6 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009303/0.1198, allocations: 0.589 MB / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1198, allocations: 8.875 kB / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.1199, allocations: 40.47 kB / 488.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1203, allocations: 275.6 kB / 489.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1203, allocations: 29.36 kB / 489.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.1204, allocations: 36.38 kB / 489.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.1212, allocations: 0.5611 MB / 489.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1212, allocations: 0 / 489.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.1213, allocations: 23.92 kB / 489.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.834e-05/0.1213, allocations: 44.91 kB / 489.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009782/0.1223, allocations: 0.5777 MB / 490.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.124, allocations: 1.183 MB / 491.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.1246, allocations: 382.2 kB / 492 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.1249, allocations: 132.9 kB / 492.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.125, allocations: 15.92 kB / 492.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.125, allocations: 38.56 kB / 492.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/0.125, allocations: 0 / 492.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009516/0.126, allocations: 483.8 kB / 492.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.126, allocations: 59.44 kB / 492.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.1265, allocations: 453.6 kB / 493.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.1265, allocations: 25.7 kB / 493.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1266, allocations: 188.4 kB / 493.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.1267, allocations: 70.86 kB / 493.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.1268, allocations: 29.7 kB / 493.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1269, allocations: 354.8 kB / 493.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.1272, allocations: 123.8 kB / 493.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.1274, allocations: 119.9 kB / 494 MB, free: 9.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.1279, allocations: 277.7 kB / 494.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1279, allocations: 0 / 494.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006187/0.1286, allocations: 348.6 kB / 494.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1286, allocations: 11.94 kB / 494.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1286, allocations: 0 / 494.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1286, allocations: 7.938 kB / 494.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.1293, allocations: 155.9 kB / 494.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.1321, allocations: 5.528 MB / 0.4886 GB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.1324, allocations: 51.34 kB / 0.4887 GB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.1324, allocations: 15.98 kB / 0.4887 GB, free: 3.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.1326, allocations: 189.9 kB / 0.4889 GB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.1327, allocations: 35.62 kB / 0.4889 GB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/0.1336, allocations: 460.4 kB / 0.4893 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1336, allocations: 4 kB / 0.4893 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1336, allocations: 4 kB / 0.4893 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1336, allocations: 3.984 kB / 0.4893 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.1341, allocations: 381.2 kB / 0.4897 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1341, allocations: 3.938 kB / 0.4897 GB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/0.1347, allocations: 155.9 kB / 0.4899 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1347, allocations: 0 / 0.4899 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1348, allocations: 11.98 kB / 0.4899 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.1374, allocations: 5.516 MB / 0.4953 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1374, allocations: 0 / 0.4953 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/0.1381, allocations: 467 kB / 0.4957 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.1382, allocations: 112.6 kB / 0.4958 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.1383, allocations: 4 kB / 0.4958 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1385, allocations: 15.98 kB / 0.4958 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.1386, allocations: 27.91 kB / 0.4959 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.1386, allocations: 11.94 kB / 0.4959 GB, free: 11.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003307/0.1389, allocations: 339.1 kB / 0.4962 GB, free: 11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1389, allocations: 0 / 0.4962 GB, free: 11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.1393, allocations: 95.94 kB / 0.4963 GB, free: 10.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002417/0.1396, allocations: 139.1 kB / 0.4964 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.1407, allocations: 415.2 kB / 0.4968 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1407, allocations: 0 / 0.4968 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007901/0.1415, allocations: 287.6 kB / 0.4971 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.142, allocations: 85.42 kB / 0.4972 GB, free: 9.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1434, allocations: 0.9366 MB / 0.4981 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1438, allocations: 0.8465 MB / 0.4989 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.1439, allocations: 39.41 kB / 0.4989 GB, free: 8.117 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1439, allocations: 0 / 0.4989 GB, free: 8.117 MB / 382.1 MB Notification: Performance of Templates: time 0.2223/0.3662, allocations: 19.11 MB / 0.5176 GB, free: 39.13 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches