Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001348/0.001347, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 79.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3038, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003682/0.3075, allocations: 2.013 MB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3094, allocations: 0.934 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.3095, allocations: 5.312 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.3098, allocations: 64.16 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.3102, allocations: 128.1 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.3105, allocations: 87.28 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.3109, allocations: 384.2 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.311, allocations: 43.25 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.3113, allocations: 156.3 kB / 0.5343 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.3116, allocations: 178 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.3117, allocations: 10.22 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.3121, allocations: 148.2 kB / 0.5347 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3123, allocations: 98.8 kB / 0.5347 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.3125, allocations: 157.2 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.3131, allocations: 429.1 kB / 0.5353 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3131, allocations: 5.375 kB / 0.5353 GB, free: 9.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.3131, allocations: 0 / 0.5353 GB, free: 9.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3132, allocations: 3.938 kB / 0.5353 GB, free: 9.934 MB / 398.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.001223/0.3144, allocations: 0.6623 MB / 0.536 GB, free: 9.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3144, allocations: 9.656 kB / 0.536 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3146, allocations: 83.14 kB / 0.5361 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.3147, allocations: 43.81 kB / 0.5361 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.315, allocations: 277.7 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.3151, allocations: 32.41 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.3151, allocations: 32.22 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008908/0.316, allocations: 0.5638 MB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3161, allocations: 0 / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.3161, allocations: 15.22 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.737e-05/0.3162, allocations: 40.23 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009582/0.3171, allocations: 0.5713 MB / 0.5376 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.319, allocations: 1.174 MB / 0.5387 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.3196, allocations: 379 kB / 0.5391 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.3199, allocations: 134.2 kB / 0.5392 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.3199, allocations: 16.34 kB / 0.5392 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.32, allocations: 31.97 kB / 0.5393 GB, free: 7.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.32, allocations: 0 / 0.5393 GB, free: 7.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00098/0.321, allocations: 467.3 kB / 0.5397 GB, free: 7.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.321, allocations: 53.97 kB / 0.5398 GB, free: 7.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.3215, allocations: 454.5 kB / 0.5402 GB, free: 6.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.3215, allocations: 30.92 kB / 0.5402 GB, free: 6.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.3218, allocations: 195.4 kB / 0.5404 GB, free: 6.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.3219, allocations: 73.19 kB / 0.5405 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.322, allocations: 47.36 kB / 0.5405 GB, free: 6.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3222, allocations: 362.7 kB / 0.5409 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3224, allocations: 114 kB / 0.541 GB, free: 6.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.3227, allocations: 128.2 kB / 0.5411 GB, free: 6.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.3232, allocations: 261.9 kB / 0.5414 GB, free: 5.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3232, allocations: 0 / 0.5414 GB, free: 5.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006537/0.3238, allocations: 349.7 kB / 0.5417 GB, free: 5.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3239, allocations: 9.844 kB / 0.5417 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3239, allocations: 0 / 0.5417 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3239, allocations: 1.219 kB / 0.5417 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.3246, allocations: 158.7 kB / 0.5418 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/0.3283, allocations: 5.517 MB / 0.5472 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.3287, allocations: 54.94 kB / 0.5473 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.3287, allocations: 7.969 kB / 0.5473 GB, free: 176 kB / 398.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.0002528/0.329, allocations: 206.3 kB / 0.5475 GB, free: 0 / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/0.3291, allocations: 35.14 kB / 0.5475 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009239/0.33, allocations: 455.5 kB / 0.548 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.33, allocations: 0 / 0.548 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.33, allocations: 3.984 kB / 0.548 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3301, allocations: 0 / 0.548 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.3306, allocations: 381.2 kB / 0.5483 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3306, allocations: 0 / 0.5483 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006967/0.3313, allocations: 155.9 kB / 0.5485 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3313, allocations: 0 / 0.5485 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.3313, allocations: 11.98 kB / 0.5485 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003578/0.3349, allocations: 5.52 MB / 0.5539 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3349, allocations: 0 / 0.5539 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/0.3358, allocations: 451.2 kB / 0.5543 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.3359, allocations: 120.8 kB / 0.5544 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.336, allocations: 4 kB / 0.5544 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.3362, allocations: 11.98 kB / 0.5544 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.3363, allocations: 27.91 kB / 0.5545 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.3363, allocations: 4 kB / 0.5545 GB, free: 8.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004926/0.3368, allocations: 335.1 kB / 0.5548 GB, free: 8.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3368, allocations: 7.938 kB / 0.5548 GB, free: 8.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.3373, allocations: 111.8 kB / 0.5549 GB, free: 8.125 MB / 414.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.001484/0.3388, allocations: 1.004 MB / 0.5559 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.34, allocations: 407.5 kB / 0.5563 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.34, allocations: 4 kB / 0.5563 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008743/0.3409, allocations: 267.7 kB / 0.5565 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.3414, allocations: 97.36 kB / 0.5566 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006571/0.348, allocations: 4.363 MB / 0.5609 GB, free: 1.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.3487, allocations: 0.8543 MB / 0.5617 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.349, allocations: 83.22 kB / 0.5618 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3492, allocations: 115.4 kB / 0.5619 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of SimCode: time 2.865e-06/0.3492, allocations: 0 / 0.5619 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.3866, allocations: 11.55 MB / 0.5732 GB, free: 5.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.98, allocations: 8.953 kB / 0.5732 GB, free: 5.516 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches