Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008319/0.0008318, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007547/0.0007548, allocations: 86.41 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2865/0.2865, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003721, allocations: 12 kB / 432 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09895, allocations: 58.85 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002186/0.1012, allocations: 1.848 MB / 492.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1027, allocations: 1.069 MB / 493.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.1027, allocations: 3.938 kB / 493.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.103, allocations: 51.72 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1032, allocations: 87.5 kB / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.1036, allocations: 151.5 kB / 494.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.1041, allocations: 0.5251 MB / 494.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.1042, allocations: 61.03 kB / 494.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.1044, allocations: 163.2 kB / 494.8 MB, free: 6.891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.1046, allocations: 199.1 kB / 495 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.1046, allocations: 15.94 kB / 495 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.105, allocations: 307.5 kB / 495.3 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.784e-05/0.1052, allocations: 95.52 kB / 495.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.1053, allocations: 196.6 kB / 495.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.1057, allocations: 407.2 kB / 496 MB, free: 5.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1057, allocations: 0 / 496 MB, free: 5.688 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1057, allocations: 0 / 496 MB, free: 5.688 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1058, allocations: 0 / 496 MB, free: 5.688 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.001/0.1068, allocations: 0.6824 MB / 496.7 MB, free: 4.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1068, allocations: 12.03 kB / 496.7 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.1069, allocations: 52.31 kB / 496.7 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1072, allocations: 307.4 kB / 497 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.1072, allocations: 37.36 kB / 497.1 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.1073, allocations: 48.12 kB / 497.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009346/0.1082, allocations: 0.6636 MB / 497.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1083, allocations: 0 / 497.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.1083, allocations: 24 kB / 497.8 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.1083, allocations: 21 kB / 497.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.1092, allocations: 0.4995 MB / 498.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.111, allocations: 1.5 MB / 499.8 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.1116, allocations: 311.5 kB / 0.4884 GB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.1119, allocations: 166.4 kB / 0.4886 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/0.112, allocations: 11.98 kB / 0.4886 GB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.112, allocations: 34.55 kB / 0.4886 GB, free: 1.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.112, allocations: 0 / 0.4886 GB, free: 1.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001188/0.1132, allocations: 0.5359 MB / 0.4891 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.1133, allocations: 106.9 kB / 0.4892 GB, free: 460 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1576/0.2709, allocations: 0.5341 MB / 0.4898 GB, free: 43.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.271, allocations: 32.27 kB / 0.4898 GB, free: 43.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2711, allocations: 224.3 kB / 0.49 GB, free: 42.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.2712, allocations: 68.67 kB / 0.4901 GB, free: 42.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.2712, allocations: 8.844 kB / 0.4901 GB, free: 42.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.2713, allocations: 353.5 kB / 0.4904 GB, free: 42.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.2717, allocations: 168.3 kB / 0.4906 GB, free: 42.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.2721, allocations: 291.1 kB / 0.4909 GB, free: 42.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.2729, allocations: 480 kB / 0.4913 GB, free: 42.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2729, allocations: 1.094 kB / 0.4913 GB, free: 42.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009578/0.2739, allocations: 0.517 MB / 0.4918 GB, free: 42.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2739, allocations: 6.875 kB / 0.4918 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.962e-05/0.274, allocations: 45.75 kB / 0.4919 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.274, allocations: 9.875 kB / 0.4919 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.2742, allocations: 53.55 kB / 0.4919 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.2742, allocations: 6.859 kB / 0.4919 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.2745, allocations: 77.59 kB / 0.492 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.2746, allocations: 23 kB / 0.492 GB, free: 42.23 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.0001949/0.2748, allocations: 213.5 kB / 0.4922 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/0.2749, allocations: 41.59 kB / 0.4923 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008115/0.2757, allocations: 460.8 kB / 0.4927 GB, free: 42.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.2757, allocations: 5.625 kB / 0.4927 GB, free: 42.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2757, allocations: 1.125 kB / 0.4927 GB, free: 42.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2757, allocations: 2.344 kB / 0.4927 GB, free: 42.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.2763, allocations: 389.4 kB / 0.4931 GB, free: 41.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.207e-05/0.2763, allocations: 41.7 kB / 0.4931 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2765, allocations: 30.95 kB / 0.4932 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2765, allocations: 2.156 kB / 0.4932 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.2765, allocations: 16.31 kB / 0.4932 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2765, allocations: 1.125 kB / 0.4932 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.2765, allocations: 1.156 kB / 0.4932 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.2773, allocations: 0.6349 MB / 0.4938 GB, free: 41.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.2774, allocations: 124.3 kB / 0.4939 GB, free: 41.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.2775, allocations: 11.19 kB / 0.4939 GB, free: 41.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.2778, allocations: 28.48 kB / 0.494 GB, free: 41.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.2779, allocations: 22.45 kB / 0.494 GB, free: 41.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.2779, allocations: 13.7 kB / 0.494 GB, free: 41.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004191/0.2783, allocations: 391.1 kB / 0.4944 GB, free: 41.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.2783, allocations: 1.062 kB / 0.4944 GB, free: 41.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.2788, allocations: 134 kB / 0.4945 GB, free: 41.29 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.0002291/0.2791, allocations: 154.3 kB / 0.4946 GB, free: 41.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008809/0.28, allocations: 0.6872 MB / 0.4953 GB, free: 40.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.28, allocations: 3.828 kB / 0.4953 GB, free: 40.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004208/0.2804, allocations: 491 kB / 0.4958 GB, free: 40.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.2811, allocations: 109.8 kB / 0.4959 GB, free: 40.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.2824, allocations: 1.014 MB / 0.4969 GB, free: 39.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.2827, allocations: 0.8605 MB / 0.4977 GB, free: 39.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.2828, allocations: 35.88 kB / 0.4978 GB, free: 39.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2828, allocations: 0 / 0.4978 GB, free: 39.26 MB / 378.7 MB Notification: Performance of Templates: time 0.007868/0.2906, allocations: 8.176 MB / 0.5057 GB, free: 38.61 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches