Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00179/0.00179, allocations: 194.6 kB / 16.79 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.5 MB / 244.1 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008249/0.000825, allocations: 102 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.279/0.279, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002535, allocations: 8 kB / 465.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3078, allocations: 62.96 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4196, allocations: 93.9 MB / 0.6082 GB, free: 11.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.42, allocations: 95.94 kB / 0.6083 GB, free: 11.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02618/0.4461, allocations: 9.757 MB / 0.6178 GB, free: 1.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.4462, allocations: 4 kB / 0.6178 GB, free: 1.441 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.4462, allocations: 4 kB / 0.6178 GB, free: 1.438 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.0008334/0.4471, allocations: 0.5849 MB / 0.6184 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4471, allocations: 8.031 kB / 0.6184 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.4472, allocations: 40.47 kB / 0.6184 GB, free: 0.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.4475, allocations: 276.5 kB / 0.6187 GB, free: 452 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.4476, allocations: 33.36 kB / 0.6187 GB, free: 420 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.4476, allocations: 40.36 kB / 0.6188 GB, free: 380 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008234/0.4485, allocations: 0.5379 MB / 0.6193 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4485, allocations: 192 / 0.6193 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.4485, allocations: 23.94 kB / 0.6193 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/0.4486, allocations: 36.97 kB / 0.6194 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.4495, allocations: 0.5776 MB / 0.6199 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.4512, allocations: 1.171 MB / 0.6211 GB, free: 13.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.4518, allocations: 382.2 kB / 0.6214 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.4521, allocations: 132.7 kB / 0.6216 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.4521, allocations: 16.16 kB / 0.6216 GB, free: 13.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.4521, allocations: 34.5 kB / 0.6216 GB, free: 13.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.4522, allocations: 4 kB / 0.6216 GB, free: 13.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009436/0.4531, allocations: 467.7 kB / 0.6221 GB, free: 12.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.4532, allocations: 63.44 kB / 0.6221 GB, free: 12.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.4536, allocations: 445.6 kB / 0.6225 GB, free: 12.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.4536, allocations: 33.7 kB / 0.6226 GB, free: 12.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.4538, allocations: 196.3 kB / 0.6228 GB, free: 12.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/0.4538, allocations: 66.95 kB / 0.6228 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.4539, allocations: 4 kB / 0.6228 GB, free: 12.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.454, allocations: 346.8 kB / 0.6232 GB, free: 11.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.4542, allocations: 123.9 kB / 0.6233 GB, free: 11.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.4545, allocations: 123.8 kB / 0.6234 GB, free: 11.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.4549, allocations: 279.2 kB / 0.6237 GB, free: 11.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.455, allocations: 0 / 0.6237 GB, free: 11.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000601/0.4556, allocations: 348.9 kB / 0.624 GB, free: 10.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4556, allocations: 10.91 kB / 0.624 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4556, allocations: 3.938 kB / 0.624 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4556, allocations: 0 / 0.624 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.4563, allocations: 163.9 kB / 0.6242 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.4591, allocations: 5.52 MB / 0.6296 GB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.4594, allocations: 47.55 kB / 0.6296 GB, free: 4.949 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.4594, allocations: 12 kB / 0.6296 GB, free: 4.938 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.0002199/0.4596, allocations: 189.7 kB / 0.6298 GB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.4597, allocations: 35.53 kB / 0.6298 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.4605, allocations: 458.4 kB / 0.6303 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4605, allocations: 4 kB / 0.6303 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4605, allocations: 0 / 0.6303 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4605, allocations: 3.984 kB / 0.6303 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.461, allocations: 373.3 kB / 0.6306 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.461, allocations: 7.938 kB / 0.6306 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.4617, allocations: 159.9 kB / 0.6308 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4617, allocations: 0 / 0.6308 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.4617, allocations: 8 kB / 0.6308 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.4642, allocations: 5.524 MB / 0.6362 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4642, allocations: 0 / 0.6362 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00066/0.4648, allocations: 460.8 kB / 0.6366 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.465, allocations: 112.7 kB / 0.6367 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.465, allocations: 7.984 kB / 0.6367 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.4652, allocations: 11.98 kB / 0.6368 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.4653, allocations: 27.91 kB / 0.6368 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.4653, allocations: 8 kB / 0.6368 GB, free: 13.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003405/0.4657, allocations: 339.1 kB / 0.6371 GB, free: 12.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4657, allocations: 0 / 0.6371 GB, free: 12.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.4661, allocations: 115.8 kB / 0.6372 GB, free: 12.83 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.0002864/0.4664, allocations: 173 kB / 0.6374 GB, free: 12.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.4675, allocations: 412.7 kB / 0.6378 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4675, allocations: 0 / 0.6378 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008291/0.4684, allocations: 281.8 kB / 0.6381 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.4689, allocations: 89.31 kB / 0.6381 GB, free: 11.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.4702, allocations: 0.8914 MB / 0.639 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.4707, allocations: 0.8426 MB / 0.6398 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.4708, allocations: 39.36 kB / 0.6399 GB, free: 10.05 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4708, allocations: 0 / 0.6399 GB, free: 10.05 MB / 458.7 MB Notification: Performance of Templates: time 0.02059/0.4914, allocations: 19.26 MB / 0.6587 GB, free: 6.824 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches