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_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 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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001089/0.001089, allocations: 114.4 kB / 17.33 MB, free: 6.012 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.001113/0.001113, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.425/1.425, allocations: 222.9 MB / 241.9 MB, free: 15.46 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.2164/0.2164, allocations: 44.18 MB / 336.2 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.95 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003496/0.1194, allocations: 2.058 MB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1209, allocations: 0.888 MB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.121, allocations: 4 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.1213, allocations: 59.72 kB / 471.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.1218, allocations: 111.5 kB / 472 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1221, allocations: 83.78 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.1225, allocations: 390.1 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.1226, allocations: 40.73 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.1228, allocations: 143.2 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.123, allocations: 195.1 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.1231, allocations: 12 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.1233, allocations: 147.7 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1235, allocations: 91.53 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1236, allocations: 162.9 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.1241, allocations: 422.6 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1241, allocations: 0 / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1241, allocations: 0 / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.1241, allocations: 0 / 473.6 MB, free: 9.828 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.0009833/0.1251, allocations: 0.6514 MB / 474.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1252, allocations: 12.03 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.651e-05/0.1252, allocations: 86.69 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.1253, allocations: 40.47 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1256, allocations: 283.6 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1257, allocations: 29.31 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.1257, allocations: 36.36 kB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.1265, allocations: 0.557 MB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1266, allocations: 7.938 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.1266, allocations: 12 kB / 475.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.1267, allocations: 48.97 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/0.1276, allocations: 0.5659 MB / 475.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.1292, allocations: 1.179 MB / 477.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.1298, allocations: 378.1 kB / 477.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1301, allocations: 136.9 kB / 477.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.1301, allocations: 8 kB / 477.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1302, allocations: 34.56 kB / 477.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.1302, allocations: 0 / 477.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009302/0.1311, allocations: 466.7 kB / 478.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1311, allocations: 55.41 kB / 478.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.1316, allocations: 453.6 kB / 478.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1316, allocations: 33.7 kB / 478.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1318, allocations: 188.3 kB / 478.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.1318, allocations: 78.91 kB / 478.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/0.1319, allocations: 49.69 kB / 479 MB, free: 4.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1321, allocations: 354.7 kB / 479.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.1323, allocations: 115.9 kB / 479.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1325, allocations: 117.6 kB / 479.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.133, allocations: 267.4 kB / 479.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.133, allocations: 4 kB / 479.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006012/0.1336, allocations: 336.9 kB / 480.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1337, allocations: 11.94 kB / 480.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1337, allocations: 0 / 480.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1337, allocations: 0 / 480.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.1344, allocations: 155.9 kB / 480.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.1373, allocations: 5.524 MB / 485.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.1375, allocations: 47.41 kB / 485.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1376, allocations: 11.98 kB / 485.9 MB, free: 13.13 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.0002149/0.1378, allocations: 201.6 kB / 486.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.1379, allocations: 31.62 kB / 486.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008317/0.1387, allocations: 452.4 kB / 486.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1387, allocations: 7.938 kB / 486.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1387, allocations: 0 / 486.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1387, allocations: 3.984 kB / 486.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.1392, allocations: 377.2 kB / 486.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1392, allocations: 3.938 kB / 486.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.1399, allocations: 155.9 kB / 487.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1399, allocations: 0 / 487.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.1399, allocations: 11.98 kB / 487.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.1426, allocations: 5.512 MB / 492.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1426, allocations: 3.938 kB / 492.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.1433, allocations: 453.7 kB / 493 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1434, allocations: 120.8 kB / 493.2 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.1435, allocations: 12 kB / 493.2 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1437, allocations: 11.98 kB / 493.2 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.1437, allocations: 19.92 kB / 493.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.1438, allocations: 15.98 kB / 493.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003474/0.1441, allocations: 335.1 kB / 493.5 MB, free: 5.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1441, allocations: 0 / 493.5 MB, free: 5.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.1446, allocations: 96 kB / 493.6 MB, free: 5.047 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.001185/0.1457, allocations: 1.017 MB / 494.7 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.147, allocations: 437.4 kB / 495.1 MB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.147, allocations: 0 / 495.1 MB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008251/0.1478, allocations: 279.7 kB / 495.4 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.1484, allocations: 89.42 kB / 495.4 MB, free: 3.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.1539, allocations: 4.536 MB / 500 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1543, allocations: 0.8504 MB / 0.4891 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.1545, allocations: 83.22 kB / 0.4892 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.1547, allocations: 111.4 kB / 0.4893 GB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1547, allocations: 0 / 0.4893 GB, free: 13.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.1818, allocations: 11.19 MB / 0.5002 GB, free: 2.664 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.1821, allocations: 283.9 kB / 0.5005 GB, free: 2.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.302, allocations: 4 kB / 0.5005 GB, free: 2.273 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches