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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",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.001251/0.001251, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001291/0.001291, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2141/0.2141, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.002022/0.002023, allocations: 75.89 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1174, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003632/0.1211, allocations: 2.103 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1231, allocations: 1.266 MB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1233, allocations: 7.938 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.1236, allocations: 63.59 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1239, allocations: 99.36 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.1245, allocations: 183.3 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.125, allocations: 434 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.1251, allocations: 48.7 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.1253, allocations: 159.2 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.1255, allocations: 187 kB / 0.4919 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.1256, allocations: 16 kB / 0.4919 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.1261, allocations: 259.5 kB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1262, allocations: 95.53 kB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1264, allocations: 162.9 kB / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006809/0.1271, allocations: 0.5134 MB / 0.4929 GB, free: 6.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1271, allocations: 0 / 0.4929 GB, free: 6.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1271, allocations: 0 / 0.4929 GB, free: 6.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1271, allocations: 0 / 0.4929 GB, free: 6.668 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001252/0.1284, allocations: 0.713 MB / 0.4936 GB, free: 5.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1284, allocations: 11.89 kB / 0.4936 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.1285, allocations: 82.7 kB / 0.4936 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.1286, allocations: 44.66 kB / 0.4937 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.129, allocations: 299.5 kB / 0.494 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.129, allocations: 33.38 kB / 0.494 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.1291, allocations: 36.38 kB / 0.494 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009808/0.1301, allocations: 0.5778 MB / 0.4946 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1301, allocations: 0 / 0.4946 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.1301, allocations: 16 kB / 0.4946 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.1302, allocations: 21 kB / 0.4946 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.1311, allocations: 431.5 kB / 0.4951 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.1331, allocations: 1.376 MB / 0.4964 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.1337, allocations: 283.5 kB / 0.4967 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.134, allocations: 134.5 kB / 0.4968 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.1341, allocations: 11.98 kB / 0.4968 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.1341, allocations: 46.48 kB / 0.4969 GB, free: 2.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.1341, allocations: 0 / 0.4969 GB, free: 2.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001232/0.1354, allocations: 455.8 kB / 0.4973 GB, free: 1.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.1355, allocations: 110.8 kB / 0.4974 GB, free: 1.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.1361, allocations: 0.4979 MB / 0.4979 GB, free: 1.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1361, allocations: 25.7 kB / 0.4979 GB, free: 1.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1363, allocations: 204.3 kB / 0.4981 GB, free: 1.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.1363, allocations: 59.48 kB / 0.4982 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1365, allocations: 57.75 kB / 0.4982 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.1367, allocations: 350.8 kB / 0.4985 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.137, allocations: 127.9 kB / 0.4987 GB, free: 444 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.1374, allocations: 173 kB / 0.4988 GB, free: 252 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007307/0.1381, allocations: 296.8 kB / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1381, allocations: 0 / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009285/0.1391, allocations: 385.1 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1391, allocations: 15.94 kB / 0.4995 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-05/0.1392, allocations: 31.98 kB / 0.4995 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.1392, allocations: 4 kB / 0.4995 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.1394, allocations: 31.91 kB / 0.4996 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1395, allocations: 4 kB / 0.4996 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.1398, allocations: 59.59 kB / 0.4996 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.1398, allocations: 12 kB / 0.4996 GB, free: 15.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.14, allocations: 185.7 kB / 0.4998 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.1402, allocations: 39.7 kB / 0.4998 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008348/0.141, allocations: 396.3 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.141, allocations: 0 / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.141, allocations: 4 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.141, allocations: 0 / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.1417, allocations: 365.3 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.354e-05/0.1417, allocations: 31.98 kB / 0.5006 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1419, allocations: 31.91 kB / 0.5006 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1419, allocations: 3.938 kB / 0.5006 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.1419, allocations: 8 kB / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1419, allocations: 0 / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.142, allocations: 0 / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009533/0.1429, allocations: 0.5862 MB / 0.5012 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.143, allocations: 124.8 kB / 0.5013 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.1431, allocations: 4 kB / 0.5013 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.1434, allocations: 23.97 kB / 0.5014 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.1435, allocations: 23.98 kB / 0.5014 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.1435, allocations: 11.98 kB / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004472/0.144, allocations: 371.1 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.144, allocations: 0 / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00052/0.1445, allocations: 119.7 kB / 0.5019 GB, free: 13.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001501/0.146, allocations: 1.179 MB / 0.503 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.147, allocations: 0.5146 MB / 0.5035 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1471, allocations: 4.312 kB / 0.5035 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.1476, allocations: 387.1 kB / 0.5039 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.1483, allocations: 105.3 kB / 0.504 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/0.1551, allocations: 4.724 MB / 0.5086 GB, free: 5.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.1557, allocations: 0.8497 MB / 0.5094 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.1559, allocations: 59.23 kB / 0.5095 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.1561, allocations: 115.4 kB / 0.5096 GB, free: 4.793 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1561, allocations: 0 / 0.5096 GB, free: 4.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.1946, allocations: 11.47 MB / 0.5208 GB, free: 9.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.634, allocations: 8.328 kB / 0.5208 GB, free: 9.312 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches