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_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 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_overall,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001157/0.001157, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001051/0.001051, allocations: 192 kB / 18.55 MB, free: 4.566 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.393/1.393, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.2184/0.2184, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 62.73 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1188, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.003233/0.1221, allocations: 2.12 MB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.1247, allocations: 2.063 MB / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.215e-05/0.1249, allocations: 0 / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1251, allocations: 67.59 kB / 473.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1254, allocations: 107.3 kB / 473.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008488/0.1263, allocations: 410.4 kB / 474.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.1267, allocations: 446 kB / 474.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.1268, allocations: 44.72 kB / 474.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.127, allocations: 167.1 kB / 474.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.1273, allocations: 199 kB / 475 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.1273, allocations: 12 kB / 475 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008906/0.1282, allocations: 0.6006 MB / 475.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1284, allocations: 115.5 kB / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1285, allocations: 170.8 kB / 475.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007869/0.1293, allocations: 0.6932 MB / 476.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1293, allocations: 4 kB / 476.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1294, allocations: 0 / 476.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1294, allocations: 0 / 476.6 MB, free: 7.043 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00123/0.1306, allocations: 0.7642 MB / 477.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1306, allocations: 8.031 kB / 477.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.261e-05/0.1307, allocations: 82.7 kB / 477.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.179e-05/0.1308, allocations: 48.38 kB / 477.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.1312, allocations: 316.3 kB / 477.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1312, allocations: 37.25 kB / 477.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.1313, allocations: 36.38 kB / 477.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008628/0.1322, allocations: 0.574 MB / 478.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1322, allocations: 3.938 kB / 478.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.1322, allocations: 16 kB / 478.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.1323, allocations: 24.98 kB / 478.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.133, allocations: 427.6 kB / 478.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.1348, allocations: 1.391 MB / 480.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.1353, allocations: 271.6 kB / 480.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.1356, allocations: 134.5 kB / 480.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.1357, allocations: 12 kB / 480.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1357, allocations: 34.5 kB / 480.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.1357, allocations: 0 / 480.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001141/0.1369, allocations: 460.8 kB / 481.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.137, allocations: 106.8 kB / 481.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.1375, allocations: 0.5449 MB / 481.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1376, allocations: 33.7 kB / 481.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1377, allocations: 220.2 kB / 482.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.1378, allocations: 55.2 kB / 482.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.1379, allocations: 49.7 kB / 482.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.138, allocations: 354.8 kB / 482.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.1383, allocations: 123.9 kB / 482.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.1387, allocations: 181 kB / 482.8 MB, free: 500 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006621/0.1393, allocations: 299.5 kB / 483.1 MB, free: 184 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1394, allocations: 0 / 483.1 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008328/0.1402, allocations: 384.8 kB / 483.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1402, allocations: 11.92 kB / 483.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/0.1403, allocations: 32 kB / 483.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1403, allocations: 0 / 483.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.1405, allocations: 35.95 kB / 483.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1405, allocations: 3.938 kB / 483.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.1408, allocations: 63.58 kB / 483.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1409, allocations: 15.98 kB / 483.6 MB, free: 15.63 MB / 366.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.000188/0.1411, allocations: 185.8 kB / 483.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1412, allocations: 43.47 kB / 483.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007274/0.1419, allocations: 392.6 kB / 484.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.1419, allocations: 4 kB / 484.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1419, allocations: 0 / 484.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1419, allocations: 4 kB / 484.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.1425, allocations: 369.3 kB / 484.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.885e-05/0.1425, allocations: 31.98 kB / 484.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1427, allocations: 27.91 kB / 484.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.1427, allocations: 4 kB / 484.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.1427, allocations: 4 kB / 484.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1427, allocations: 8 kB / 484.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1427, allocations: 3.938 kB / 484.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.1435, allocations: 0.5871 MB / 485.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.1437, allocations: 160.4 kB / 485.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.1438, allocations: 0 / 485.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.1441, allocations: 23.97 kB / 485.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.1442, allocations: 15.98 kB / 485.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.1442, allocations: 8 kB / 485.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000414/0.1446, allocations: 415 kB / 485.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1446, allocations: 0 / 485.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.1452, allocations: 143.9 kB / 486 MB, free: 13.14 MB / 366.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.001399/0.1466, allocations: 1.244 MB / 487.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008751/0.1475, allocations: 0.534 MB / 487.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1475, allocations: 320 / 487.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.148, allocations: 391.1 kB / 488.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.1487, allocations: 93.97 kB / 488.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/0.1556, allocations: 5.023 MB / 493.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.1562, allocations: 0.8651 MB / 494.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1564, allocations: 63.25 kB / 494.2 MB, free: 4.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.1566, allocations: 115.4 kB / 494.3 MB, free: 4.547 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1566, allocations: 0 / 494.3 MB, free: 4.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.1934, allocations: 12.97 MB / 0.4954 GB, free: 7.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/7.975, allocations: 12.38 kB / 0.4954 GB, free: 7.797 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches