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_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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001611/0.001611, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.332/1.332, 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.2013/0.2013, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.08 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.317, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003793/0.3208, allocations: 2.009 MB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3222, allocations: 0.8992 MB / 0.5213 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.3223, allocations: 2.875 kB / 0.5213 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.3226, allocations: 59.84 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.323, allocations: 131 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.3233, allocations: 81.52 kB / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.3237, allocations: 389 kB / 0.5219 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.3238, allocations: 44.17 kB / 0.522 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.324, allocations: 151 kB / 0.5221 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.3243, allocations: 177.6 kB / 0.5223 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.3243, allocations: 12 kB / 0.5223 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.3247, allocations: 152.4 kB / 0.5224 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.3248, allocations: 100.5 kB / 0.5225 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.325, allocations: 154.4 kB / 0.5227 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.3256, allocations: 430 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3256, allocations: 0.6562 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3256, allocations: 0 / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3256, allocations: 1.781 kB / 0.5231 GB, free: 472 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009883/0.3266, allocations: 0.66 MB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3266, allocations: 8.969 kB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.3267, allocations: 90.55 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.006e-05/0.3268, allocations: 47.67 kB / 0.5239 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.3272, allocations: 281.2 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3273, allocations: 24.09 kB / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.3273, allocations: 36.31 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.3284, allocations: 0.5619 MB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3285, allocations: 0 / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.3285, allocations: 11.19 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.538e-05/0.3286, allocations: 43.89 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3297, allocations: 0.5726 MB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.3315, allocations: 1.172 MB / 0.5265 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/0.3321, allocations: 378 kB / 0.5269 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.3324, allocations: 146.6 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.3324, allocations: 11.16 kB / 0.527 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.3325, allocations: 32.38 kB / 0.5271 GB, free: 14.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/0.3325, allocations: 0 / 0.5271 GB, free: 14.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009618/0.3334, allocations: 470 kB / 0.5275 GB, free: 14.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3335, allocations: 57.69 kB / 0.5276 GB, free: 14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.334, allocations: 450.8 kB / 0.528 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.334, allocations: 31.83 kB / 0.528 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3341, allocations: 191.1 kB / 0.5282 GB, free: 13.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.3342, allocations: 77.64 kB / 0.5283 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/0.3343, allocations: 51.92 kB / 0.5283 GB, free: 13.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3345, allocations: 349.3 kB / 0.5287 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.3347, allocations: 119.5 kB / 0.5288 GB, free: 13.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.335, allocations: 124.1 kB / 0.5289 GB, free: 12.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.3355, allocations: 260.5 kB / 0.5291 GB, free: 12.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3355, allocations: 0 / 0.5291 GB, free: 12.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006345/0.3361, allocations: 353 kB / 0.5295 GB, free: 12.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3361, allocations: 9.562 kB / 0.5295 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3361, allocations: 0 / 0.5295 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3362, allocations: 5.156 kB / 0.5295 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.3369, allocations: 155.1 kB / 0.5296 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.3397, allocations: 5.513 MB / 0.535 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.34, allocations: 56.2 kB / 0.5351 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.3401, allocations: 15.06 kB / 0.5351 GB, free: 7.145 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.0002116/0.3403, allocations: 189.3 kB / 0.5353 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.3404, allocations: 35.67 kB / 0.5353 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008146/0.3412, allocations: 453.4 kB / 0.5357 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3412, allocations: 2.531 kB / 0.5357 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3412, allocations: 5.188 kB / 0.5357 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3412, allocations: 3.984 kB / 0.5357 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.3417, allocations: 382.2 kB / 0.5361 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3417, allocations: 1.094 kB / 0.5361 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006733/0.3424, allocations: 155.1 kB / 0.5363 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3424, allocations: 1.281 kB / 0.5363 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.3424, allocations: 11.52 kB / 0.5363 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.3452, allocations: 5.516 MB / 0.5417 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3452, allocations: 5.156 kB / 0.5417 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.3459, allocations: 455.8 kB / 0.5421 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.346, allocations: 120.3 kB / 0.5422 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.3461, allocations: 1.25 kB / 0.5422 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3463, allocations: 12.55 kB / 0.5422 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.3464, allocations: 26.03 kB / 0.5422 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3464, allocations: 6.688 kB / 0.5423 GB, free: 480 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003428/0.3467, allocations: 339.3 kB / 0.5426 GB, free: 280 kB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3468, allocations: 0 / 0.5426 GB, free: 280 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.3472, allocations: 104.9 kB / 0.5427 GB, free: 260 kB / 398.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.00107/0.3482, allocations: 1.015 MB / 0.5437 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3494, allocations: 403.4 kB / 0.5441 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3494, allocations: 0 / 0.5441 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.3502, allocations: 276.4 kB / 0.5443 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.3507, allocations: 93.27 kB / 0.5444 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.356, allocations: 4.36 MB / 0.5487 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.3564, allocations: 0.8504 MB / 0.5495 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.3567, allocations: 87.2 kB / 0.5496 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3568, allocations: 111.3 kB / 0.5497 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3568, allocations: 4 kB / 0.5497 GB, free: 11.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.3856, allocations: 11.55 MB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.9, allocations: 8.969 kB / 0.561 GB, free: 15.97 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches