Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002058/0.002058, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002762/0.002762, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.977/1.977, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3118/0.3118, allocations: 46.11 MB / 344.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 77.39 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1881, allocations: 62.44 MB / 480 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.007633/0.1959, allocations: 2.277 MB / 482.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.1997, allocations: 1.184 MB / 483.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.2001, allocations: 4 kB / 483.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.2009, allocations: 59.66 kB / 483.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006586/0.2017, allocations: 95.48 kB / 483.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.2032, allocations: 167.5 kB / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.2046, allocations: 0.5836 MB / 484.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.2049, allocations: 64.97 kB / 484.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000715/0.2056, allocations: 155.2 kB / 484.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007003/0.2063, allocations: 214.9 kB / 484.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.2065, allocations: 12 kB / 484.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.2079, allocations: 335.5 kB / 485.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.2081, allocations: 99.45 kB / 485.2 MB, free: 420 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004732/0.2086, allocations: 182.7 kB / 485.4 MB, free: 236 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009841/0.2096, allocations: 415.2 kB / 485.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.2096, allocations: 0 / 485.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2097, allocations: 0 / 485.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.2097, allocations: 0 / 485.8 MB, free: 15.82 MB / 366.1 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.002478/0.2122, allocations: 0.7526 MB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.734e-05/0.2123, allocations: 8.875 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000845/0.2131, allocations: 80.33 kB / 486.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.2139, allocations: 300 kB / 486.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.214, allocations: 41.38 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.2141, allocations: 44.12 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.2161, allocations: 0.6558 MB / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.2161, allocations: 3.938 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.2162, allocations: 16 kB / 487.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-05/0.2163, allocations: 28.98 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.218, allocations: 491.4 kB / 488.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004122/0.2222, allocations: 1.511 MB / 489.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.2233, allocations: 305.9 kB / 490 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.224, allocations: 150.4 kB / 490.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.42e-05/0.2241, allocations: 11.98 kB / 490.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.2242, allocations: 38.56 kB / 490.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 5.801e-06/0.2242, allocations: 0 / 490.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002323/0.2265, allocations: 0.4949 MB / 490.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.2267, allocations: 111.1 kB / 490.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.228, allocations: 0.5408 MB / 491.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.2281, allocations: 29.7 kB / 491.3 MB, free: 9.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.2284, allocations: 227.9 kB / 491.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.2285, allocations: 75 kB / 491.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.2288, allocations: 73.89 kB / 491.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.2291, allocations: 362.8 kB / 492.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/0.2297, allocations: 152.1 kB / 492.2 MB, free: 9.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008146/0.2306, allocations: 284.5 kB / 492.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.2322, allocations: 441.3 kB / 492.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.2322, allocations: 7.938 kB / 492.9 MB, free: 8.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002014/0.2342, allocations: 0.4929 MB / 493.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.2343, allocations: 15.92 kB / 493.4 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.2344, allocations: 40 kB / 493.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.031e-05/0.2345, allocations: 11.92 kB / 493.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.2349, allocations: 43.89 kB / 493.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.2349, allocations: 4 kB / 493.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/0.2356, allocations: 75.25 kB / 493.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.2357, allocations: 24.12 kB / 493.6 MB, free: 7.559 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005035/0.2362, allocations: 213.6 kB / 493.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.2365, allocations: 43.44 kB / 493.9 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.238, allocations: 445.1 kB / 494.3 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.2381, allocations: 7.938 kB / 494.3 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.2381, allocations: 4 kB / 494.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.2381, allocations: 3.984 kB / 494.3 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.2393, allocations: 389.2 kB / 494.7 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001071/0.2394, allocations: 39.98 kB / 494.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.2397, allocations: 23.97 kB / 494.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.2398, allocations: 0 / 494.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/0.2398, allocations: 16 kB / 494.8 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/0.2399, allocations: 7.938 kB / 494.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2399, allocations: 0 / 494.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.2417, allocations: 0.606 MB / 495.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.242, allocations: 128.5 kB / 495.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.2422, allocations: 12 kB / 495.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.2429, allocations: 19.92 kB / 495.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.2431, allocations: 23.97 kB / 495.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.2432, allocations: 12 kB / 495.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009052/0.2441, allocations: 395 kB / 496 MB, free: 5.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.2441, allocations: 0 / 496 MB, free: 5.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00118/0.2453, allocations: 131.8 kB / 496.1 MB, free: 4.977 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006005/0.2459, allocations: 159.1 kB / 496.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.248, allocations: 0.6639 MB / 496.9 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.248, allocations: 0 / 496.9 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.2491, allocations: 481.3 kB / 497.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.2506, allocations: 117.2 kB / 497.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.2542, allocations: 1.038 MB / 498.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009108/0.2552, allocations: 0.8623 MB / 499.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2554, allocations: 31.44 kB / 499.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of SimCode: time 2.154e-06/0.2554, allocations: 0 / 499.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of Templates: time 0.01841/0.2738, allocations: 8.245 MB / 0.4958 GB, free: 9.223 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches