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: 106.5 kB / 16.27 MB, free: 5.977 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.001042/0.001042, allocations: 188.6 kB / 17.2 MB, free: 5.609 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.479/1.479, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2156/0.2156, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001559/0.00156, allocations: 70.22 kB / 382.9 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1179, allocations: 57.8 MB / 440.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.002928/0.1208, allocations: 2.087 MB / 442.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1234, allocations: 2.115 MB / 444.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1235, allocations: 4 kB / 444.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1238, allocations: 67.59 kB / 444.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.1242, allocations: 103.4 kB / 445 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008787/0.1251, allocations: 414.3 kB / 445.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.1255, allocations: 449.9 kB / 445.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.1256, allocations: 48.72 kB / 445.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1257, allocations: 163.1 kB / 446.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.1259, allocations: 195.1 kB / 446.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.126, allocations: 12 kB / 446.3 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.1268, allocations: 0.6044 MB / 446.9 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.1269, allocations: 111.5 kB / 447 MB, free: 424 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.127, allocations: 178.8 kB / 447.2 MB, free: 244 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008285/0.1279, allocations: 0.693 MB / 447.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1279, allocations: 0 / 447.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1279, allocations: 0 / 447.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1279, allocations: 4 kB / 447.9 MB, free: 15.54 MB / 334.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.001513/0.1294, allocations: 0.7602 MB / 448.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.1295, allocations: 11.89 kB / 448.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.1296, allocations: 78.72 kB / 448.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/0.1297, allocations: 48.38 kB / 448.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.1302, allocations: 312.6 kB / 449.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.1302, allocations: 29.38 kB / 449.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.1303, allocations: 36.38 kB / 449.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.1313, allocations: 0.5779 MB / 449.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1313, allocations: 0 / 449.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.1313, allocations: 19.98 kB / 449.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.1314, allocations: 28.92 kB / 449.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.1323, allocations: 423.6 kB / 450.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.1343, allocations: 1.394 MB / 451.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.1349, allocations: 271.6 kB / 451.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.1353, allocations: 130.5 kB / 452 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.752e-05/0.1354, allocations: 16.08 kB / 452 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.1354, allocations: 38.5 kB / 452 MB, free: 11.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/0.1354, allocations: 0 / 452 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001354/0.1368, allocations: 464.6 kB / 452.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.1369, allocations: 102.8 kB / 452.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/0.1376, allocations: 0.5447 MB / 453.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.1377, allocations: 29.95 kB / 453.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.1379, allocations: 224.2 kB / 453.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.138, allocations: 59.16 kB / 453.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1381, allocations: 49.7 kB / 453.5 MB, free: 9.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.1384, allocations: 350.8 kB / 453.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.1388, allocations: 123.9 kB / 453.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.1392, allocations: 173 kB / 454.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.14, allocations: 316.1 kB / 454.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.14, allocations: 0 / 454.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008445/0.1409, allocations: 376.8 kB / 454.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.1409, allocations: 7.938 kB / 454.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.087e-05/0.141, allocations: 31.98 kB / 454.8 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.141, allocations: 4 kB / 454.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.1412, allocations: 27.97 kB / 454.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1412, allocations: 11.92 kB / 454.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.1416, allocations: 67.52 kB / 454.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.1416, allocations: 15.94 kB / 454.9 MB, free: 8.133 MB / 334.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.0002411/0.1419, allocations: 189.7 kB / 455.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.142, allocations: 47.38 kB / 455.2 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008041/0.1428, allocations: 388.8 kB / 455.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.1428, allocations: 4 kB / 455.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1428, allocations: 0 / 455.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1428, allocations: 0 / 455.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.1434, allocations: 373.3 kB / 455.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.411e-05/0.1435, allocations: 27.98 kB / 455.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1437, allocations: 31.91 kB / 456 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1437, allocations: 4 kB / 456 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1437, allocations: 4 kB / 456 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1437, allocations: 4 kB / 456 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1437, allocations: 4 kB / 456 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009167/0.1447, allocations: 0.5761 MB / 456.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.1449, allocations: 160.5 kB / 456.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.145, allocations: 4 kB / 456.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.1453, allocations: 23.97 kB / 456.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.1454, allocations: 19.97 kB / 456.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1454, allocations: 8 kB / 456.8 MB, free: 6.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005002/0.1459, allocations: 415 kB / 457.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1459, allocations: 3.938 kB / 457.2 MB, free: 5.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.1466, allocations: 147.8 kB / 457.3 MB, free: 5.637 MB / 334.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.001462/0.148, allocations: 1.248 MB / 458.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009352/0.149, allocations: 0.5302 MB / 459.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.149, allocations: 320 / 459.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.1495, allocations: 391.1 kB / 459.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.1502, allocations: 101.9 kB / 459.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/0.157, allocations: 5.015 MB / 464.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.1576, allocations: 0.8614 MB / 465.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.1578, allocations: 63.25 kB / 465.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.158, allocations: 119.4 kB / 465.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.715e-06/0.158, allocations: 0 / 465.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/0.1923, allocations: 12.98 MB / 478.6 MB, free: 96 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.907, allocations: 24.05 kB / 478.7 MB, free: 72 kB / 350.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