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.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,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|frac_dhydTodcoil.1.|frac_dhydTodcoil.2.|frac_dhydTodcoil.3.|d_coil.1.|d_coil.2.|d_coil.3.|d_w.1.|d_w.2.|d_w.3.|n_nt.1.|n_nt.2.|n_nt.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|frac_dhydTodcoil.1.|frac_dhydTodcoil.2.|frac_dhydTodcoil.3.|d_coil.1.|d_coil.2.|d_coil.3.|d_w.1.|d_w.2.|d_w.3.|n_nt.1.|n_nt.2.|n_nt.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009264/0.0009264, allocations: 195 kB / 16.78 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 226.5 MB / 244.1 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007497/0.0007499, allocations: 94.78 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3094/0.3094, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002441/0.0002441, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.273, allocations: 62.96 MB / 0.5165 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.3849, allocations: 100.4 MB / 0.6146 GB, free: 4.953 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.3852, allocations: 103.9 kB / 0.6147 GB, free: 4.852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04406/0.4293, allocations: 15.81 MB / 0.6301 GB, free: 4.883 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4294, allocations: 0 / 0.6301 GB, free: 4.883 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.4294, allocations: 8 kB / 0.6301 GB, free: 4.875 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001577/0.431, allocations: 0.7056 MB / 0.6308 GB, free: 4.113 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4311, allocations: 12.03 kB / 0.6308 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.4315, allocations: 88.33 kB / 0.6309 GB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.432, allocations: 316.6 kB / 0.6312 GB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.432, allocations: 25.38 kB / 0.6312 GB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.4321, allocations: 40.38 kB / 0.6313 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.4331, allocations: 0.586 MB / 0.6318 GB, free: 3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4331, allocations: 192 / 0.6318 GB, free: 3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.4332, allocations: 19.94 kB / 0.6319 GB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/0.4332, allocations: 24.98 kB / 0.6319 GB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/0.4341, allocations: 455.5 kB / 0.6323 GB, free: 2.512 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.436, allocations: 1.39 MB / 0.6337 GB, free: 1.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.4365, allocations: 287.6 kB / 0.6339 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.4368, allocations: 154.4 kB / 0.6341 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.4369, allocations: 7.984 kB / 0.6341 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4369, allocations: 42.61 kB / 0.6341 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.437, allocations: 0 / 0.6341 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001139/0.4381, allocations: 490.7 kB / 0.6346 GB, free: 44 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.4382, allocations: 118.7 kB / 0.6347 GB, free: 15.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/0.4388, allocations: 0.5369 MB / 0.6352 GB, free: 15.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.4388, allocations: 25.7 kB / 0.6353 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.439, allocations: 224.3 kB / 0.6355 GB, free: 15.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.439, allocations: 59.16 kB / 0.6355 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.4391, allocations: 0 / 0.6355 GB, free: 15.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4392, allocations: 354.8 kB / 0.6359 GB, free: 14.69 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.4395, allocations: 143.9 kB / 0.636 GB, free: 14.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.4399, allocations: 175.3 kB / 0.6362 GB, free: 14.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.4405, allocations: 334.3 kB / 0.6365 GB, free: 14.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4405, allocations: 0 / 0.6365 GB, free: 14.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008129/0.4414, allocations: 404.9 kB / 0.6369 GB, free: 13.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4414, allocations: 4 kB / 0.6369 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.413e-05/0.4414, allocations: 27.98 kB / 0.6369 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4415, allocations: 7.938 kB / 0.6369 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.4417, allocations: 44.03 kB / 0.637 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.4417, allocations: 4 kB / 0.637 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.442, allocations: 71.28 kB / 0.637 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.442, allocations: 20 kB / 0.6371 GB, free: 13.44 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.4422, allocations: 189.7 kB / 0.6372 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.4423, allocations: 39.44 kB / 0.6373 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007136/0.443, allocations: 402.7 kB / 0.6377 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4431, allocations: 4 kB / 0.6377 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4431, allocations: 0 / 0.6377 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4431, allocations: 8 kB / 0.6377 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.4436, allocations: 369.3 kB / 0.638 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.112e-05/0.4437, allocations: 35.98 kB / 0.6381 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.4438, allocations: 31.91 kB / 0.6381 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4438, allocations: 0 / 0.6381 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.4439, allocations: 15.94 kB / 0.6381 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4439, allocations: 0 / 0.6381 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4439, allocations: 4 kB / 0.6381 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.4447, allocations: 0.595 MB / 0.6387 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.4448, allocations: 160.4 kB / 0.6388 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.4449, allocations: 4 kB / 0.6388 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.4452, allocations: 31.97 kB / 0.6389 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.4453, allocations: 19.92 kB / 0.6389 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.4453, allocations: 12 kB / 0.6389 GB, free: 11.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004216/0.4458, allocations: 407 kB / 0.6393 GB, free: 11.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4458, allocations: 0 / 0.6393 GB, free: 11.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.4464, allocations: 175.8 kB / 0.6395 GB, free: 10.87 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004657/0.4469, allocations: 292 kB / 0.6397 GB, free: 10.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008256/0.4477, allocations: 0.5344 MB / 0.6403 GB, free: 9.988 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4477, allocations: 3.938 kB / 0.6403 GB, free: 9.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.4481, allocations: 395.2 kB / 0.6406 GB, free: 9.543 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.4488, allocations: 103.7 kB / 0.6407 GB, free: 9.441 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4503, allocations: 0.9465 MB / 0.6417 GB, free: 8.457 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.4507, allocations: 0.8573 MB / 0.6425 GB, free: 7.578 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.4508, allocations: 35.36 kB / 0.6425 GB, free: 7.543 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4508, allocations: 3.938 kB / 0.6425 GB, free: 7.539 MB / 458.7 MB Notification: Performance of Templates: time 0.01018/0.4609, allocations: 8.213 MB / 0.6506 GB, free: 15.38 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches