Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.62 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1132, allocations: 62.45 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003711/0.117, allocations: 1.881 MB / 482 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1188, allocations: 0.8451 MB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.119, allocations: 3.938 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.1194, allocations: 55.73 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.1199, allocations: 83.56 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.1203, allocations: 75.72 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.1207, allocations: 258.7 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.1208, allocations: 36.38 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.121, allocations: 111.4 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1212, allocations: 115.4 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.1213, allocations: 8 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.1215, allocations: 119.8 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.1216, allocations: 63.69 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1218, allocations: 111.3 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.1222, allocations: 303.1 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1222, allocations: 0 / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1222, allocations: 0 / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1222, allocations: 0 / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008107/0.123, allocations: 0.5497 MB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.1231, allocations: 12.03 kB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.679e-05/0.1232, allocations: 66.72 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.1232, allocations: 28.56 kB / 484.9 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1235, allocations: 242.3 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1235, allocations: 16.94 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.1236, allocations: 27.94 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.1242, allocations: 381.2 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1243, allocations: 0 / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.1243, allocations: 8 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.1243, allocations: 24.64 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/0.125, allocations: 374.3 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.1263, allocations: 0.85 MB / 486.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.1267, allocations: 257 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.127, allocations: 100.8 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.127, allocations: 7.984 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.127, allocations: 34.56 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.127, allocations: 0 / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007644/0.1278, allocations: 333.2 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1279, allocations: 55.41 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.1282, allocations: 346.8 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1283, allocations: 25.7 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.1284, allocations: 164 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.1285, allocations: 55.2 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/0.1285, allocations: 61.92 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1287, allocations: 334.8 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1289, allocations: 104.4 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.1292, allocations: 183.9 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.1297, allocations: 309 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.1297, allocations: 4 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006315/0.1303, allocations: 348.7 kB / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1304, allocations: 10.66 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1304, allocations: 3.938 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1304, allocations: 4 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.131, allocations: 127.9 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.1329, allocations: 3.649 MB / 493.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.1331, allocations: 43.52 kB / 493.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1331, allocations: 16.28 kB / 493.3 MB, free: 7.594 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.1334, allocations: 177.7 kB / 493.4 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.1335, allocations: 27.62 kB / 493.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/0.1341, allocations: 326.5 kB / 493.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1341, allocations: 0 / 493.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1341, allocations: 4 kB / 493.8 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.1342, allocations: 7.984 kB / 493.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.1345, allocations: 305.3 kB / 494.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1345, allocations: 4 kB / 494.1 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.135, allocations: 107.9 kB / 494.2 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.135, allocations: 0 / 494.2 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.135, allocations: 11.94 kB / 494.2 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.1367, allocations: 3.645 MB / 497.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1367, allocations: 3.984 kB / 497.9 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.1372, allocations: 347.2 kB / 498.2 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.1372, allocations: 108.7 kB / 498.3 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.1373, allocations: 7.938 kB / 498.3 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1375, allocations: 4 kB / 498.3 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.1375, allocations: 19.97 kB / 498.3 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1375, allocations: 4 kB / 498.3 MB, free: 2.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.1378, allocations: 249.9 kB / 498.6 MB, free: 2.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1378, allocations: 0 / 498.6 MB, free: 2.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000357/0.1381, allocations: 79.94 kB / 498.7 MB, free: 1.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000855/0.139, allocations: 0.9071 MB / 499.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008655/0.1399, allocations: 343.2 kB / 499.9 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1399, allocations: 4 kB / 499.9 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.1404, allocations: 191.8 kB / 0.4884 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.1408, allocations: 56.86 kB / 0.4884 GB, free: 448 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.1447, allocations: 3.396 MB / 0.4917 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.145, allocations: 0.7912 MB / 0.4925 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.1452, allocations: 74.91 kB / 0.4926 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1453, allocations: 71.41 kB / 0.4927 GB, free: 11.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1453, allocations: 0 / 0.4927 GB, free: 11.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.1716, allocations: 8.493 MB / 0.501 GB, free: 3.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.24, allocations: 12.91 kB / 0.501 GB, free: 3.66 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches