Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 44.9 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 64.12 kB / 491.8 MB, free: 29.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1139, allocations: 64.26 MB / 0.543 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003341/0.1172, allocations: 1.884 MB / 0.5449 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1186, allocations: 0.8062 MB / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.1187, allocations: 0 / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.119, allocations: 51.67 kB / 0.5457 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.1192, allocations: 95.55 kB / 0.5458 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1195, allocations: 71.73 kB / 0.5459 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.1198, allocations: 258.7 kB / 0.5461 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.476e-05/0.1199, allocations: 28.69 kB / 0.5461 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.12, allocations: 99.48 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1202, allocations: 123.4 kB / 0.5464 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1202, allocations: 4 kB / 0.5464 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.1205, allocations: 123.8 kB / 0.5465 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1206, allocations: 71.67 kB / 0.5465 GB, free: 484 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1207, allocations: 103.3 kB / 0.5466 GB, free: 380 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.1211, allocations: 298.6 kB / 0.5469 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1211, allocations: 0 / 0.5469 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1211, allocations: 4 kB / 0.5469 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1211, allocations: 0 / 0.5469 GB, free: 76 kB / 398.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.0009227/0.122, allocations: 0.5494 MB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1221, allocations: 8.031 kB / 0.5475 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.1221, allocations: 70.72 kB / 0.5475 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.1222, allocations: 28.75 kB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1225, allocations: 247.9 kB / 0.5478 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.1225, allocations: 20.94 kB / 0.5478 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.1226, allocations: 23.94 kB / 0.5478 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006246/0.1232, allocations: 377.2 kB / 0.5482 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1232, allocations: 0 / 0.5482 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.1232, allocations: 12 kB / 0.5482 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/0.1233, allocations: 24.64 kB / 0.5482 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006024/0.1239, allocations: 374.3 kB / 0.5486 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.1253, allocations: 0.8467 MB / 0.5494 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.1257, allocations: 256.3 kB / 0.5497 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.126, allocations: 96.77 kB / 0.5498 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.126, allocations: 7.984 kB / 0.5498 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.126, allocations: 30.56 kB / 0.5498 GB, free: 12.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.126, allocations: 0 / 0.5498 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007483/0.1268, allocations: 333.4 kB / 0.5501 GB, free: 12.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.1268, allocations: 63.28 kB / 0.5502 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.1272, allocations: 338.9 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1272, allocations: 29.7 kB / 0.5505 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1274, allocations: 172.1 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.1274, allocations: 63.5 kB / 0.5508 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.1275, allocations: 57.89 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1277, allocations: 338.8 kB / 0.5511 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.1279, allocations: 104.4 kB / 0.5512 GB, free: 11.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.1282, allocations: 180 kB / 0.5514 GB, free: 11.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.1287, allocations: 308.9 kB / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1288, allocations: 4 kB / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006285/0.1294, allocations: 348.9 kB / 0.552 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1294, allocations: 8 kB / 0.552 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1294, allocations: 0 / 0.552 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1294, allocations: 4 kB / 0.552 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.13, allocations: 119.9 kB / 0.5522 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.1323, allocations: 3.653 MB / 0.5557 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.1325, allocations: 47.61 kB / 0.5558 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.1326, allocations: 12.28 kB / 0.5558 GB, free: 6.547 MB / 414.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.0002584/0.1328, allocations: 181.7 kB / 0.556 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.1329, allocations: 27.84 kB / 0.556 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/0.1336, allocations: 330.1 kB / 0.5563 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1336, allocations: 0 / 0.5563 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1336, allocations: 4 kB / 0.5563 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1336, allocations: 11.98 kB / 0.5563 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.1339, allocations: 289.5 kB / 0.5566 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1339, allocations: 0 / 0.5566 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.1344, allocations: 103.9 kB / 0.5567 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1344, allocations: 0 / 0.5567 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.1344, allocations: 15.92 kB / 0.5567 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.1367, allocations: 3.649 MB / 0.5603 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1367, allocations: 0 / 0.5603 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.1373, allocations: 355.3 kB / 0.5606 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/0.1374, allocations: 104.9 kB / 0.5607 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.1374, allocations: 7.938 kB / 0.5607 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1376, allocations: 7.984 kB / 0.5607 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.1376, allocations: 19.92 kB / 0.5607 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1376, allocations: 8 kB / 0.5607 GB, free: 1.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.1379, allocations: 245.9 kB / 0.561 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1379, allocations: 0 / 0.561 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.1383, allocations: 71.89 kB / 0.5611 GB, free: 0.9102 MB / 414.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.001018/0.1393, allocations: 0.919 MB / 0.5619 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008844/0.1402, allocations: 318 kB / 0.5623 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1402, allocations: 3.938 kB / 0.5623 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.1407, allocations: 183.9 kB / 0.5624 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1411, allocations: 62.52 kB / 0.5625 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.1457, allocations: 3.377 MB / 0.5658 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.1461, allocations: 0.7912 MB / 0.5666 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.1463, allocations: 86.88 kB / 0.5666 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1464, allocations: 71.41 kB / 0.5667 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1464, allocations: 3.938 kB / 0.5667 GB, free: 10.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.1801, allocations: 8.662 MB / 0.5752 GB, free: 2.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.18, allocations: 11.31 kB / 0.5752 GB, free: 2.523 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.311346143949777]