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.001128/0.001128, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 208.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, 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.2188/0.2188, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 75.03 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.115, allocations: 62.45 MB / 481.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003306/0.1183, allocations: 2.02 MB / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1198, allocations: 0.9229 MB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.1199, allocations: 4 kB / 484.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.1202, allocations: 67.64 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.1205, allocations: 111.4 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.1207, allocations: 95.64 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.1211, allocations: 382.1 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.879e-05/0.1212, allocations: 40.72 kB / 485.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.1214, allocations: 163.2 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1216, allocations: 179.1 kB / 485.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.1217, allocations: 12 kB / 485.5 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.1219, allocations: 143.7 kB / 485.6 MB, free: 352 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.122, allocations: 91.53 kB / 485.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.1222, allocations: 158.9 kB / 485.9 MB, free: 100 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.1226, allocations: 430.3 kB / 486.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1226, allocations: 4 kB / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1226, allocations: 3.938 kB / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1227, allocations: 0 / 486.3 MB, free: 15.67 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.0008977/0.1236, allocations: 0.6513 MB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1236, allocations: 12.03 kB / 486.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.1237, allocations: 40.45 kB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.124, allocations: 279.6 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1241, allocations: 29.38 kB / 487.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.1241, allocations: 40.36 kB / 487.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.1249, allocations: 0.561 MB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1249, allocations: 0 / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.1249, allocations: 12 kB / 487.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/0.125, allocations: 44.97 kB / 487.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008597/0.1258, allocations: 0.5659 MB / 488.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.1275, allocations: 1.179 MB / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.1281, allocations: 377.8 kB / 490.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.1284, allocations: 136.9 kB / 490.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.1285, allocations: 15.92 kB / 490.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1285, allocations: 38.59 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.1285, allocations: 0 / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008668/0.1294, allocations: 460.8 kB / 490.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1294, allocations: 55.41 kB / 490.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.1299, allocations: 449.6 kB / 491.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1299, allocations: 33.7 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.13, allocations: 184.4 kB / 491.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.1301, allocations: 86.83 kB / 491.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.1302, allocations: 49.69 kB / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1303, allocations: 350.8 kB / 491.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.1306, allocations: 119.9 kB / 492 MB, free: 9.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.1308, allocations: 118.9 kB / 492.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.1313, allocations: 268.5 kB / 492.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1313, allocations: 0 / 492.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006152/0.1319, allocations: 340.6 kB / 492.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.132, allocations: 8 kB / 492.7 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.132, allocations: 3.938 kB / 492.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.132, allocations: 0 / 492.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.1328, allocations: 163.8 kB / 492.9 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.1358, allocations: 5.512 MB / 498.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.1361, allocations: 51.39 kB / 498.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.1361, allocations: 11.98 kB / 498.4 MB, free: 3.066 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.0002418/0.1364, allocations: 197.9 kB / 498.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.1364, allocations: 31.62 kB / 498.7 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008156/0.1373, allocations: 456.4 kB / 499.1 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1373, allocations: 4 kB / 499.1 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1373, allocations: 0 / 499.1 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1373, allocations: 0 / 499.1 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.1377, allocations: 377.2 kB / 499.5 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1377, allocations: 0 / 499.5 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.1384, allocations: 159.9 kB / 499.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1384, allocations: 0 / 499.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.1384, allocations: 8 kB / 499.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.1411, allocations: 5.516 MB / 0.4933 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1411, allocations: 7.875 kB / 0.4933 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.1418, allocations: 442.8 kB / 0.4938 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.1419, allocations: 116.6 kB / 0.4939 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.142, allocations: 4 kB / 0.4939 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.1422, allocations: 12.09 kB / 0.4939 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.1423, allocations: 27.91 kB / 0.4939 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.1423, allocations: 15.98 kB / 0.4939 GB, free: 11.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003286/0.1427, allocations: 335.1 kB / 0.4942 GB, free: 11.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1427, allocations: 0 / 0.4942 GB, free: 11.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.143, allocations: 99.94 kB / 0.4943 GB, free: 10.99 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.0002356/0.1433, allocations: 143.1 kB / 0.4945 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.1445, allocations: 396.7 kB / 0.4949 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1445, allocations: 0 / 0.4949 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007526/0.1453, allocations: 283 kB / 0.4951 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.1457, allocations: 97.38 kB / 0.4952 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.147, allocations: 0.7679 MB / 0.496 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.1475, allocations: 0.8504 MB / 0.4968 GB, free: 8.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.1477, allocations: 91.19 kB / 0.4969 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.1478, allocations: 27.44 kB / 0.4969 GB, free: 8.297 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1478, allocations: 0 / 0.4969 GB, free: 8.297 MB / 382.1 MB Notification: Performance of Templates: time 0.01215/0.1599, allocations: 7.359 MB / 0.5041 GB, free: 1.027 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 -s cvode -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