Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,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.|Nu_4.1.|Nu_4.2.|Nu_4.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.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,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.|Nu_4.1.|Nu_4.2.|Nu_4.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.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001459, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.5 MB / 243.4 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000786/0.0007861, allocations: 100.3 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2866/0.2866, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002393/0.0002394, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2608, allocations: 62.96 MB / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.001652/0.2625, allocations: 1.86 MB / 0.5177 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2637, allocations: 1.061 MB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.2638, allocations: 0 / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.264, allocations: 51 kB / 0.5188 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.2642, allocations: 91.28 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.2645, allocations: 147.6 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.2649, allocations: 0.5335 MB / 0.5195 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.105e-05/0.265, allocations: 61.58 kB / 0.5196 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.2652, allocations: 156.8 kB / 0.5198 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2654, allocations: 207.3 kB / 0.52 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.2654, allocations: 11.59 kB / 0.52 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.2658, allocations: 318.3 kB / 0.5203 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.2659, allocations: 93.89 kB / 0.5204 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.266, allocations: 201.5 kB / 0.5206 GB, free: 34.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.2663, allocations: 408.5 kB / 0.5209 GB, free: 34.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2663, allocations: 0 / 0.5209 GB, free: 34.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2663, allocations: 0 / 0.5209 GB, free: 34.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2664, allocations: 0 / 0.5209 GB, free: 34.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008502/0.2672, allocations: 0.6804 MB / 0.5216 GB, free: 33.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.2673, allocations: 11.41 kB / 0.5216 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.2676, allocations: 93.56 kB / 0.5217 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.2679, allocations: 301.2 kB / 0.522 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2679, allocations: 41.91 kB / 0.522 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.2679, allocations: 48.42 kB / 0.5221 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.2688, allocations: 0.6676 MB / 0.5227 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2688, allocations: 3.938 kB / 0.5227 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2688, allocations: 14.62 kB / 0.5227 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.2689, allocations: 25.36 kB / 0.5228 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007499/0.2696, allocations: 0.4976 MB / 0.5233 GB, free: 33.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2711, allocations: 1.505 MB / 0.5247 GB, free: 32.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.2716, allocations: 316.8 kB / 0.525 GB, free: 32.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.2719, allocations: 157.5 kB / 0.5252 GB, free: 32.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.2719, allocations: 17.52 kB / 0.5252 GB, free: 32.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.272, allocations: 44.28 kB / 0.5252 GB, free: 32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.272, allocations: 0 / 0.5252 GB, free: 32 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001051/0.273, allocations: 0.5255 MB / 0.5258 GB, free: 31.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.2731, allocations: 105.9 kB / 0.5259 GB, free: 31.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.2735, allocations: 0.5377 MB / 0.5264 GB, free: 31.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2735, allocations: 25.7 kB / 0.5264 GB, free: 31.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.2736, allocations: 231.2 kB / 0.5266 GB, free: 31.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.2737, allocations: 64.73 kB / 0.5267 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.2737, allocations: 11.97 kB / 0.5267 GB, free: 31.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.2738, allocations: 354.7 kB / 0.527 GB, free: 30.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.2741, allocations: 170.3 kB / 0.5272 GB, free: 30.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.2744, allocations: 286.6 kB / 0.5275 GB, free: 30.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.2751, allocations: 475.4 kB / 0.5279 GB, free: 30.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2751, allocations: 0 / 0.5279 GB, free: 30.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008266/0.2759, allocations: 0.519 MB / 0.5284 GB, free: 30.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2759, allocations: 9.688 kB / 0.5284 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.883e-05/0.276, allocations: 41.44 kB / 0.5285 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.276, allocations: 13.69 kB / 0.5285 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2762, allocations: 51.03 kB / 0.5285 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.2762, allocations: 9.812 kB / 0.5286 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.2765, allocations: 85.34 kB / 0.5286 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.2766, allocations: 28.2 kB / 0.5287 GB, free: 30.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001618/0.2767, allocations: 209.3 kB / 0.5289 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.2768, allocations: 43.53 kB / 0.5289 GB, free: 30.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.2775, allocations: 455 kB / 0.5293 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2776, allocations: 6.844 kB / 0.5293 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2776, allocations: 2.719 kB / 0.5293 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.2776, allocations: 3.141 kB / 0.5293 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.278, allocations: 383.9 kB / 0.5297 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.985e-05/0.2781, allocations: 37.73 kB / 0.5297 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.2782, allocations: 41.59 kB / 0.5298 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2782, allocations: 0 / 0.5298 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.2783, allocations: 12.19 kB / 0.5298 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2783, allocations: 3.938 kB / 0.5298 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2783, allocations: 2.781 kB / 0.5298 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.279, allocations: 0.6324 MB / 0.5304 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.279, allocations: 117.4 kB / 0.5305 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.2791, allocations: 5.891 kB / 0.5305 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.2794, allocations: 31.72 kB / 0.5306 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.2794, allocations: 23.14 kB / 0.5306 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2795, allocations: 15.84 kB / 0.5306 GB, free: 29.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003128/0.2798, allocations: 393.7 kB / 0.531 GB, free: 29.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2798, allocations: 0 / 0.531 GB, free: 29.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004861/0.2803, allocations: 137.5 kB / 0.5311 GB, free: 29.02 MB / 378.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002219/0.2805, allocations: 162.8 kB / 0.5313 GB, free: 28.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.2813, allocations: 0.6856 MB / 0.5319 GB, free: 28.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2813, allocations: 4.812 kB / 0.5319 GB, free: 28.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.2817, allocations: 491.9 kB / 0.5324 GB, free: 28.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006475/0.2824, allocations: 111.2 kB / 0.5325 GB, free: 28.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2836, allocations: 1.02 MB / 0.5335 GB, free: 27.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.2838, allocations: 0.8581 MB / 0.5344 GB, free: 26.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.2839, allocations: 31.45 kB / 0.5344 GB, free: 26.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2839, allocations: 0 / 0.5344 GB, free: 26.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01092/0.2948, allocations: 8.182 MB / 0.5424 GB, free: 25.29 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches