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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",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.001125/0.001125, allocations: 109.8 kB / 17.78 MB, free: 5.281 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.001172/0.001172, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2042/0.2042, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 68.12 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3059, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002784/0.3087, allocations: 2.103 MB / 0.5205 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3102, allocations: 1.227 MB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3103, allocations: 6.781 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.3106, allocations: 66.25 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3109, allocations: 97.62 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.3114, allocations: 189.4 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.3118, allocations: 437.5 kB / 0.5225 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.3119, allocations: 48.38 kB / 0.5225 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.312, allocations: 156.1 kB / 0.5227 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.3123, allocations: 180.9 kB / 0.5228 GB, free: 456 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.3123, allocations: 13.22 kB / 0.5228 GB, free: 456 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.3127, allocations: 263.1 kB / 0.5231 GB, free: 360 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3128, allocations: 94.5 kB / 0.5232 GB, free: 316 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.313, allocations: 167.4 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006002/0.3136, allocations: 0.5085 MB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3136, allocations: 0 / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3136, allocations: 0.5625 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3136, allocations: 4 kB / 0.5238 GB, free: 8 kB / 382.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.001207/0.3148, allocations: 0.7155 MB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3149, allocations: 13.94 kB / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.534e-05/0.315, allocations: 83.81 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.3151, allocations: 50.39 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.3154, allocations: 279.1 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.3154, allocations: 32.81 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.3155, allocations: 40.83 kB / 0.525 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/0.3164, allocations: 0.5759 MB / 0.5256 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3165, allocations: 3.984 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.3165, allocations: 16.83 kB / 0.5256 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.3165, allocations: 24.84 kB / 0.5256 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008036/0.3173, allocations: 427 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.3192, allocations: 1.381 MB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.3197, allocations: 267.6 kB / 0.5276 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.32, allocations: 136.5 kB / 0.5278 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.3201, allocations: 13.55 kB / 0.5278 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.3201, allocations: 31.81 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.3201, allocations: 0 / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001146/0.3212, allocations: 461.9 kB / 0.5283 GB, free: 13.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3213, allocations: 108.9 kB / 0.5284 GB, free: 13.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.3218, allocations: 0.5025 MB / 0.5288 GB, free: 12.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3219, allocations: 29.7 kB / 0.5289 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.322, allocations: 206.6 kB / 0.5291 GB, free: 12.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.3221, allocations: 66.19 kB / 0.5291 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.3222, allocations: 53.98 kB / 0.5292 GB, free: 12.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3223, allocations: 350 kB / 0.5295 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.3227, allocations: 125.8 kB / 0.5296 GB, free: 12.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.323, allocations: 171.6 kB / 0.5298 GB, free: 12.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/0.3237, allocations: 307.8 kB / 0.5301 GB, free: 11.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3237, allocations: 1.219 kB / 0.5301 GB, free: 11.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007956/0.3245, allocations: 380.9 kB / 0.5305 GB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3245, allocations: 9.5 kB / 0.5305 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.987e-05/0.3246, allocations: 33.77 kB / 0.5305 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3246, allocations: 3.156 kB / 0.5305 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.3248, allocations: 33.97 kB / 0.5305 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3248, allocations: 1.25 kB / 0.5305 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3251, allocations: 61.16 kB / 0.5306 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.3251, allocations: 13.69 kB / 0.5306 GB, free: 11.64 MB / 398.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.0001854/0.3253, allocations: 187.1 kB / 0.5308 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3254, allocations: 45.16 kB / 0.5308 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/0.3261, allocations: 375.7 kB / 0.5312 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3261, allocations: 3.562 kB / 0.5312 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3261, allocations: 4 kB / 0.5312 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3261, allocations: 0 / 0.5312 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.3267, allocations: 371.2 kB / 0.5316 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.964e-05/0.3267, allocations: 28.81 kB / 0.5316 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.3269, allocations: 32.12 kB / 0.5316 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3269, allocations: 1.469 kB / 0.5316 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.3269, allocations: 15.11 kB / 0.5316 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3269, allocations: 1.312 kB / 0.5316 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3269, allocations: 0 / 0.5316 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007997/0.3277, allocations: 0.5698 MB / 0.5322 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3279, allocations: 126.3 kB / 0.5323 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.3279, allocations: 9.094 kB / 0.5323 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3282, allocations: 14.58 kB / 0.5323 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.3283, allocations: 25.97 kB / 0.5324 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3283, allocations: 12 kB / 0.5324 GB, free: 10.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003861/0.3287, allocations: 375.5 kB / 0.5327 GB, free: 10.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3287, allocations: 0 / 0.5327 GB, free: 10.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005112/0.3292, allocations: 120 kB / 0.5328 GB, free: 10.14 MB / 398.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.001274/0.3305, allocations: 1.179 MB / 0.534 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008764/0.3314, allocations: 0.5278 MB / 0.5345 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3314, allocations: 0 / 0.5345 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.3319, allocations: 386.6 kB / 0.5349 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000698/0.3326, allocations: 96.28 kB / 0.535 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/0.3389, allocations: 4.731 MB / 0.5396 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.3393, allocations: 0.8448 MB / 0.5404 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.3395, allocations: 62.47 kB / 0.5405 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.3397, allocations: 109 kB / 0.5406 GB, free: 4.539 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3397, allocations: 0 / 0.5406 GB, free: 4.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3689, allocations: 11.49 MB / 0.5518 GB, free: 9.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.464, allocations: 15.31 kB / 0.5518 GB, free: 9.453 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches