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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.001275/0.001275, allocations: 113.8 kB / 17.77 MB, free: 5.367 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.001242/0.001242, allocations: 183.1 kB / 18.7 MB, free: 4.441 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2222/0.2222, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.318, allocations: 60.83 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.002693/0.3208, allocations: 2.002 MB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.3235, allocations: 1.822 MB / 0.5222 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3236, allocations: 1.469 kB / 0.5222 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.3239, allocations: 60.06 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.3244, allocations: 118.9 kB / 0.5224 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3257, allocations: 343.9 kB / 0.5227 GB, free: 420 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.3262, allocations: 383.7 kB / 0.523 GB, free: 256 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.3263, allocations: 49.09 kB / 0.5231 GB, free: 232 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.3266, allocations: 145.8 kB / 0.5232 GB, free: 168 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.3269, allocations: 182.2 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.327, allocations: 15.38 kB / 0.5234 GB, free: 84 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.3285, allocations: 0.5422 MB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.3287, allocations: 96.98 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.329, allocations: 161.7 kB / 0.5242 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.3304, allocations: 0.6411 MB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3305, allocations: 0 / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3305, allocations: 0 / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.3305, allocations: 1.906 kB / 0.5248 GB, free: 15.5 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.001563/0.3321, allocations: 0.6936 MB / 0.5255 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3321, allocations: 10.14 kB / 0.5255 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.3323, allocations: 83.17 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.3324, allocations: 42.53 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.3329, allocations: 281.9 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.3329, allocations: 23.12 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.333, allocations: 39.69 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.3344, allocations: 0.5625 MB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3344, allocations: 1.312 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.3345, allocations: 10.16 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.725e-05/0.3346, allocations: 44.44 kB / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.336, allocations: 0.5671 MB / 0.5271 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.3384, allocations: 1.182 MB / 0.5283 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009736/0.3394, allocations: 378 kB / 0.5286 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.3398, allocations: 138 kB / 0.5288 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.3399, allocations: 16.16 kB / 0.5288 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.3399, allocations: 31.59 kB / 0.5288 GB, free: 12.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.845e-06/0.3399, allocations: 0 / 0.5288 GB, free: 12.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001427/0.3414, allocations: 470.3 kB / 0.5293 GB, free: 12.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.3414, allocations: 54.34 kB / 0.5293 GB, free: 12.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007419/0.3422, allocations: 450.8 kB / 0.5297 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.3423, allocations: 29.7 kB / 0.5298 GB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.3425, allocations: 193 kB / 0.53 GB, free: 12.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.3426, allocations: 80.03 kB / 0.53 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.3427, allocations: 60.09 kB / 0.5301 GB, free: 12.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.343, allocations: 349.8 kB / 0.5304 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.3433, allocations: 114.9 kB / 0.5305 GB, free: 11.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.3437, allocations: 124.3 kB / 0.5306 GB, free: 11.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.3444, allocations: 265.8 kB / 0.5309 GB, free: 11.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3444, allocations: 0 / 0.5309 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008942/0.3454, allocations: 349.5 kB / 0.5312 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3454, allocations: 14.67 kB / 0.5312 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3454, allocations: 0 / 0.5312 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3454, allocations: 3.75 kB / 0.5313 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.3465, allocations: 152.5 kB / 0.5314 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.3508, allocations: 5.513 MB / 0.5368 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.3512, allocations: 48.08 kB / 0.5368 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.3512, allocations: 10.69 kB / 0.5368 GB, free: 5.863 MB / 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.0003309/0.3516, allocations: 194.1 kB / 0.537 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3517, allocations: 40.27 kB / 0.5371 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.353, allocations: 458.2 kB / 0.5375 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.353, allocations: 1.188 kB / 0.5375 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.353, allocations: 1.156 kB / 0.5375 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.353, allocations: 7.922 kB / 0.5375 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000689/0.3537, allocations: 378.4 kB / 0.5379 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3537, allocations: 1.219 kB / 0.5379 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009251/0.3546, allocations: 150.8 kB / 0.538 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.3547, allocations: 5.188 kB / 0.538 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.3547, allocations: 13.14 kB / 0.538 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/0.3592, allocations: 5.511 MB / 0.5434 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.3592, allocations: 9.812 kB / 0.5434 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3603, allocations: 450.8 kB / 0.5439 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.3605, allocations: 119.8 kB / 0.544 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/0.3606, allocations: 1.156 kB / 0.544 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.3609, allocations: 12.14 kB / 0.544 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.361, allocations: 29.5 kB / 0.544 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.361, allocations: 7.75 kB / 0.544 GB, free: 15.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005775/0.3616, allocations: 338.5 kB / 0.5443 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3616, allocations: 5.062 kB / 0.5443 GB, free: 14.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007364/0.3624, allocations: 145.2 kB / 0.5445 GB, free: 14.94 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.001822/0.3642, allocations: 1.083 MB / 0.5455 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.3659, allocations: 399.5 kB / 0.5459 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3659, allocations: 3.938 kB / 0.5459 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.3671, allocations: 276.7 kB / 0.5462 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.3678, allocations: 88.41 kB / 0.5463 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007689/0.3755, allocations: 4.388 MB / 0.5506 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.3761, allocations: 0.8542 MB / 0.5514 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002921/0.3764, allocations: 83.22 kB / 0.5515 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.3766, allocations: 111.4 kB / 0.5516 GB, free: 9.301 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3766, allocations: 3.938 kB / 0.5516 GB, free: 9.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04073/0.4174, allocations: 12.89 MB / 0.5642 GB, free: 12.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.52, allocations: 23.62 kB / 0.5642 GB, free: 12.67 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches