Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,tolerance=1e-07,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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,tolerance=1e-07,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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009529/0.0009529, allocations: 199 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 226.5 MB / 244.1 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007796/0.0007797, allocations: 99.45 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2915/0.2915, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 15.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2792, allocations: 62.95 MB / 0.5165 GB, free: 36.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.3956, allocations: 98.98 MB / 0.6132 GB, free: 6.375 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.3959, allocations: 91.94 kB / 0.6132 GB, free: 6.285 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04018/0.4361, allocations: 14.8 MB / 0.6277 GB, free: 7.336 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4361, allocations: 0 / 0.6277 GB, free: 7.336 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.4361, allocations: 8 kB / 0.6277 GB, free: 7.328 MB / 442.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.000939/0.4371, allocations: 0.62 MB / 0.6283 GB, free: 6.652 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4371, allocations: 12.03 kB / 0.6283 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.4372, allocations: 44.45 kB / 0.6284 GB, free: 6.598 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.4376, allocations: 284.4 kB / 0.6286 GB, free: 6.281 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.4376, allocations: 29.38 kB / 0.6287 GB, free: 6.254 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.4377, allocations: 36.38 kB / 0.6287 GB, free: 6.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.4385, allocations: 0.5417 MB / 0.6292 GB, free: 5.672 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4385, allocations: 192 / 0.6292 GB, free: 5.672 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.4386, allocations: 31.86 kB / 0.6293 GB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.4386, allocations: 28.98 kB / 0.6293 GB, free: 5.613 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008641/0.4395, allocations: 0.5737 MB / 0.6298 GB, free: 5.039 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.4411, allocations: 1.175 MB / 0.631 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.4417, allocations: 380.4 kB / 0.6314 GB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.442, allocations: 136.7 kB / 0.6315 GB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.442, allocations: 12.17 kB / 0.6315 GB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.4421, allocations: 38.5 kB / 0.6315 GB, free: 3.238 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/0.4421, allocations: 4 kB / 0.6315 GB, free: 3.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009236/0.443, allocations: 469.8 kB / 0.632 GB, free: 2.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.443, allocations: 55.41 kB / 0.632 GB, free: 2.703 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.4435, allocations: 453.6 kB / 0.6325 GB, free: 2.254 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.4435, allocations: 33.7 kB / 0.6325 GB, free: 2.215 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.4437, allocations: 188.2 kB / 0.6327 GB, free: 2.027 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.4437, allocations: 78.94 kB / 0.6328 GB, free: 1.949 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.4438, allocations: 0 / 0.6328 GB, free: 1.949 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4439, allocations: 350.8 kB / 0.6331 GB, free: 1.598 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.4442, allocations: 123.9 kB / 0.6332 GB, free: 1.477 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.4444, allocations: 126.6 kB / 0.6333 GB, free: 1.355 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.4449, allocations: 264.6 kB / 0.6336 GB, free: 1.094 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4449, allocations: 4 kB / 0.6336 GB, free: 1.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005864/0.4455, allocations: 355.1 kB / 0.6339 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4455, allocations: 8 kB / 0.6339 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4455, allocations: 0 / 0.6339 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4455, allocations: 0 / 0.6339 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/0.4463, allocations: 163.9 kB / 0.6341 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.449, allocations: 5.52 MB / 0.6395 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.4493, allocations: 51.48 kB / 0.6395 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.4493, allocations: 11.98 kB / 0.6395 GB, free: 10.78 MB / 458.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.0002173/0.4495, allocations: 193.7 kB / 0.6397 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.4496, allocations: 35.53 kB / 0.6398 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.4504, allocations: 456.5 kB / 0.6402 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4504, allocations: 4 kB / 0.6402 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4504, allocations: 0 / 0.6402 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4504, allocations: 0 / 0.6402 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.4508, allocations: 369.3 kB / 0.6406 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4509, allocations: 3.938 kB / 0.6406 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/0.4515, allocations: 163.9 kB / 0.6407 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4516, allocations: 7.938 kB / 0.6407 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.4516, allocations: 8 kB / 0.6407 GB, free: 9.496 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002655/0.4542, allocations: 5.516 MB / 0.6461 GB, free: 3.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4543, allocations: 0 / 0.6461 GB, free: 3.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.4549, allocations: 458.5 kB / 0.6466 GB, free: 3.309 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.455, allocations: 120.6 kB / 0.6467 GB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.4551, allocations: 4 kB / 0.6467 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.4553, allocations: 15.98 kB / 0.6467 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.4553, allocations: 15.98 kB / 0.6467 GB, free: 3.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.4554, allocations: 11.98 kB / 0.6467 GB, free: 3.125 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003401/0.4557, allocations: 335.1 kB / 0.647 GB, free: 2.797 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.016e-06/0.4557, allocations: 4 kB / 0.647 GB, free: 2.793 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005486/0.4563, allocations: 167.6 kB / 0.6472 GB, free: 2.629 MB / 458.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.0004209/0.4567, allocations: 264.1 kB / 0.6475 GB, free: 2.363 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.4579, allocations: 408.7 kB / 0.6478 GB, free: 1.965 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4579, allocations: 0 / 0.6478 GB, free: 1.965 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008277/0.4587, allocations: 279.7 kB / 0.6481 GB, free: 1.691 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.4592, allocations: 87.08 kB / 0.6482 GB, free: 1.609 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.4604, allocations: 0.9069 MB / 0.6491 GB, free: 0.668 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.4608, allocations: 0.8347 MB / 0.6499 GB, free: 15.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.4609, allocations: 35.42 kB / 0.6499 GB, free: 15.77 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4609, allocations: 4 kB / 0.6499 GB, free: 15.77 MB / 474.7 MB Notification: Performance of Templates: time 0.02067/0.4816, allocations: 20.05 MB / 0.6695 GB, free: 11.74 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches