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_KC.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_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",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.001212/0.001212, allocations: 104 kB / 17.63 MB, free: 5.523 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.001308/0.001308, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.505/1.505, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2306/0.2306, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.09 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1112, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003309/0.1146, allocations: 2.005 MB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.116, allocations: 0.8996 MB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.1161, allocations: 4 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.1164, allocations: 55.59 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.1168, allocations: 127.4 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1171, allocations: 83.72 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.1175, allocations: 382.1 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.1175, allocations: 44.72 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1178, allocations: 151.2 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.118, allocations: 183.1 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.118, allocations: 12 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1183, allocations: 143.8 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1184, allocations: 99.52 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.1186, allocations: 150.9 kB / 473.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.1191, allocations: 434.6 kB / 474.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1191, allocations: 0 / 474.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.073e-06/0.1191, allocations: 0 / 474.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1191, allocations: 0 / 474.1 MB, free: 9.484 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001023/0.1202, allocations: 0.6475 MB / 474.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1202, allocations: 12.03 kB / 474.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.284e-05/0.1203, allocations: 82.7 kB / 474.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.1204, allocations: 44.47 kB / 474.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1207, allocations: 283.5 kB / 475.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.1207, allocations: 33.38 kB / 475.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.1208, allocations: 36.38 kB / 475.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.1216, allocations: 0.553 MB / 475.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1216, allocations: 7.984 kB / 475.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.1217, allocations: 8 kB / 475.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.1217, allocations: 44.92 kB / 475.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000988/0.1227, allocations: 0.5698 MB / 476.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.1245, allocations: 1.167 MB / 477.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.1252, allocations: 383.7 kB / 478 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.1254, allocations: 132.9 kB / 478.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/0.1255, allocations: 15.97 kB / 478.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1255, allocations: 30.56 kB / 478.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.1255, allocations: 0 / 478.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009391/0.1265, allocations: 466.5 kB / 478.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1265, allocations: 55.44 kB / 478.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.127, allocations: 461.5 kB / 479.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.127, allocations: 29.7 kB / 479.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1271, allocations: 192.3 kB / 479.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.326e-05/0.1272, allocations: 70.91 kB / 479.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.721e-05/0.1273, allocations: 49.7 kB / 479.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1274, allocations: 362.7 kB / 479.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1277, allocations: 111.9 kB / 479.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.1279, allocations: 126.3 kB / 480 MB, free: 3.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.1285, allocations: 256.6 kB / 480.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1285, allocations: 0 / 480.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006336/0.1291, allocations: 355.5 kB / 480.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1291, allocations: 7.938 kB / 480.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.1291, allocations: 0 / 480.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.1292, allocations: 3.984 kB / 480.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/0.1299, allocations: 151.9 kB / 480.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.1332, allocations: 5.516 MB / 486.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.1335, allocations: 51.39 kB / 486.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.1335, allocations: 12 kB / 486.4 MB, free: 12.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.1338, allocations: 189.7 kB / 486.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.1339, allocations: 31.62 kB / 486.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009451/0.1348, allocations: 460.4 kB / 487 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1349, allocations: 4 kB / 487 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1349, allocations: 0 / 487 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1349, allocations: 3.984 kB / 487 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.1353, allocations: 381.2 kB / 487.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1354, allocations: 0 / 487.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/0.136, allocations: 151.9 kB / 487.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1361, allocations: 8 kB / 487.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.1361, allocations: 11.98 kB / 487.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.1393, allocations: 5.509 MB / 493.1 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.1394, allocations: 16.02 kB / 493.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008095/0.1402, allocations: 446.2 kB / 493.5 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.1403, allocations: 116.6 kB / 493.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.1404, allocations: 11.94 kB / 493.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1406, allocations: 15.92 kB / 493.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.1407, allocations: 23.91 kB / 493.7 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.1407, allocations: 12 kB / 493.7 MB, free: 5.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003512/0.1411, allocations: 339.1 kB / 494 MB, free: 4.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1411, allocations: 0 / 494 MB, free: 4.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.1415, allocations: 95.98 kB / 494.1 MB, free: 4.711 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/0.1426, allocations: 1.012 MB / 495.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.1439, allocations: 443.5 kB / 495.6 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1439, allocations: 0 / 495.6 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.1447, allocations: 280.2 kB / 495.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.1453, allocations: 90.94 kB / 495.9 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/0.151, allocations: 4.448 MB / 0.4887 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.1515, allocations: 0.8425 MB / 0.4895 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.1517, allocations: 87.22 kB / 0.4896 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.1519, allocations: 107.4 kB / 0.4897 GB, free: 13.29 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1519, allocations: 0 / 0.4897 GB, free: 13.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/0.1901, allocations: 11.35 MB / 0.5007 GB, free: 2.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.35, allocations: 10.78 kB / 0.5008 GB, free: 2.207 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches