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.001261/0.001261, allocations: 109 kB / 16.27 MB, free: 5.93 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.001207/0.001207, allocations: 191.4 kB / 17.2 MB, free: 5.574 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.399/1.399, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2305/0.2305, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 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.001631/0.001631, allocations: 72.11 kB / 382.9 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1044, allocations: 57.78 MB / 440.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003/0.1075, allocations: 2.002 MB / 442.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1086, allocations: 0.9394 MB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.1087, allocations: 8 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.109, allocations: 63.59 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.1093, allocations: 127.3 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1095, allocations: 83.66 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.1097, allocations: 386.2 kB / 444.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.588e-05/0.1098, allocations: 44.72 kB / 444.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.11, allocations: 155.2 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1102, allocations: 179.1 kB / 444.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.1102, allocations: 15.94 kB / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.1104, allocations: 155.7 kB / 444.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.1105, allocations: 91.59 kB / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1107, allocations: 154.9 kB / 445 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.1111, allocations: 426.3 kB / 445.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1111, allocations: 3.938 kB / 445.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1111, allocations: 0 / 445.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1111, allocations: 0 / 445.4 MB, free: 1.934 MB / 318.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.0008439/0.1119, allocations: 0.6591 MB / 446.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.112, allocations: 12.03 kB / 446.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.083e-05/0.1121, allocations: 86.69 kB / 446.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/0.1121, allocations: 40.47 kB / 446.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1124, allocations: 277.7 kB / 446.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1124, allocations: 33.36 kB / 446.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.1124, allocations: 32.38 kB / 446.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/0.1131, allocations: 0.5608 MB / 447.1 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1131, allocations: 0 / 447.1 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.1131, allocations: 19.98 kB / 447.2 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.1132, allocations: 36.97 kB / 447.2 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008484/0.114, allocations: 0.5738 MB / 447.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.1156, allocations: 1.175 MB / 448.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.1163, allocations: 378.2 kB / 449.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.1165, allocations: 136.9 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.1166, allocations: 7.984 kB / 449.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1166, allocations: 42.55 kB / 449.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 3.216e-06/0.1166, allocations: 3.984 kB / 449.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009381/0.1176, allocations: 458 kB / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1176, allocations: 55.41 kB / 450 MB, free: 13.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.1181, allocations: 457.6 kB / 450.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1181, allocations: 33.64 kB / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1183, allocations: 188.3 kB / 450.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.1184, allocations: 74.95 kB / 450.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.1185, allocations: 49.69 kB / 450.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1186, allocations: 354.7 kB / 451.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.1188, allocations: 115.9 kB / 451.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.1191, allocations: 124 kB / 451.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.1196, allocations: 260.6 kB / 451.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1196, allocations: 0 / 451.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000675/0.1203, allocations: 344.8 kB / 452 MB, free: 11.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1203, allocations: 11.92 kB / 452 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.1203, allocations: 0 / 452 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1203, allocations: 8 kB / 452 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/0.1211, allocations: 151.9 kB / 452.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.1239, allocations: 5.512 MB / 457.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.1242, allocations: 51.61 kB / 457.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.1242, allocations: 8 kB / 457.7 MB, free: 5.238 MB / 334.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.0002111/0.1244, allocations: 197.6 kB / 457.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.1245, allocations: 35.53 kB / 457.9 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/0.1253, allocations: 461 kB / 458.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1253, allocations: 4 kB / 458.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1253, allocations: 0 / 458.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1254, allocations: 3.984 kB / 458.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.1258, allocations: 377.2 kB / 458.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1258, allocations: 0 / 458.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006724/0.1265, allocations: 155.9 kB / 458.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1265, allocations: 0 / 458.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.1265, allocations: 11.98 kB / 458.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.1295, allocations: 5.52 MB / 464.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.1295, allocations: 3.938 kB / 464.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.1302, allocations: 451 kB / 464.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1303, allocations: 116.7 kB / 465 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.1304, allocations: 4 kB / 465 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1306, allocations: 7.984 kB / 465 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.1307, allocations: 27.91 kB / 465 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.1307, allocations: 8 kB / 465 MB, free: 13.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003506/0.1311, allocations: 339 kB / 465.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1311, allocations: 0 / 465.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00039/0.1315, allocations: 111.8 kB / 465.5 MB, free: 13.14 MB / 350.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.001161/0.1326, allocations: 1.009 MB / 466.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.1339, allocations: 436.1 kB / 466.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1339, allocations: 0 / 466.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007979/0.1347, allocations: 276.1 kB / 467.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.1352, allocations: 97.73 kB / 467.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.1405, allocations: 4.436 MB / 471.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1409, allocations: 0.8581 MB / 472.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.1412, allocations: 83.22 kB / 472.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.1413, allocations: 115.4 kB / 472.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1413, allocations: 0 / 472.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.1695, allocations: 11.35 MB / 484.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.41, allocations: 4.5 kB / 484.1 MB, free: 10.42 MB / 366.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