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_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 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_laminar,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001455/0.001455, 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.001565/0.001565, 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.371/1.371, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2316/0.2316, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 61.16 kB / 408.6 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1219, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.00403/0.126, allocations: 2.101 MB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1278, allocations: 1.219 MB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.128, allocations: 3.938 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.1283, allocations: 67.58 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.1286, allocations: 95.36 kB / 472.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/0.1291, allocations: 195 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.1296, allocations: 434 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.1297, allocations: 44.72 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1299, allocations: 159.1 kB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1302, allocations: 183.1 kB / 473.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.1302, allocations: 12 kB / 473.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.1307, allocations: 263.5 kB / 474.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.1308, allocations: 91.53 kB / 474.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.131, allocations: 166.9 kB / 474.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.1317, allocations: 0.5023 MB / 474.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1317, allocations: 4 kB / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1317, allocations: 0 / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1317, allocations: 0 / 474.9 MB, free: 8.73 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.001269/0.133, allocations: 0.7019 MB / 475.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.133, allocations: 8.031 kB / 475.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.708e-05/0.1331, allocations: 98.64 kB / 475.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.1332, allocations: 44.47 kB / 475.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.1336, allocations: 283.5 kB / 476 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.1336, allocations: 29.38 kB / 476 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.1337, allocations: 36.38 kB / 476.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/0.1346, allocations: 0.5778 MB / 476.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1346, allocations: 7.938 kB / 476.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.1346, allocations: 16 kB / 476.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.1347, allocations: 21 kB / 476.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.1356, allocations: 427.5 kB / 477.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.1374, allocations: 1.371 MB / 478.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.138, allocations: 271.6 kB / 478.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.1383, allocations: 142.4 kB / 478.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.1384, allocations: 11.97 kB / 478.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1384, allocations: 34.56 kB / 478.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.893e-06/0.1384, allocations: 0 / 478.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001174/0.1396, allocations: 461 kB / 479.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.1397, allocations: 106.8 kB / 479.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.1402, allocations: 0.4979 MB / 480 MB, free: 3.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1402, allocations: 25.7 kB / 480 MB, free: 3.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1404, allocations: 208.2 kB / 480.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.1404, allocations: 55.11 kB / 480.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1406, allocations: 49.7 kB / 480.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1407, allocations: 358.8 kB / 480.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.141, allocations: 127.9 kB / 480.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1414, allocations: 169 kB / 481 MB, free: 2.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.1421, allocations: 311.8 kB / 481.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1421, allocations: 0 / 481.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008046/0.1429, allocations: 376.8 kB / 481.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.1429, allocations: 7.938 kB / 481.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.727e-05/0.143, allocations: 32.16 kB / 481.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.143, allocations: 0 / 481.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.1433, allocations: 43.89 kB / 481.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1433, allocations: 0 / 481.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.1435, allocations: 51.42 kB / 481.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.1436, allocations: 19.98 kB / 481.8 MB, free: 1.5 MB / 350.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.0002439/0.1438, allocations: 181.7 kB / 482 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1439, allocations: 51.45 kB / 482 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007401/0.1447, allocations: 376.5 kB / 482.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1447, allocations: 4 kB / 482.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1447, allocations: 0 / 482.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1447, allocations: 3.984 kB / 482.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.1452, allocations: 369.3 kB / 482.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-05/0.1453, allocations: 24 kB / 482.8 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1455, allocations: 31.91 kB / 482.8 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1455, allocations: 3.984 kB / 482.8 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.1455, allocations: 12 kB / 482.8 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1455, allocations: 7.938 kB / 482.8 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1455, allocations: 4 kB / 482.8 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.1464, allocations: 0.5701 MB / 483.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.1465, allocations: 120.6 kB / 483.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.1466, allocations: 11.94 kB / 483.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.1469, allocations: 15.97 kB / 483.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.147, allocations: 23.98 kB / 483.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.147, allocations: 12 kB / 483.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003888/0.1474, allocations: 379 kB / 483.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1474, allocations: 0 / 483.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005112/0.1479, allocations: 119.8 kB / 484.1 MB, free: 15.12 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.00133/0.1493, allocations: 1.171 MB / 485.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008927/0.1502, allocations: 0.5343 MB / 485.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1502, allocations: 4.062 kB / 485.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.1506, allocations: 383.7 kB / 486.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.1513, allocations: 106.9 kB / 486.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.1578, allocations: 4.827 MB / 491.1 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1582, allocations: 0.838 MB / 491.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.1584, allocations: 63.25 kB / 492 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.1586, allocations: 111.4 kB / 492.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1586, allocations: 0 / 492.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.1923, allocations: 11.34 MB / 0.4916 GB, free: 11.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.954, allocations: 13.28 kB / 0.4916 GB, free: 11.68 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches