Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 185.4 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3816/0.3816, allocations: 43.57 MB / 315 MB, free: 9.09 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005419/0.0005421, allocations: 16.56 kB / 384.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.87 MB / 443.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002659/0.1279, allocations: 1.891 MB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1297, allocations: 1.162 MB / 446.5 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.1298, allocations: 0 / 446.5 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1301, allocations: 59.7 kB / 446.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1303, allocations: 99.42 kB / 446.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1307, allocations: 147.6 kB / 446.8 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005257/0.1313, allocations: 0.5875 MB / 447.4 MB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.1314, allocations: 61.31 kB / 447.5 MB, free: 8.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.1316, allocations: 159.2 kB / 447.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1318, allocations: 207 kB / 447.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.1319, allocations: 12 kB / 447.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.1323, allocations: 323.5 kB / 448.2 MB, free: 8.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1324, allocations: 103.5 kB / 448.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.1326, allocations: 204.5 kB / 448.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.1332, allocations: 0.572 MB / 449 MB, free: 7.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1332, allocations: 0 / 449 MB, free: 7.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1332, allocations: 4 kB / 449 MB, free: 7.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1332, allocations: 0 / 449 MB, free: 7.258 MB / 382.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.001129/0.1344, allocations: 0.6863 MB / 449.7 MB, free: 6.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1344, allocations: 8.031 kB / 449.7 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/0.1345, allocations: 48.38 kB / 449.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1349, allocations: 303.5 kB / 450.1 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.1349, allocations: 33.38 kB / 450.1 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.135, allocations: 56.06 kB / 450.2 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.136, allocations: 0.6636 MB / 450.8 MB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.136, allocations: 3.938 kB / 450.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-05/0.1361, allocations: 20 kB / 450.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.1361, allocations: 28.98 kB / 450.9 MB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.1371, allocations: 0.4956 MB / 451.4 MB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.139, allocations: 1.492 MB / 452.9 MB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.1396, allocations: 319.5 kB / 453.2 MB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.1399, allocations: 166.4 kB / 453.3 MB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.14, allocations: 15.97 kB / 453.4 MB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.14, allocations: 42.5 kB / 453.4 MB, free: 2.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.14, allocations: 0 / 453.4 MB, free: 2.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001288/0.1413, allocations: 0.5322 MB / 453.9 MB, free: 2.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.1414, allocations: 106.8 kB / 454 MB, free: 2.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/0.142, allocations: 0.5369 MB / 454.6 MB, free: 1.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.1421, allocations: 33.7 kB / 454.6 MB, free: 1.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.1423, allocations: 224 kB / 454.8 MB, free: 1.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.564e-05/0.1424, allocations: 70.98 kB / 454.9 MB, free: 1.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.1425, allocations: 41.64 kB / 454.9 MB, free: 1.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1426, allocations: 358.8 kB / 455.3 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.143, allocations: 172 kB / 455.5 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.1434, allocations: 283.7 kB / 455.7 MB, free: 232 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2943/0.4378, allocations: 481.3 kB / 456.2 MB, free: 45.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4378, allocations: 0 / 456.2 MB, free: 45.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001168/0.439, allocations: 0.52 MB / 456.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.439, allocations: 5.719 kB / 456.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.675e-05/0.4391, allocations: 41.83 kB / 456.8 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.393e-05/0.4392, allocations: 6.812 kB / 456.8 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.4394, allocations: 53.03 kB / 456.8 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4395, allocations: 7.625 kB / 456.8 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.4399, allocations: 75.7 kB / 456.9 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.4399, allocations: 25.55 kB / 456.9 MB, free: 45.73 MB / 382.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.0002596/0.4402, allocations: 216.2 kB / 457.1 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.4403, allocations: 42.72 kB / 457.2 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.4411, allocations: 455.1 kB / 457.6 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/0.4412, allocations: 5.688 kB / 457.6 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4412, allocations: 0 / 457.6 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.4412, allocations: 5.859 kB / 457.6 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.4417, allocations: 386.3 kB / 458 MB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/0.4418, allocations: 46.47 kB / 458.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.4419, allocations: 29.05 kB / 458.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.442, allocations: 0 / 458.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.442, allocations: 14.11 kB / 458.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.442, allocations: 3.156 kB / 458.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.442, allocations: 2.297 kB / 458.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.4429, allocations: 0.639 MB / 458.7 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.443, allocations: 126.1 kB / 458.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.4431, allocations: 6.125 kB / 458.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.4434, allocations: 30.55 kB / 458.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4435, allocations: 21.81 kB / 458.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.4436, allocations: 18.44 kB / 458.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004514/0.4441, allocations: 395.5 kB / 459.3 MB, free: 44.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4441, allocations: 0 / 459.3 MB, free: 44.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000707/0.4448, allocations: 136.1 kB / 459.5 MB, free: 44.85 MB / 382.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.0003676/0.4452, allocations: 155.1 kB / 459.6 MB, free: 44.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.4462, allocations: 0.6911 MB / 460.3 MB, free: 44.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4462, allocations: 0 / 460.3 MB, free: 44.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.4467, allocations: 495.3 kB / 460.8 MB, free: 43.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/0.4475, allocations: 102.2 kB / 460.9 MB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.4492, allocations: 1.049 MB / 461.9 MB, free: 43.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4496, allocations: 0.8685 MB / 462.8 MB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.4498, allocations: 80.23 kB / 462.9 MB, free: 42.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.4499, allocations: 30.64 kB / 462.9 MB, free: 42.82 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4499, allocations: 0 / 462.9 MB, free: 42.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01455/0.4644, allocations: 8.05 MB / 471 MB, free: 42.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches