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.0007055/0.0007055, allocations: 93.64 kB / 17.35 MB, free: 6.367 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.0007656/0.0007656, allocations: 172.3 kB / 18.25 MB, free: 5.523 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.3/1.3, allocations: 223.3 MB / 242.3 MB, free: 14.52 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.2031/0.2031, allocations: 44.24 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003004, allocations: 12 kB / 410.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002138/0.1207, allocations: 1.722 MB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.122, allocations: 0.8842 MB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.1221, allocations: 4 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1223, allocations: 55.72 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.1226, allocations: 111.5 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1229, allocations: 83.78 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.1233, allocations: 0.5097 MB / 475.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.1234, allocations: 44.72 kB / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1236, allocations: 135.2 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1238, allocations: 191.1 kB / 476.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.1238, allocations: 12 kB / 476.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.1241, allocations: 159.7 kB / 476.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.1242, allocations: 91.53 kB / 476.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1243, allocations: 176.7 kB / 476.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.1248, allocations: 422.5 kB / 477 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1248, allocations: 0 / 477 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1248, allocations: 0 / 477 MB, free: 8.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1248, allocations: 0 / 477 MB, free: 8.602 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.0008602/0.1257, allocations: 0.6007 MB / 477.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.1257, allocations: 8.031 kB / 477.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.361e-05/0.1258, allocations: 78.72 kB / 477.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.1259, allocations: 44.38 kB / 477.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1262, allocations: 275.7 kB / 478 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1262, allocations: 33.3 kB / 478 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.1263, allocations: 36.38 kB / 478 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007971/0.1271, allocations: 0.5609 MB / 478.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1271, allocations: 0 / 478.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.1271, allocations: 23.92 kB / 478.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/0.1272, allocations: 36.98 kB / 478.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008796/0.1281, allocations: 0.5894 MB / 479.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.1296, allocations: 1.163 MB / 480.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.1302, allocations: 382.2 kB / 480.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.1305, allocations: 144.9 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.1305, allocations: 11.97 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1306, allocations: 34.56 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.1306, allocations: 0 / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009256/0.1315, allocations: 482.3 kB / 481.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.1315, allocations: 55.41 kB / 481.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.132, allocations: 453.6 kB / 481.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.132, allocations: 29.7 kB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1322, allocations: 188.3 kB / 482.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.1323, allocations: 78.91 kB / 482.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.1323, allocations: 21.72 kB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1324, allocations: 354.7 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.1327, allocations: 119.9 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.1329, allocations: 125.7 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.1334, allocations: 275.8 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1334, allocations: 0 / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006103/0.1341, allocations: 356.9 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1341, allocations: 8 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1341, allocations: 3.938 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1341, allocations: 0 / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.1348, allocations: 151.9 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.1375, allocations: 5.528 MB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.1378, allocations: 55.39 kB / 489.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.1378, allocations: 12 kB / 489.2 MB, free: 11.92 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.0002066/0.138, allocations: 193.9 kB / 489.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.1381, allocations: 35.53 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008552/0.1389, allocations: 476.4 kB / 489.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.139, allocations: 7.922 kB / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.139, allocations: 0 / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.139, allocations: 0 / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1394, allocations: 381.2 kB / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1394, allocations: 0 / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.14, allocations: 151.9 kB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.1401, allocations: 11.92 kB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.1401, allocations: 8 kB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.1427, allocations: 5.512 MB / 495.9 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1427, allocations: 4.219 kB / 495.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/0.1434, allocations: 461.8 kB / 496.4 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1435, allocations: 124.5 kB / 496.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.1435, allocations: 7.984 kB / 496.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.1437, allocations: 12 kB / 496.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.1438, allocations: 23.91 kB / 496.6 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.1438, allocations: 15.98 kB / 496.6 MB, free: 4.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.1442, allocations: 335.1 kB / 496.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1442, allocations: 0 / 496.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.1446, allocations: 99.84 kB / 497 MB, free: 3.797 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.001007/0.1456, allocations: 1.021 MB / 498 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1467, allocations: 412.5 kB / 498.4 MB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1467, allocations: 0 / 498.4 MB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007728/0.1475, allocations: 289.2 kB / 498.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.148, allocations: 81.44 kB / 498.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.1532, allocations: 4.591 MB / 0.4916 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1536, allocations: 0.8504 MB / 0.4924 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002267/0.1538, allocations: 83.16 kB / 0.4925 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.154, allocations: 111.4 kB / 0.4926 GB, free: 12.25 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.154, allocations: 0 / 0.4926 GB, free: 12.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.1775, allocations: 10.67 MB / 0.503 GB, free: 1.895 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/0.1779, allocations: 281.8 kB / 0.5033 GB, free: 1.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.118, allocations: 3.938 kB / 0.5033 GB, free: 1.508 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