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.001391/0.001391, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.295/1.295, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008823/0.0008824, allocations: 92.92 kB / 270.9 MB, free: 8.352 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.3273/0.3273, allocations: 43.56 MB / 362.7 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 8 kB / 431.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1104, allocations: 58.84 MB / 490.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002238/0.1127, allocations: 1.84 MB / 492.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1142, allocations: 1.069 MB / 493.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.1143, allocations: 4 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1146, allocations: 51.72 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.1148, allocations: 87.44 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.1152, allocations: 151.6 kB / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.1157, allocations: 0.5212 MB / 494 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.1158, allocations: 61.03 kB / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.116, allocations: 167.2 kB / 494.2 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.1162, allocations: 203.1 kB / 494.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.1163, allocations: 12 kB / 494.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.1167, allocations: 303.5 kB / 494.7 MB, free: 6.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.1168, allocations: 95.53 kB / 494.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.1169, allocations: 89.44 kB / 494.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.1173, allocations: 403.2 kB / 495.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1173, allocations: 4 kB / 495.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1173, allocations: 0 / 495.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1174, allocations: 0 / 495.3 MB, free: 6.129 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.001173/0.1185, allocations: 0.6975 MB / 496 MB, free: 5.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1186, allocations: 8.031 kB / 496 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/0.1187, allocations: 55.33 kB / 496 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.1191, allocations: 294.3 kB / 496.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.1191, allocations: 33 kB / 496.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.1192, allocations: 44 kB / 496.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1202, allocations: 0.6675 MB / 497.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1202, allocations: 3.938 kB / 497.1 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.1203, allocations: 20 kB / 497.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.1203, allocations: 28.98 kB / 497.1 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009066/0.1212, allocations: 0.4956 MB / 497.6 MB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.1231, allocations: 1.507 MB / 499.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.1237, allocations: 311.6 kB / 499.4 MB, free: 1.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.1241, allocations: 162.5 kB / 499.6 MB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.1241, allocations: 11.97 kB / 499.6 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1242, allocations: 38.56 kB / 499.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.664e-06/0.1242, allocations: 0 / 499.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001244/0.1254, allocations: 0.5238 MB / 0.4884 GB, free: 1.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.1255, allocations: 110.8 kB / 0.4886 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.1261, allocations: 0.5448 MB / 0.4891 GB, free: 348 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1261, allocations: 25.7 kB / 0.4891 GB, free: 316 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1262, allocations: 231.9 kB / 0.4893 GB, free: 80 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.1263, allocations: 70.98 kB / 0.4894 GB, free: 8 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1634/0.2898, allocations: 8 kB / 0.4894 GB, free: 0 / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2899, allocations: 347.6 kB / 0.4897 GB, free: 42.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005173/0.2905, allocations: 169.2 kB / 0.4899 GB, free: 42.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.2909, allocations: 290.7 kB / 0.4902 GB, free: 42.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.2914, allocations: 204.5 kB / 0.4904 GB, free: 42.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2914, allocations: 1.125 kB / 0.4904 GB, free: 42.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001046/0.2924, allocations: 0.5255 MB / 0.4909 GB, free: 42.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2925, allocations: 5.062 kB / 0.4909 GB, free: 42.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-05/0.2925, allocations: 41.58 kB / 0.4909 GB, free: 42.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.2926, allocations: 9.297 kB / 0.4909 GB, free: 42.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.2928, allocations: 49.16 kB / 0.491 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.2929, allocations: 10.47 kB / 0.491 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.2932, allocations: 77.06 kB / 0.4911 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.2933, allocations: 21.5 kB / 0.4911 GB, free: 42.64 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.0002813/0.2936, allocations: 216.7 kB / 0.4913 GB, free: 42.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.2937, allocations: 40.22 kB / 0.4913 GB, free: 42.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008876/0.2946, allocations: 458.3 kB / 0.4918 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2946, allocations: 8.266 kB / 0.4918 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2946, allocations: 2 kB / 0.4918 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2947, allocations: 3.016 kB / 0.4918 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.2953, allocations: 389.9 kB / 0.4922 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.337e-05/0.2953, allocations: 35.61 kB / 0.4922 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.2955, allocations: 32.03 kB / 0.4922 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2955, allocations: 1.625 kB / 0.4922 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.2955, allocations: 12.28 kB / 0.4922 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2955, allocations: 2.125 kB / 0.4922 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2955, allocations: 1.031 kB / 0.4922 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.2964, allocations: 0.6389 MB / 0.4929 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.2965, allocations: 121.4 kB / 0.493 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.2966, allocations: 5.078 kB / 0.493 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.2969, allocations: 26.81 kB / 0.493 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.297, allocations: 29.52 kB / 0.493 GB, free: 41.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.297, allocations: 11.52 kB / 0.493 GB, free: 41.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004956/0.2975, allocations: 390 kB / 0.4934 GB, free: 41.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2975, allocations: 0 / 0.4934 GB, free: 41.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005552/0.2981, allocations: 135.4 kB / 0.4935 GB, free: 41.74 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.0002952/0.2984, allocations: 154.3 kB / 0.4937 GB, free: 41.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009339/0.2993, allocations: 0.6867 MB / 0.4944 GB, free: 41.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2993, allocations: 4.062 kB / 0.4944 GB, free: 41.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.2998, allocations: 495.6 kB / 0.4948 GB, free: 40.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.3005, allocations: 119.6 kB / 0.495 GB, free: 40.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.302, allocations: 1.013 MB / 0.4959 GB, free: 40.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3023, allocations: 0.8587 MB / 0.4968 GB, free: 39.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/0.3024, allocations: 30.72 kB / 0.4968 GB, free: 39.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3024, allocations: 0 / 0.4968 GB, free: 39.72 MB / 378.7 MB Notification: Performance of Templates: time 0.009471/0.3119, allocations: 8.195 MB / 0.5048 GB, free: 39.06 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