Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001897, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2662/0.2662, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 78.53 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1096, allocations: 62.44 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.004246/0.1139, allocations: 2.133 MB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1162, allocations: 1.215 MB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.1164, allocations: 4 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.1168, allocations: 67.59 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.1173, allocations: 95.38 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.1182, allocations: 183.3 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007088/0.1189, allocations: 434 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.119, allocations: 40.72 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.1194, allocations: 159.2 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.1197, allocations: 187 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1198, allocations: 12 kB / 484.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.1203, allocations: 223.7 kB / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1204, allocations: 99.52 kB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.1205, allocations: 166.8 kB / 485.1 MB, free: 156 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.1212, allocations: 490.5 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1212, allocations: 7.938 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1212, allocations: 0 / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1212, allocations: 0 / 485.6 MB, free: 15.66 MB / 366.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.0012/0.1224, allocations: 0.7058 MB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.1225, allocations: 12.03 kB / 486.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1226, allocations: 82.7 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.123, allocations: 68.44 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1234, allocations: 299.4 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1234, allocations: 33.38 kB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.1235, allocations: 40.31 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.1244, allocations: 0.5778 MB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1244, allocations: 0 / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.1245, allocations: 16 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.1245, allocations: 28.98 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.1253, allocations: 427.5 kB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.1272, allocations: 1.375 MB / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.1278, allocations: 267.6 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.1281, allocations: 138.5 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.1282, allocations: 11.98 kB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.1282, allocations: 42.5 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.465e-06/0.1282, allocations: 0 / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001197/0.1294, allocations: 452.9 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.1295, allocations: 115.1 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.1301, allocations: 0.5017 MB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1302, allocations: 33.7 kB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.1304, allocations: 204.2 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.1304, allocations: 55.2 kB / 491.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.883e-05/0.1305, allocations: 49.7 kB / 491.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1307, allocations: 354.8 kB / 491.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.131, allocations: 127.8 kB / 491.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.1314, allocations: 172.9 kB / 491.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006451/0.132, allocations: 300.8 kB / 492 MB, free: 8.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.132, allocations: 0 / 492 MB, free: 8.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008021/0.1328, allocations: 382.6 kB / 492.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1329, allocations: 14.44 kB / 492.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.679e-05/0.1329, allocations: 24 kB / 492.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.133, allocations: 4 kB / 492.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1332, allocations: 40.05 kB / 492.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1332, allocations: 4 kB / 492.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.1335, allocations: 59.36 kB / 492.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.1335, allocations: 15.98 kB / 492.6 MB, free: 8.383 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.0002191/0.1337, allocations: 181.8 kB / 492.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1338, allocations: 43.41 kB / 492.8 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007841/0.1346, allocations: 384.5 kB / 493.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.1347, allocations: 7.984 kB / 493.2 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1347, allocations: 0 / 493.2 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1347, allocations: 4 kB / 493.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.1352, allocations: 365.3 kB / 493.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.866e-05/0.1353, allocations: 31.98 kB / 493.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1354, allocations: 27.91 kB / 493.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1354, allocations: 4 kB / 493.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1355, allocations: 12 kB / 493.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1355, allocations: 0 / 493.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1355, allocations: 0 / 493.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/0.1363, allocations: 0.5793 MB / 494.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1364, allocations: 116.6 kB / 494.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.1365, allocations: 4 kB / 494.3 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.1367, allocations: 19.97 kB / 494.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.1368, allocations: 15.98 kB / 494.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.1368, allocations: 12 kB / 494.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004109/0.1373, allocations: 383 kB / 494.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1373, allocations: 0 / 494.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004985/0.1378, allocations: 111.9 kB / 494.8 MB, free: 6.016 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.001285/0.1391, allocations: 1.171 MB / 496 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008776/0.14, allocations: 0.534 MB / 496.5 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.14, allocations: 0 / 496.5 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.1404, allocations: 391.4 kB / 496.9 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.1411, allocations: 96.05 kB / 497 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/0.1474, allocations: 4.823 MB / 0.4901 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.1478, allocations: 0.8458 MB / 0.4909 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.148, allocations: 63.23 kB / 0.491 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.1482, allocations: 107.4 kB / 0.4911 GB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1482, allocations: 0 / 0.4911 GB, free: 13.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.1774, allocations: 11.27 MB / 0.5021 GB, free: 2.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/7.952, allocations: 16.19 kB / 0.5021 GB, free: 2.633 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches