Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",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.001512/0.001512, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001799/0.001798, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.463/1.463, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2071/0.2071, allocations: 43.52 MB / 314.1 MB, free: 452 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.001491/0.001491, allocations: 67.91 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1238, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003961/0.1278, allocations: 2.017 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1296, allocations: 0.9393 MB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.1299, allocations: 4 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.1303, allocations: 67.66 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005332/0.1309, allocations: 115.4 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.1313, allocations: 99.66 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005653/0.1318, allocations: 382.1 kB / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1319, allocations: 52.7 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.1323, allocations: 151.2 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.1326, allocations: 179.1 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.1327, allocations: 15.98 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.1331, allocations: 151.7 kB / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.1333, allocations: 95.53 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.1335, allocations: 150.9 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.1342, allocations: 442.3 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1342, allocations: 0 / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1342, allocations: 0 / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.1342, allocations: 0 / 0.4921 GB, free: 7.414 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001172/0.1354, allocations: 0.6513 MB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1354, allocations: 8.031 kB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.1355, allocations: 86.7 kB / 0.4929 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/0.1356, allocations: 44.47 kB / 0.4929 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.136, allocations: 283.5 kB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1361, allocations: 25.36 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.1361, allocations: 36.38 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009405/0.1371, allocations: 0.5531 MB / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1371, allocations: 0 / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.1371, allocations: 19.98 kB / 0.4938 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.1372, allocations: 40.97 kB / 0.4938 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1383, allocations: 0.5698 MB / 0.4944 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.1405, allocations: 1.183 MB / 0.4955 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/0.1411, allocations: 378.1 kB / 0.4959 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.1414, allocations: 136.9 kB / 0.496 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.1414, allocations: 7.984 kB / 0.496 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.1415, allocations: 46.58 kB / 0.4961 GB, free: 3.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.1415, allocations: 0 / 0.4961 GB, free: 3.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009865/0.1425, allocations: 453.4 kB / 0.4965 GB, free: 2.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1426, allocations: 55.41 kB / 0.4966 GB, free: 2.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/0.1431, allocations: 457.6 kB / 0.497 GB, free: 2.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1431, allocations: 25.7 kB / 0.497 GB, free: 2.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.1432, allocations: 188.4 kB / 0.4972 GB, free: 2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.1433, allocations: 74.86 kB / 0.4973 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/0.1434, allocations: 53.69 kB / 0.4973 GB, free: 1.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1436, allocations: 354.7 kB / 0.4977 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.1438, allocations: 115.9 kB / 0.4978 GB, free: 1.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.1441, allocations: 124 kB / 0.4979 GB, free: 1.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.1446, allocations: 264.5 kB / 0.4982 GB, free: 1.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1447, allocations: 0 / 0.4982 GB, free: 1.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006537/0.1453, allocations: 340.9 kB / 0.4985 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1454, allocations: 7.938 kB / 0.4985 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.1454, allocations: 7.984 kB / 0.4985 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.1454, allocations: 7.984 kB / 0.4985 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.1462, allocations: 155.9 kB / 0.4987 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.1497, allocations: 5.512 MB / 0.504 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.15, allocations: 47.61 kB / 0.5041 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.1501, allocations: 8 kB / 0.5041 GB, free: 10.72 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002737/0.1504, allocations: 197.6 kB / 0.5043 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.1505, allocations: 39.53 kB / 0.5043 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009492/0.1514, allocations: 453.1 kB / 0.5047 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1514, allocations: 0 / 0.5047 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1514, allocations: 4 kB / 0.5047 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1515, allocations: 7.984 kB / 0.5048 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.152, allocations: 381.2 kB / 0.5051 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.152, allocations: 3.938 kB / 0.5051 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.1528, allocations: 155.9 kB / 0.5053 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.1528, allocations: 0 / 0.5053 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.1529, allocations: 11.98 kB / 0.5053 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/0.156, allocations: 5.516 MB / 0.5107 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.156, allocations: 7.875 kB / 0.5107 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.1567, allocations: 451 kB / 0.5111 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.1569, allocations: 116.7 kB / 0.5112 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.157, allocations: 4 kB / 0.5112 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.1572, allocations: 7.984 kB / 0.5112 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.1573, allocations: 27.91 kB / 0.5113 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.1573, allocations: 8 kB / 0.5113 GB, free: 3.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004054/0.1578, allocations: 335.1 kB / 0.5116 GB, free: 2.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1578, allocations: 0 / 0.5116 GB, free: 2.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.1582, allocations: 103.8 kB / 0.5117 GB, free: 2.633 MB / 398.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/0.1595, allocations: 1.012 MB / 0.5127 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.1607, allocations: 400.1 kB / 0.5131 GB, free: 1.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1607, allocations: 0 / 0.5131 GB, free: 1.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.1616, allocations: 276 kB / 0.5133 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.1621, allocations: 97.41 kB / 0.5134 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/0.168, allocations: 4.354 MB / 0.5177 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.1685, allocations: 0.8465 MB / 0.5185 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.1687, allocations: 83.22 kB / 0.5186 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.1689, allocations: 115.4 kB / 0.5187 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1689, allocations: 0 / 0.5187 GB, free: 11.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2673/0.4362, allocations: 11.78 MB / 0.5302 GB, free: 41.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.1, allocations: 12.53 kB / 0.5302 GB, free: 41.3 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches