Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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_overall,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00173/0.00173, allocations: 105.2 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.002214/0.002214, 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.502/1.502, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 82.02 kB / 417.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1198, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.003888/0.1237, allocations: 2.126 MB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.127, allocations: 2.153 MB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.1273, allocations: 4 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.1277, allocations: 63.59 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.1281, allocations: 115.3 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1294, allocations: 425.7 kB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.1299, allocations: 457.9 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.13, allocations: 44.72 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.1303, allocations: 171.1 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.1306, allocations: 191 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.1307, allocations: 16 kB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1318, allocations: 0.6162 MB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.132, allocations: 111.5 kB / 486.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.1323, allocations: 178.8 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1334, allocations: 0.7166 MB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1335, allocations: 0 / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1335, allocations: 0 / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.1335, allocations: 0 / 487.5 MB, free: 13.73 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.001412/0.1349, allocations: 0.7603 MB / 488.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.135, allocations: 12.03 kB / 488.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.515e-05/0.1351, allocations: 78.72 kB / 488.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.1354, allocations: 76.33 kB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.1359, allocations: 320.5 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.1359, allocations: 33.31 kB / 488.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.1359, allocations: 44.34 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008918/0.1368, allocations: 0.5778 MB / 489.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1369, allocations: 0 / 489.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.1369, allocations: 16 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.137, allocations: 24.98 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.1378, allocations: 427.6 kB / 489.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.1398, allocations: 1.387 MB / 491.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.1403, allocations: 271.6 kB / 491.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.1406, allocations: 134.5 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/0.1407, allocations: 11.98 kB / 491.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1407, allocations: 34.5 kB / 491.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.114e-06/0.1407, allocations: 0 / 491.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00119/0.1419, allocations: 468 kB / 492.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.142, allocations: 102.8 kB / 492.2 MB, free: 8.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.1427, allocations: 0.5528 MB / 492.8 MB, free: 8.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1427, allocations: 29.64 kB / 492.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1429, allocations: 216.2 kB / 493 MB, free: 7.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.1429, allocations: 63.17 kB / 493.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-05/0.143, allocations: 53.61 kB / 493.2 MB, free: 7.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1432, allocations: 350.8 kB / 493.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.1435, allocations: 131.8 kB / 493.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1439, allocations: 173.1 kB / 493.8 MB, free: 7.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/0.1445, allocations: 304.8 kB / 494.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1446, allocations: 0 / 494.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000802/0.1454, allocations: 376.8 kB / 494.5 MB, free: 6.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1454, allocations: 7.938 kB / 494.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.615e-05/0.1454, allocations: 31.98 kB / 494.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1455, allocations: 0 / 494.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.1457, allocations: 39.91 kB / 494.5 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1457, allocations: 8.141 kB / 494.5 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.146, allocations: 55.42 kB / 494.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.146, allocations: 12 kB / 494.6 MB, free: 6.297 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.0001822/0.1462, allocations: 189.7 kB / 494.8 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1463, allocations: 47.38 kB / 494.8 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007338/0.1471, allocations: 390.7 kB / 495.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1471, allocations: 0 / 495.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1471, allocations: 8 kB / 495.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1471, allocations: 0 / 495.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.1476, allocations: 377.2 kB / 495.6 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-05/0.1477, allocations: 27.98 kB / 495.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1479, allocations: 27.91 kB / 495.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1479, allocations: 0 / 495.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.1479, allocations: 12 kB / 495.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1479, allocations: 4 kB / 495.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1479, allocations: 3.938 kB / 495.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/0.1488, allocations: 0.5793 MB / 496.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.1491, allocations: 160.5 kB / 496.4 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.1492, allocations: 8 kB / 496.4 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.1495, allocations: 15.97 kB / 496.4 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.1496, allocations: 19.98 kB / 496.5 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.1496, allocations: 12 kB / 496.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004667/0.1501, allocations: 415 kB / 496.9 MB, free: 3.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1501, allocations: 0 / 496.9 MB, free: 3.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006183/0.1507, allocations: 159.8 kB / 497 MB, free: 3.781 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.001551/0.1523, allocations: 1.243 MB / 498.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000951/0.1533, allocations: 0.5304 MB / 498.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1533, allocations: 4.062 kB / 498.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.1538, allocations: 387.7 kB / 499.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.1545, allocations: 101.9 kB / 499.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007567/0.1621, allocations: 5.033 MB / 0.4925 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.1625, allocations: 0.8575 MB / 0.4933 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.1628, allocations: 67.25 kB / 0.4934 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.163, allocations: 115.4 kB / 0.4935 GB, free: 11.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.163, allocations: 0 / 0.4935 GB, free: 11.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2281/0.391, allocations: 13.09 MB / 0.5063 GB, free: 42.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.266, allocations: 8.078 kB / 0.5063 GB, free: 42.52 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches