Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001363, allocations: 105.2 kB / 16.4 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 197.6 kB / 17.35 MB, free: 5.605 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.409/1.409, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2099/0.2099, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.001394/0.001394, allocations: 79.88 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1262, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.004318/0.1306, allocations: 1.807 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.1328, allocations: 1.006 MB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.133, allocations: 4 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1333, allocations: 39.75 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.1337, allocations: 71.58 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.1342, allocations: 123.5 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.1346, allocations: 215.2 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.797e-05/0.1346, allocations: 21.55 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.1349, allocations: 83.62 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1351, allocations: 99.58 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.1352, allocations: 8 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.1355, allocations: 127.8 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1356, allocations: 55.81 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.1357, allocations: 75.53 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.1363, allocations: 251.1 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1363, allocations: 0 / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1363, allocations: 0 / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1364, allocations: 4 kB / 0.4913 GB, free: 8.277 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001348/0.1377, allocations: 0.5222 MB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.1378, allocations: 11.89 kB / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.192e-05/0.1379, allocations: 54.67 kB / 0.4919 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.1379, allocations: 24.59 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1383, allocations: 220 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1383, allocations: 12.61 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1384, allocations: 12.38 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.1389, allocations: 266.7 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.139, allocations: 0 / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.139, allocations: 8 kB / 0.4924 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.139, allocations: 12.23 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.1396, allocations: 228.4 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.1408, allocations: 0.8175 MB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.1412, allocations: 187.7 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.1415, allocations: 106.5 kB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.1415, allocations: 192 / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1416, allocations: 42.5 kB / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.1416, allocations: 0 / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001034/0.1426, allocations: 309.1 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.1427, allocations: 110.8 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.143, allocations: 261.2 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.143, allocations: 29.7 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1432, allocations: 131.9 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.1432, allocations: 43.38 kB / 0.4946 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.1433, allocations: 37.7 kB / 0.4946 GB, free: 4.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1435, allocations: 334.8 kB / 0.4949 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.1438, allocations: 91.91 kB / 0.495 GB, free: 4.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.1441, allocations: 137 kB / 0.4951 GB, free: 4.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.1446, allocations: 229.2 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1446, allocations: 0 / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007095/0.1454, allocations: 281.1 kB / 0.4956 GB, free: 3.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1454, allocations: 6.5 kB / 0.4956 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/0.1454, allocations: 15.94 kB / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.1455, allocations: 7.984 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.1457, allocations: 35.95 kB / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1457, allocations: 4 kB / 0.4957 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.1459, allocations: 31.98 kB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.146, allocations: 15.92 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001491/0.1462, allocations: 145.7 kB / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.1462, allocations: 23.72 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.1468, allocations: 215.2 kB / 0.4961 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1468, allocations: 4 kB / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.1468, allocations: 7.984 kB / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1468, allocations: 0 / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.1473, allocations: 257.4 kB / 0.4964 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.1473, allocations: 15.98 kB / 0.4964 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.1475, allocations: 27.97 kB / 0.4964 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1475, allocations: 0 / 0.4964 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.1475, allocations: 4 kB / 0.4964 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1475, allocations: 3.984 kB / 0.4964 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1475, allocations: 0 / 0.4964 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.1483, allocations: 481.6 kB / 0.4969 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.1484, allocations: 100.8 kB / 0.497 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.1484, allocations: 8 kB / 0.497 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.1487, allocations: 19.97 kB / 0.497 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.1488, allocations: 15.92 kB / 0.497 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1488, allocations: 8 kB / 0.497 GB, free: 1.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.149, allocations: 192.4 kB / 0.4972 GB, free: 1.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.149, allocations: 0 / 0.4972 GB, free: 1.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004528/0.1495, allocations: 75.88 kB / 0.4973 GB, free: 1.707 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001198/0.1507, allocations: 1.051 MB / 0.4983 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007716/0.1514, allocations: 296.8 kB / 0.4986 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1515, allocations: 0 / 0.4986 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.1518, allocations: 177 kB / 0.4988 GB, free: 132 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.1524, allocations: 56.38 kB / 0.4988 GB, free: 80 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.1569, allocations: 2.813 MB / 0.5016 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/0.1577, allocations: 0.7436 MB / 0.5023 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.1578, allocations: 45.5 kB / 0.5023 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.158, allocations: 55.42 kB / 0.5024 GB, free: 12.27 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.158, allocations: 0 / 0.5024 GB, free: 12.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.1847, allocations: 6.009 MB / 0.5083 GB, free: 6.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/7.972, allocations: 8.125 kB / 0.5083 GB, free: 6.273 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches