Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009546/0.0009545, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008283, allocations: 98.03 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.33/0.33, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 8 kB / 459.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.335, allocations: 61.9 MB / 0.5096 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.446, allocations: 92.97 MB / 0.6004 GB, free: 2.133 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4463, allocations: 99.72 kB / 0.6005 GB, free: 2.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02553/0.4718, allocations: 9.7 MB / 0.6099 GB, free: 8.168 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4719, allocations: 0 / 0.6099 GB, free: 8.168 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4719, allocations: 4 kB / 0.6099 GB, free: 8.164 MB / 426.7 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.0007337/0.4726, allocations: 0.5809 MB / 0.6105 GB, free: 7.535 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4727, allocations: 8.031 kB / 0.6105 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.4727, allocations: 39.53 kB / 0.6106 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.4731, allocations: 276.6 kB / 0.6108 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.4731, allocations: 36.92 kB / 0.6109 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.4732, allocations: 39.94 kB / 0.6109 GB, free: 7.105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.4739, allocations: 0.5373 MB / 0.6114 GB, free: 6.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.474, allocations: 4 kB / 0.6114 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.474, allocations: 19.98 kB / 0.6114 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.4741, allocations: 32.98 kB / 0.6115 GB, free: 6.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007975/0.4749, allocations: 0.5776 MB / 0.612 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.4765, allocations: 1.199 MB / 0.6132 GB, free: 4.676 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.4771, allocations: 384.1 kB / 0.6136 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.4771, allocations: 12.12 kB / 0.6136 GB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.4772, allocations: 34.75 kB / 0.6136 GB, free: 4.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.4772, allocations: 0 / 0.6136 GB, free: 4.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009025/0.4781, allocations: 476.9 kB / 0.6141 GB, free: 3.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.4781, allocations: 59.39 kB / 0.6141 GB, free: 3.699 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.4786, allocations: 400.8 kB / 0.6145 GB, free: 3.301 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4786, allocations: 29.7 kB / 0.6145 GB, free: 3.266 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4787, allocations: 192.4 kB / 0.6147 GB, free: 3.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.4788, allocations: 70.94 kB / 0.6148 GB, free: 3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/0.4788, allocations: 8 kB / 0.6148 GB, free: 2.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4789, allocations: 350.8 kB / 0.6151 GB, free: 2.641 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.4792, allocations: 115.9 kB / 0.6152 GB, free: 2.527 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.4794, allocations: 123.9 kB / 0.6154 GB, free: 2.406 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.4796, allocations: 133.3 kB / 0.6155 GB, free: 2.277 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4796, allocations: 4 kB / 0.6155 GB, free: 2.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005733/0.4802, allocations: 348 kB / 0.6158 GB, free: 1.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4803, allocations: 11.95 kB / 0.6158 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4803, allocations: 4 kB / 0.6158 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4803, allocations: 0 / 0.6158 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.481, allocations: 155.8 kB / 0.616 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.4838, allocations: 5.512 MB / 0.6214 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.484, allocations: 47.55 kB / 0.6214 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.4841, allocations: 11.98 kB / 0.6214 GB, free: 11.98 MB / 442.7 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.4843, allocations: 195.8 kB / 0.6216 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.4843, allocations: 43.47 kB / 0.6217 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/0.4851, allocations: 452.4 kB / 0.6221 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4851, allocations: 7.984 kB / 0.6221 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4852, allocations: 7.938 kB / 0.6221 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4852, allocations: 0 / 0.6221 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.4856, allocations: 369.3 kB / 0.6225 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4856, allocations: 3.938 kB / 0.6225 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.4863, allocations: 155.8 kB / 0.6226 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4863, allocations: 4 kB / 0.6226 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.4863, allocations: 11.94 kB / 0.6226 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.4891, allocations: 5.512 MB / 0.628 GB, free: 4.973 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4891, allocations: 4.031 kB / 0.628 GB, free: 4.969 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006441/0.4898, allocations: 451 kB / 0.6284 GB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4899, allocations: 120.6 kB / 0.6286 GB, free: 4.375 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.4899, allocations: 7.953 kB / 0.6286 GB, free: 4.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.4901, allocations: 16 kB / 0.6286 GB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.4902, allocations: 15.97 kB / 0.6286 GB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.4903, allocations: 11.98 kB / 0.6286 GB, free: 4.324 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000355/0.4906, allocations: 335.1 kB / 0.6289 GB, free: 3.996 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4906, allocations: 4 kB / 0.6289 GB, free: 3.992 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004394/0.4911, allocations: 103.8 kB / 0.629 GB, free: 3.891 MB / 442.7 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003072/0.4914, allocations: 175 kB / 0.6292 GB, free: 3.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.4924, allocations: 374.7 kB / 0.6296 GB, free: 3.344 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4924, allocations: 0 / 0.6296 GB, free: 3.344 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007139/0.4932, allocations: 255.6 kB / 0.6298 GB, free: 3.094 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.4935, allocations: 89.36 kB / 0.6299 GB, free: 3.008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.4946, allocations: 0.8586 MB / 0.6307 GB, free: 2.125 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.495, allocations: 0.8581 MB / 0.6316 GB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.4952, allocations: 83.2 kB / 0.6316 GB, free: 1.156 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.4952, allocations: 31.42 kB / 0.6317 GB, free: 1.125 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4953, allocations: 0 / 0.6317 GB, free: 1.125 MB / 442.7 MB Notification: Performance of Templates: time 0.01001/0.5053, allocations: 6.843 MB / 0.6384 GB, free: 10.38 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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/kc_laminar_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches