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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_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.001397/0.001397, allocations: 102.8 kB / 16.27 MB, free: 6.41 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.001398/0.001398, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.476/1.476, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.2271/0.2271, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001626/0.001626, allocations: 70.42 kB / 382.9 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003598/0.1282, allocations: 2.006 MB / 442.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1302, allocations: 0.9278 MB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.1304, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1308, allocations: 67.59 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.1313, allocations: 127.4 kB / 443.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.1317, allocations: 75.67 kB / 443.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.1321, allocations: 390.2 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1323, allocations: 48.66 kB / 444.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.1326, allocations: 155.2 kB / 444.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.1329, allocations: 179.1 kB / 444.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.1329, allocations: 11.94 kB / 444.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.1332, allocations: 147.8 kB / 444.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1334, allocations: 95.52 kB / 444.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.1335, allocations: 158.9 kB / 445 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.134, allocations: 426.3 kB / 445.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.134, allocations: 0 / 445.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.134, allocations: 0 / 445.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.134, allocations: 0 / 445.4 MB, free: 1.977 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.000946/0.135, allocations: 0.6591 MB / 446.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.135, allocations: 8.031 kB / 446.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.723e-05/0.1351, allocations: 86.7 kB / 446.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.571e-05/0.1352, allocations: 36.47 kB / 446.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.1355, allocations: 281.7 kB / 446.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1355, allocations: 29.38 kB / 446.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.1356, allocations: 36.36 kB / 446.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.1363, allocations: 0.5569 MB / 447.1 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1363, allocations: 4 kB / 447.1 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.1363, allocations: 12 kB / 447.1 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.1364, allocations: 44.97 kB / 447.2 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009938/0.1374, allocations: 0.5698 MB / 447.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.1392, allocations: 1.175 MB / 448.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.1398, allocations: 382.1 kB / 449.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.1401, allocations: 136.9 kB / 449.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.1401, allocations: 15.98 kB / 449.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1402, allocations: 30.56 kB / 449.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.1402, allocations: 0 / 449.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009968/0.1412, allocations: 462 kB / 449.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.1412, allocations: 51.5 kB / 450 MB, free: 13.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.1417, allocations: 457.5 kB / 450.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1418, allocations: 33.7 kB / 450.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1419, allocations: 192.3 kB / 450.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.142, allocations: 74.92 kB / 450.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1421, allocations: 57.62 kB / 450.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1423, allocations: 350.7 kB / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.1425, allocations: 115.9 kB / 451.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.1428, allocations: 120 kB / 451.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.1433, allocations: 272.6 kB / 451.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1433, allocations: 0 / 451.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006408/0.144, allocations: 340.9 kB / 451.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.144, allocations: 7.938 kB / 451.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.144, allocations: 0 / 451.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1441, allocations: 7.875 kB / 451.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.1448, allocations: 155.9 kB / 452.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.148, allocations: 5.52 MB / 457.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1482, allocations: 39.56 kB / 457.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.1483, allocations: 20.27 kB / 457.7 MB, free: 5.273 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.0002139/0.1485, allocations: 189.6 kB / 457.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.1486, allocations: 39.52 kB / 457.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008621/0.1494, allocations: 449.1 kB / 458.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1494, allocations: 4 kB / 458.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1495, allocations: 4 kB / 458.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1495, allocations: 0 / 458.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.15, allocations: 377.2 kB / 458.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.15, allocations: 0 / 458.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.1507, allocations: 155.9 kB / 458.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.1507, allocations: 4 kB / 458.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.1507, allocations: 11.98 kB / 458.9 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.1538, allocations: 5.516 MB / 464.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1538, allocations: 7.969 kB / 464.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.1545, allocations: 447.1 kB / 464.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1546, allocations: 116.7 kB / 465 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.1547, allocations: 8 kB / 465 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.1549, allocations: 8 kB / 465 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.155, allocations: 27.84 kB / 465 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.155, allocations: 11.98 kB / 465 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003729/0.1554, allocations: 339.1 kB / 465.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1554, allocations: 0 / 465.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.1558, allocations: 99.84 kB / 465.4 MB, free: 13.2 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.001146/0.157, allocations: 1.02 MB / 466.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.1582, allocations: 435.5 kB / 466.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1582, allocations: 0 / 466.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008899/0.1591, allocations: 276.5 kB / 467.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.1598, allocations: 89.44 kB / 467.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/0.1664, allocations: 4.442 MB / 471.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.1669, allocations: 0.862 MB / 472.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.1671, allocations: 83.16 kB / 472.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.1673, allocations: 111.4 kB / 472.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1673, allocations: 4 kB / 472.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.2033, allocations: 11.35 MB / 484.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.64, allocations: 8.125 kB / 484.1 MB, free: 10.46 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches