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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",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.001164/0.001164, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001243/0.001243, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.36/1.36, 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.1969/0.1969, allocations: 43.53 MB / 314.1 MB, free: 472 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.002134/0.002134, allocations: 71.89 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1248, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.003025/0.1278, allocations: 2.114 MB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.1304, allocations: 2.103 MB / 0.4916 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1305, allocations: 7.938 kB / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1308, allocations: 71.58 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1311, allocations: 107.4 kB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.132, allocations: 422.2 kB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.1325, allocations: 454 kB / 0.4926 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.1325, allocations: 40.72 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.1327, allocations: 167.2 kB / 0.4928 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.133, allocations: 195 kB / 0.4929 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.133, allocations: 12 kB / 0.493 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000826/0.1338, allocations: 0.5967 MB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.134, allocations: 115.5 kB / 0.4937 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1341, allocations: 174.7 kB / 0.4938 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000783/0.1349, allocations: 0.712 MB / 0.4945 GB, free: 4.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1349, allocations: 0 / 0.4945 GB, free: 4.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1349, allocations: 0 / 0.4945 GB, free: 4.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.135, allocations: 4 kB / 0.4945 GB, free: 4.984 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.001233/0.1362, allocations: 0.7705 MB / 0.4953 GB, free: 4.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1362, allocations: 15.89 kB / 0.4953 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.417e-05/0.1363, allocations: 82.7 kB / 0.4954 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.1364, allocations: 48.66 kB / 0.4954 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.1368, allocations: 308.8 kB / 0.4957 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.1368, allocations: 29.38 kB / 0.4957 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.1369, allocations: 36.38 kB / 0.4958 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.1377, allocations: 0.5817 MB / 0.4963 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1377, allocations: 0 / 0.4963 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.1378, allocations: 20 kB / 0.4964 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.1378, allocations: 17 kB / 0.4964 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.1386, allocations: 431.5 kB / 0.4968 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.1403, allocations: 1.403 MB / 0.4982 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.1408, allocations: 275.6 kB / 0.4984 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.1411, allocations: 142.5 kB / 0.4986 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.1412, allocations: 7.984 kB / 0.4986 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1412, allocations: 34.56 kB / 0.4986 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.906e-06/0.1412, allocations: 4 kB / 0.4986 GB, free: 0.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001145/0.1424, allocations: 464.8 kB / 0.499 GB, free: 128 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.1425, allocations: 110.8 kB / 0.4991 GB, free: 15.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.1431, allocations: 0.545 MB / 0.4997 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1431, allocations: 25.7 kB / 0.4997 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1433, allocations: 220.3 kB / 0.4999 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.1433, allocations: 55.48 kB / 0.5 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1434, allocations: 53.7 kB / 0.5 GB, free: 15.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1436, allocations: 354.8 kB / 0.5004 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.1439, allocations: 127.9 kB / 0.5005 GB, free: 14.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.1442, allocations: 169 kB / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.1449, allocations: 296.8 kB / 0.5009 GB, free: 14.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.1449, allocations: 7.938 kB / 0.5009 GB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007708/0.1457, allocations: 389 kB / 0.5013 GB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1457, allocations: 10.59 kB / 0.5013 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.033e-05/0.1457, allocations: 28 kB / 0.5013 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1458, allocations: 0 / 0.5013 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.146, allocations: 47.88 kB / 0.5014 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.146, allocations: 4.156 kB / 0.5014 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.1463, allocations: 63.56 kB / 0.5014 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.1463, allocations: 15.98 kB / 0.5015 GB, free: 13.54 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.0001831/0.1465, allocations: 189.6 kB / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1466, allocations: 47.66 kB / 0.5017 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007116/0.1473, allocations: 384.9 kB / 0.5021 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/0.1474, allocations: 4 kB / 0.5021 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1474, allocations: 4 kB / 0.5021 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1474, allocations: 0 / 0.5021 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.1479, allocations: 369.3 kB / 0.5024 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.859e-05/0.148, allocations: 35.98 kB / 0.5024 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1481, allocations: 31.84 kB / 0.5025 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1481, allocations: 0 / 0.5025 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.1482, allocations: 12 kB / 0.5025 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1482, allocations: 0 / 0.5025 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1482, allocations: 7.984 kB / 0.5025 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.149, allocations: 0.5679 MB / 0.5031 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.1492, allocations: 160.8 kB / 0.5032 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.1493, allocations: 4 kB / 0.5032 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.1496, allocations: 19.97 kB / 0.5032 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.1497, allocations: 19.92 kB / 0.5032 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.1497, allocations: 19.94 kB / 0.5033 GB, free: 11.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004101/0.1501, allocations: 407 kB / 0.5037 GB, free: 11.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1501, allocations: 0 / 0.5037 GB, free: 11.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005551/0.1507, allocations: 155.5 kB / 0.5038 GB, free: 11.04 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.001338/0.152, allocations: 1.241 MB / 0.505 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008247/0.1529, allocations: 0.5107 MB / 0.5055 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1529, allocations: 0 / 0.5055 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.1533, allocations: 391.4 kB / 0.5059 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.154, allocations: 105.8 kB / 0.506 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.1602, allocations: 4.938 MB / 0.5108 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.1606, allocations: 0.8575 MB / 0.5116 GB, free: 2.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.1608, allocations: 59.25 kB / 0.5117 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.161, allocations: 123.4 kB / 0.5118 GB, free: 2.543 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.161, allocations: 0 / 0.5118 GB, free: 2.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.1933, allocations: 13.1 MB / 0.5246 GB, free: 5.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.04, allocations: 12.33 kB / 0.5246 GB, free: 5.414 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches