Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_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.001367/0.001367, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 213.7 kB / 18.27 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.5 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.224/0.224, allocations: 46.12 MB / 343.8 MB, free: 11.71 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 79.64 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1248, allocations: 62.46 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003714/0.1285, allocations: 2.265 MB / 481.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1305, allocations: 1.18 MB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1306, allocations: 0 / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.1309, allocations: 55.72 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1312, allocations: 99.38 kB / 483.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.1317, allocations: 163.6 kB / 483.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.1324, allocations: 0.4939 MB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1325, allocations: 57.05 kB / 483.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.1329, allocations: 175.1 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.1332, allocations: 211 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.1332, allocations: 16 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.1337, allocations: 335.5 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1338, allocations: 95.52 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.134, allocations: 198.7 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.1347, allocations: 0.5802 MB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1347, allocations: 0 / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1347, allocations: 0 / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1348, allocations: 4 kB / 485.5 MB, free: 15.6 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.001305/0.1361, allocations: 0.7487 MB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1361, allocations: 8.031 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.1365, allocations: 84.33 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1369, allocations: 304 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.137, allocations: 37.38 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.1371, allocations: 48.12 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1382, allocations: 0.6597 MB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1382, allocations: 0 / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.1383, allocations: 16 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.1383, allocations: 24.98 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.1393, allocations: 487.5 kB / 487.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.1415, allocations: 1.519 MB / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.1422, allocations: 303.5 kB / 489.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.1425, allocations: 150.4 kB / 489.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.1426, allocations: 8 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1426, allocations: 34.55 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.1426, allocations: 4 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001297/0.1439, allocations: 0.4988 MB / 490.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.144, allocations: 111.1 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006264/0.1446, allocations: 0.5408 MB / 491 MB, free: 9.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.1447, allocations: 29.7 kB / 491.1 MB, free: 9.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1449, allocations: 224 kB / 491.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.1449, allocations: 71 kB / 491.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.1451, allocations: 81.88 kB / 491.4 MB, free: 9.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1453, allocations: 358.8 kB / 491.8 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.1456, allocations: 156.1 kB / 491.9 MB, free: 8.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.1461, allocations: 284.5 kB / 492.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/0.1469, allocations: 442.9 kB / 492.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1469, allocations: 0 / 492.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001009/0.148, allocations: 0.4987 MB / 493.1 MB, free: 7.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.148, allocations: 4 kB / 493.2 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.247e-05/0.1481, allocations: 47.98 kB / 493.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1481, allocations: 7.938 kB / 493.2 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1483, allocations: 43.89 kB / 493.3 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1484, allocations: 4 kB / 493.3 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.1487, allocations: 71.25 kB / 493.3 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.1487, allocations: 24.12 kB / 493.3 MB, free: 7.34 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.0002371/0.149, allocations: 221.5 kB / 493.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.1491, allocations: 43.44 kB / 493.6 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008556/0.1499, allocations: 443.8 kB / 494 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.15, allocations: 15.88 kB / 494.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.15, allocations: 4 kB / 494.1 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.15, allocations: 0 / 494.1 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.1506, allocations: 393.2 kB / 494.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.403e-05/0.1506, allocations: 43.92 kB / 494.5 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1508, allocations: 23.97 kB / 494.5 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1508, allocations: 0 / 494.5 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.1508, allocations: 12 kB / 494.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1508, allocations: 3.938 kB / 494.5 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1508, allocations: 4 kB / 494.5 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009107/0.1518, allocations: 0.6074 MB / 495.1 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.1519, allocations: 132.5 kB / 495.3 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/0.152, allocations: 8 kB / 495.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.1523, allocations: 23.92 kB / 495.3 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1524, allocations: 23.97 kB / 495.3 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.1524, allocations: 8 kB / 495.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004304/0.1529, allocations: 399 kB / 495.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1529, allocations: 0 / 495.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005498/0.1534, allocations: 131.8 kB / 495.8 MB, free: 4.742 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.0003343/0.1538, allocations: 159.1 kB / 496 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.1549, allocations: 0.6874 MB / 496.7 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1549, allocations: 0 / 496.7 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005851/0.1555, allocations: 485.3 kB / 497.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007095/0.1563, allocations: 121.3 kB / 497.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1581, allocations: 1.015 MB / 498.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.1587, allocations: 0.8659 MB / 499.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.159, allocations: 87.3 kB / 499.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.1591, allocations: 39.36 kB / 499.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1591, allocations: 0 / 499.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01449/0.1735, allocations: 8.379 MB / 0.4958 GB, free: 8.809 MB / 382.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches