Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001088/0.001088, allocations: 107 kB / 17.33 MB, free: 6 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.001005/0.001005, allocations: 193.3 kB / 18.25 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1986/0.1986, allocations: 44.18 MB / 336.3 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.42 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1129, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003067/0.116, allocations: 2.066 MB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1172, allocations: 0.8958 MB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1173, allocations: 4 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1176, allocations: 63.72 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.1179, allocations: 103.5 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1182, allocations: 83.72 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.1186, allocations: 394.1 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.919e-05/0.1186, allocations: 40.72 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1188, allocations: 143.2 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1191, allocations: 195.1 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.1191, allocations: 16 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.1194, allocations: 155.8 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1195, allocations: 103.4 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.1196, allocations: 154.9 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.1201, allocations: 430.6 kB / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1201, allocations: 4 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1201, allocations: 0 / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1201, allocations: 0 / 473.7 MB, free: 9.773 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001014/0.1212, allocations: 0.6514 MB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1212, allocations: 8.031 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.699e-05/0.1213, allocations: 82.7 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.1214, allocations: 44.41 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1217, allocations: 283.6 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1217, allocations: 25.38 kB / 474.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.1218, allocations: 40.36 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/0.1226, allocations: 0.557 MB / 475.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1226, allocations: 0 / 475.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.1226, allocations: 12 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.1227, allocations: 44.97 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008607/0.1236, allocations: 0.5698 MB / 476 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.1252, allocations: 1.171 MB / 477.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.1258, allocations: 379.7 kB / 477.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.1261, allocations: 140.9 kB / 477.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.1261, allocations: 7.984 kB / 477.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1261, allocations: 38.55 kB / 477.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.1261, allocations: 0 / 477.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009081/0.1271, allocations: 458.1 kB / 478.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1271, allocations: 55.41 kB / 478.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.1276, allocations: 457.6 kB / 478.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.1276, allocations: 33.7 kB / 478.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1277, allocations: 188.3 kB / 478.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.1278, allocations: 78.84 kB / 478.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.1279, allocations: 49.69 kB / 479 MB, free: 4.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1281, allocations: 354.7 kB / 479.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.1283, allocations: 115.9 kB / 479.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.1285, allocations: 121.8 kB / 479.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.129, allocations: 263.6 kB / 479.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.129, allocations: 0 / 479.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005802/0.1296, allocations: 341 kB / 480.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1296, allocations: 11.94 kB / 480.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1296, allocations: 0 / 480.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1296, allocations: 3.984 kB / 480.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.1304, allocations: 159.9 kB / 480.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.1334, allocations: 5.516 MB / 485.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.1336, allocations: 51.66 kB / 485.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.1337, allocations: 19.92 kB / 485.9 MB, free: 13.08 MB / 366.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.0002284/0.1339, allocations: 197.3 kB / 486.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.134, allocations: 31.62 kB / 486.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008707/0.1348, allocations: 452.4 kB / 486.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1349, allocations: 8 kB / 486.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1349, allocations: 0 / 486.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1349, allocations: 3.984 kB / 486.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.1354, allocations: 373.2 kB / 486.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1354, allocations: 4 kB / 486.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.136, allocations: 155.9 kB / 487.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1361, allocations: 0 / 487.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.1361, allocations: 11.98 kB / 487.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.1387, allocations: 5.512 MB / 492.6 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.1387, allocations: 3.938 kB / 492.6 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.1394, allocations: 450 kB / 493.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1395, allocations: 120.6 kB / 493.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.1395, allocations: 4 kB / 493.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1398, allocations: 11.98 kB / 493.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.1398, allocations: 23.92 kB / 493.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1399, allocations: 11.98 kB / 493.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003622/0.1402, allocations: 339.1 kB / 493.6 MB, free: 5.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1402, allocations: 3.938 kB / 493.6 MB, free: 5.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.1407, allocations: 99.94 kB / 493.7 MB, free: 5.004 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 (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.001133/0.1418, allocations: 1.009 MB / 494.7 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.143, allocations: 441 kB / 495.1 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1431, allocations: 3.938 kB / 495.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.1439, allocations: 284.8 kB / 495.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.1445, allocations: 89.44 kB / 495.5 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.15, allocations: 4.526 MB / 0.4883 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.1504, allocations: 0.8465 MB / 0.4891 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.1507, allocations: 91.2 kB / 0.4892 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1509, allocations: 111.4 kB / 0.4893 GB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1509, allocations: 3.938 kB / 0.4893 GB, free: 13.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.1756, allocations: 11.16 MB / 0.5002 GB, free: 2.645 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.1759, allocations: 289.1 kB / 0.5005 GB, free: 2.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.238, allocations: 7.516 kB / 0.5005 GB, free: 2.254 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches