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.001276/0.001276, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002147/0.002147, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 79.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4064, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003608/0.4101, allocations: 2.116 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.4122, allocations: 1.298 MB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.4124, allocations: 2.75 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.4127, allocations: 66.72 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.413, allocations: 93.19 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.4136, allocations: 206.5 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000632/0.4142, allocations: 442 kB / 0.5351 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4143, allocations: 44.94 kB / 0.5352 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.4147, allocations: 159.1 kB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.4149, allocations: 185 kB / 0.5355 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.415, allocations: 13.06 kB / 0.5355 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.4156, allocations: 273.2 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4157, allocations: 87.16 kB / 0.5359 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.4159, allocations: 170.9 kB / 0.536 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.4167, allocations: 0.5166 MB / 0.5365 GB, free: 9.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4167, allocations: 4 kB / 0.5365 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4167, allocations: 0 / 0.5365 GB, free: 9.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.4167, allocations: 1.281 kB / 0.5365 GB, free: 9.551 MB / 398.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.001403/0.4181, allocations: 0.7146 MB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4182, allocations: 13.7 kB / 0.5372 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.4187, allocations: 77.41 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.4191, allocations: 291.1 kB / 0.5376 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.4192, allocations: 29.12 kB / 0.5376 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.4193, allocations: 40.91 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009453/0.4202, allocations: 0.5802 MB / 0.5382 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4203, allocations: 7.875 kB / 0.5382 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.4203, allocations: 15.19 kB / 0.5382 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.4203, allocations: 20.12 kB / 0.5383 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.4211, allocations: 428 kB / 0.5387 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.4232, allocations: 1.382 MB / 0.54 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.4238, allocations: 271.7 kB / 0.5403 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.4242, allocations: 132.3 kB / 0.5404 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.4242, allocations: 12.31 kB / 0.5404 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.4243, allocations: 44.66 kB / 0.5405 GB, free: 6.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.4243, allocations: 1.094 kB / 0.5405 GB, free: 6.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001426/0.4257, allocations: 459.7 kB / 0.5409 GB, free: 6.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.4258, allocations: 109.2 kB / 0.541 GB, free: 6.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/0.4265, allocations: 0.5025 MB / 0.5415 GB, free: 6.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.4266, allocations: 31.2 kB / 0.5415 GB, free: 6.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.4268, allocations: 205.3 kB / 0.5417 GB, free: 5.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.4268, allocations: 59.11 kB / 0.5418 GB, free: 5.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.427, allocations: 49.08 kB / 0.5418 GB, free: 5.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4271, allocations: 354.7 kB / 0.5422 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.4275, allocations: 129.5 kB / 0.5423 GB, free: 5.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.4278, allocations: 176.5 kB / 0.5425 GB, free: 5.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.4285, allocations: 306.9 kB / 0.5427 GB, free: 5.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4285, allocations: 4.969 kB / 0.5428 GB, free: 5.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008545/0.4294, allocations: 377.6 kB / 0.5431 GB, free: 4.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.4294, allocations: 10.12 kB / 0.5431 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.367e-05/0.4295, allocations: 24.88 kB / 0.5431 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4295, allocations: 6.469 kB / 0.5432 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.4298, allocations: 36.14 kB / 0.5432 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4298, allocations: 3.938 kB / 0.5432 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.4301, allocations: 63.55 kB / 0.5432 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.4301, allocations: 15.98 kB / 0.5433 GB, free: 4.844 MB / 398.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.0002047/0.4303, allocations: 181.8 kB / 0.5434 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.4304, allocations: 43.66 kB / 0.5435 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008105/0.4312, allocations: 380.6 kB / 0.5438 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.4313, allocations: 7.984 kB / 0.5439 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4313, allocations: 0 / 0.5439 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4313, allocations: 0 / 0.5439 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.4319, allocations: 365.4 kB / 0.5442 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.986e-05/0.4319, allocations: 27.98 kB / 0.5442 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.4321, allocations: 23.97 kB / 0.5442 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.4321, allocations: 7.938 kB / 0.5443 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.4321, allocations: 12 kB / 0.5443 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4321, allocations: 4 kB / 0.5443 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4321, allocations: 0 / 0.5443 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.433, allocations: 0.5739 MB / 0.5448 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4331, allocations: 132.7 kB / 0.545 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.4332, allocations: 11.94 kB / 0.545 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.4335, allocations: 19.97 kB / 0.545 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.4336, allocations: 15.98 kB / 0.545 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4336, allocations: 12 kB / 0.545 GB, free: 2.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003912/0.434, allocations: 379 kB / 0.5454 GB, free: 2.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.434, allocations: 4 kB / 0.5454 GB, free: 2.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005587/0.4346, allocations: 119.7 kB / 0.5455 GB, free: 2.461 MB / 398.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.0003429/0.4349, allocations: 166.9 kB / 0.5457 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009185/0.4358, allocations: 0.5107 MB / 0.5462 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4359, allocations: 0 / 0.5462 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.4363, allocations: 387.4 kB / 0.5465 GB, free: 1.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.437, allocations: 100.4 kB / 0.5466 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4384, allocations: 0.828 MB / 0.5474 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.439, allocations: 0.8418 MB / 0.5482 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.4392, allocations: 67.23 kB / 0.5483 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.4393, allocations: 31.42 kB / 0.5483 GB, free: 15.37 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4393, allocations: 0 / 0.5483 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Templates: time 0.01186/0.4511, allocations: 7.328 MB / 0.5555 GB, free: 8.137 MB / 414.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/jenkins/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/jenkins/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