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.001046/0.001046, allocations: 109.1 kB / 16.41 MB, free: 6.504 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.001056/0.001056, 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.359/1.359, 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.2195/0.2195, allocations: 43.51 MB / 314.1 MB, free: 456 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.001526/0.001526, allocations: 71.89 kB / 441.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1129, allocations: 57.79 MB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.004356/0.1173, allocations: 2.106 MB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.1205, allocations: 2.111 MB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.1207, allocations: 0 / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.121, allocations: 67.59 kB / 0.4916 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.1215, allocations: 119.4 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1226, allocations: 418.2 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005311/0.1231, allocations: 454 kB / 0.4926 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.1232, allocations: 44.72 kB / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.1235, allocations: 167.1 kB / 0.4928 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.1238, allocations: 191.1 kB / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.1239, allocations: 16 kB / 0.493 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009463/0.1248, allocations: 0.5889 MB / 0.4935 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.125, allocations: 123.4 kB / 0.4937 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.1252, allocations: 170.8 kB / 0.4938 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.1262, allocations: 0.7042 MB / 0.4945 GB, free: 4.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1262, allocations: 0 / 0.4945 GB, free: 4.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1262, allocations: 4 kB / 0.4945 GB, free: 4.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.1263, allocations: 0 / 0.4945 GB, free: 4.949 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.001348/0.1276, allocations: 0.7783 MB / 0.4953 GB, free: 4.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1277, allocations: 11.89 kB / 0.4953 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.179e-05/0.1278, allocations: 82.7 kB / 0.4954 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.1278, allocations: 52.66 kB / 0.4954 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.1282, allocations: 312.7 kB / 0.4957 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.1282, allocations: 33.31 kB / 0.4957 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.1283, allocations: 36.38 kB / 0.4958 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.1292, allocations: 0.574 MB / 0.4963 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1292, allocations: 4 kB / 0.4963 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.1293, allocations: 16 kB / 0.4964 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.1293, allocations: 21 kB / 0.4964 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.1301, allocations: 431.5 kB / 0.4968 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.1319, allocations: 1.403 MB / 0.4982 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.1325, allocations: 279.6 kB / 0.4984 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.1328, allocations: 134.5 kB / 0.4986 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.1329, allocations: 11.98 kB / 0.4986 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1329, allocations: 38.55 kB / 0.4986 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.1329, allocations: 4 kB / 0.4986 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001217/0.1341, allocations: 468.7 kB / 0.4991 GB, free: 72 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.1342, allocations: 111.1 kB / 0.4992 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.1349, allocations: 0.5448 MB / 0.4997 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1349, allocations: 25.7 kB / 0.4997 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.135, allocations: 216.3 kB / 0.4999 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.1351, allocations: 55.48 kB / 0.5 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.1352, allocations: 49.7 kB / 0.5 GB, free: 15.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1354, allocations: 362.8 kB / 0.5004 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.1357, allocations: 123.9 kB / 0.5005 GB, free: 14.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.136, allocations: 169 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.1366, allocations: 300.8 kB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1367, allocations: 112 / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008289/0.1375, allocations: 388.9 kB / 0.5013 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1375, allocations: 11.94 kB / 0.5013 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-05/0.1376, allocations: 31.98 kB / 0.5013 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1376, allocations: 4 kB / 0.5013 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.1378, allocations: 32.12 kB / 0.5014 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1378, allocations: 4 kB / 0.5014 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.1381, allocations: 63.55 kB / 0.5014 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1382, allocations: 8 kB / 0.5015 GB, free: 13.51 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.0002266/0.1384, allocations: 197.6 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1385, allocations: 43.66 kB / 0.5017 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007753/0.1393, allocations: 396.1 kB / 0.5021 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1393, allocations: 4 kB / 0.5021 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1393, allocations: 0 / 0.5021 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1393, allocations: 0 / 0.5021 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.1399, allocations: 377.3 kB / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/0.1399, allocations: 31.98 kB / 0.5025 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.1401, allocations: 27.91 kB / 0.5025 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1401, allocations: 4 kB / 0.5025 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1401, allocations: 8 kB / 0.5025 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1401, allocations: 7.984 kB / 0.5025 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1401, allocations: 4 kB / 0.5025 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.141, allocations: 0.5784 MB / 0.5031 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.1412, allocations: 156.8 kB / 0.5032 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.1412, allocations: 4 kB / 0.5032 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.1415, allocations: 19.97 kB / 0.5032 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.1416, allocations: 23.92 kB / 0.5033 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.1417, allocations: 8 kB / 0.5033 GB, free: 11.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004247/0.1421, allocations: 415 kB / 0.5037 GB, free: 11.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1421, allocations: 0 / 0.5037 GB, free: 11.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005857/0.1427, allocations: 151.5 kB / 0.5038 GB, free: 10.99 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.001458/0.1442, allocations: 1.249 MB / 0.505 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008875/0.1451, allocations: 0.5068 MB / 0.5055 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1451, allocations: 4.312 kB / 0.5055 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.1455, allocations: 383.1 kB / 0.5059 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.1463, allocations: 106.6 kB / 0.506 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/0.1534, allocations: 4.931 MB / 0.5108 GB, free: 3.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.1539, allocations: 0.8536 MB / 0.5116 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1541, allocations: 63.25 kB / 0.5117 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.1543, allocations: 119.4 kB / 0.5118 GB, free: 2.504 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1543, allocations: 0 / 0.5118 GB, free: 2.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.1881, allocations: 13.11 MB / 0.5246 GB, free: 5.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.513/8.701, allocations: 8.328 kB / 0.5246 GB, free: 5.379 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