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.001031/0.001031, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1982/0.1982, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 71.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 62.46 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003076/0.1084, allocations: 2.024 MB / 483.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1097, allocations: 0.9267 MB / 484.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.1098, allocations: 0 / 484.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.11, allocations: 71.62 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1103, allocations: 111.4 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1106, allocations: 95.62 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.1109, allocations: 386.1 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.847e-05/0.111, allocations: 36.73 kB / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.1112, allocations: 163.2 kB / 485.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1114, allocations: 179.1 kB / 485.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.1115, allocations: 8 kB / 485.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.1118, allocations: 143.7 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1119, allocations: 99.52 kB / 485.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.112, allocations: 154.9 kB / 485.8 MB, free: 104 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.1126, allocations: 434.3 kB / 486.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1126, allocations: 4 kB / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1126, allocations: 0 / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1126, 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.0009426/0.1135, allocations: 0.6513 MB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1136, allocations: 12.02 kB / 486.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.545e-05/0.1137, allocations: 44.45 kB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.1141, allocations: 271.6 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.1141, allocations: 33.36 kB / 487.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.1142, allocations: 40.38 kB / 487.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007745/0.1149, allocations: 0.561 MB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.115, allocations: 0 / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.115, allocations: 12 kB / 487.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.1151, allocations: 40.97 kB / 487.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008529/0.1159, allocations: 0.5698 MB / 488.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.1176, allocations: 1.171 MB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.1182, allocations: 381.8 kB / 490 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.1185, allocations: 132.9 kB / 490.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.1185, allocations: 11.94 kB / 490.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1185, allocations: 38.59 kB / 490.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.1185, allocations: 0 / 490.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008755/0.1194, allocations: 464.8 kB / 490.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.1195, allocations: 51.41 kB / 490.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.1199, allocations: 453.6 kB / 491.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.12, allocations: 33.64 kB / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1201, allocations: 192.4 kB / 491.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.1202, allocations: 78.83 kB / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/0.1203, allocations: 53.69 kB / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1204, allocations: 354.7 kB / 491.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1207, allocations: 111.9 kB / 492 MB, free: 9.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1209, allocations: 122.9 kB / 492.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.1214, allocations: 268.5 kB / 492.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1214, allocations: 0 / 492.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005628/0.1219, allocations: 340.6 kB / 492.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.122, allocations: 4 kB / 492.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.122, allocations: 3.938 kB / 492.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.122, allocations: 4 kB / 492.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/0.1228, allocations: 155.9 kB / 492.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.1257, allocations: 5.516 MB / 498.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.1259, allocations: 51.39 kB / 498.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.1259, allocations: 11.98 kB / 498.4 MB, free: 3.078 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.0001776/0.1261, allocations: 197.9 kB / 498.6 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.1262, allocations: 31.62 kB / 498.7 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007803/0.127, allocations: 452.5 kB / 499.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.127, allocations: 4 kB / 499.1 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.127, allocations: 0 / 499.1 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.127, allocations: 0 / 499.1 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.1274, allocations: 381.2 kB / 499.5 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1274, allocations: 0 / 499.5 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000668/0.1281, allocations: 163.9 kB / 499.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1281, allocations: 0 / 499.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.1282, allocations: 8 kB / 499.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/0.1309, allocations: 5.52 MB / 0.4933 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.131, allocations: 3.938 kB / 0.4933 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.1316, allocations: 442.8 kB / 0.4937 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1317, allocations: 112.6 kB / 0.4939 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.1318, allocations: 8 kB / 0.4939 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.132, allocations: 16.03 kB / 0.4939 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.1321, allocations: 27.89 kB / 0.4939 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.1321, allocations: 11.98 kB / 0.4939 GB, free: 11.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003223/0.1324, allocations: 335.1 kB / 0.4942 GB, free: 11.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1325, allocations: 0 / 0.4942 GB, free: 11.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.1328, 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.0002199/0.133, allocations: 143.1 kB / 0.4945 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.1342, allocations: 396.7 kB / 0.4948 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1342, allocations: 4 kB / 0.4949 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007707/0.1349, allocations: 282.7 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.0004464/0.1354, allocations: 85.45 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.001181/0.1366, allocations: 0.7857 MB / 0.496 GB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.137, allocations: 0.8465 MB / 0.4968 GB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.1372, allocations: 91.2 kB / 0.4969 GB, free: 8.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.1373, allocations: 27.42 kB / 0.4969 GB, free: 8.293 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1373, allocations: 0 / 0.4969 GB, free: 8.293 MB / 382.1 MB Notification: Performance of Templates: time 0.01133/0.1487, allocations: 7.351 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 gbode -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