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.00124/0.00124, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001222/0.001222, allocations: 180.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.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2304/0.2304, allocations: 44.18 MB / 336.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3462, allocations: 60.82 MB / 0.5185 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.00294/0.3492, allocations: 2.107 MB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3508, allocations: 1.23 MB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.3508, allocations: 2.062 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.3511, allocations: 61.61 kB / 0.5218 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.3513, allocations: 101.5 kB / 0.5219 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.3518, allocations: 187.8 kB / 0.5221 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.3523, allocations: 437.1 kB / 0.5225 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.3524, allocations: 30.95 kB / 0.5225 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.3526, allocations: 159.4 kB / 0.5226 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3529, allocations: 186.2 kB / 0.5228 GB, free: 500 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.3529, allocations: 16.75 kB / 0.5228 GB, free: 496 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.3533, allocations: 268.6 kB / 0.5231 GB, free: 396 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3534, allocations: 88.55 kB / 0.5232 GB, free: 356 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.3536, allocations: 168.1 kB / 0.5233 GB, free: 256 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.3542, allocations: 0.5117 MB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3542, allocations: 0.6094 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3542, allocations: 3.938 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3543, allocations: 1.688 kB / 0.5238 GB, free: 44 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.00131/0.3556, allocations: 0.7133 MB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3556, allocations: 10.44 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.3557, allocations: 81.08 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.3558, allocations: 48.17 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.3562, allocations: 288.1 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.3562, allocations: 28.5 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.3563, allocations: 37.12 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3573, allocations: 0.5813 MB / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3573, allocations: 0 / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.3573, allocations: 15.47 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/0.3574, allocations: 23.91 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/0.3583, allocations: 431.4 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.3602, allocations: 1.374 MB / 0.5274 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.3608, allocations: 266.3 kB / 0.5276 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.3611, allocations: 136.7 kB / 0.5278 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.3612, allocations: 12.34 kB / 0.5278 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.3612, allocations: 37.16 kB / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.3612, allocations: 0 / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001242/0.3625, allocations: 458.2 kB / 0.5282 GB, free: 13.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.3625, allocations: 109 kB / 0.5283 GB, free: 13.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.3631, allocations: 0.5025 MB / 0.5288 GB, free: 12.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.3632, allocations: 30.64 kB / 0.5289 GB, free: 12.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.3633, allocations: 201.2 kB / 0.5291 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.3634, allocations: 58.42 kB / 0.5291 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3635, allocations: 53.92 kB / 0.5292 GB, free: 12.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3637, allocations: 351.5 kB / 0.5295 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.364, allocations: 125.3 kB / 0.5296 GB, free: 12.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.3644, allocations: 175.5 kB / 0.5298 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.365, allocations: 302.9 kB / 0.5301 GB, free: 11.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.365, allocations: 0 / 0.5301 GB, free: 11.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008681/0.3659, allocations: 393.3 kB / 0.5305 GB, free: 11.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3659, allocations: 14 kB / 0.5305 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-05/0.366, allocations: 29.38 kB / 0.5305 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.366, allocations: 3.156 kB / 0.5305 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.3662, allocations: 33.7 kB / 0.5305 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.3662, allocations: 1.562 kB / 0.5305 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.3665, allocations: 56.33 kB / 0.5306 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.3665, allocations: 13.52 kB / 0.5306 GB, free: 11.68 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.0002104/0.3667, allocations: 188.1 kB / 0.5308 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3668, allocations: 49.03 kB / 0.5308 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/0.3676, allocations: 373.8 kB / 0.5312 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3676, allocations: 3.656 kB / 0.5312 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3676, allocations: 0.9375 kB / 0.5312 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3676, allocations: 5.141 kB / 0.5312 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005639/0.3682, allocations: 363.2 kB / 0.5315 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.372e-05/0.3682, allocations: 33.38 kB / 0.5316 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.3684, allocations: 31.91 kB / 0.5316 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.3684, allocations: 5.109 kB / 0.5316 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.3684, allocations: 6.875 kB / 0.5316 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3684, allocations: 5.359 kB / 0.5316 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3684, allocations: 0 / 0.5316 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.3693, allocations: 0.5775 MB / 0.5322 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3694, allocations: 122.2 kB / 0.5323 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.3695, allocations: 2.312 kB / 0.5323 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.3698, allocations: 22.62 kB / 0.5323 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.3698, allocations: 26.52 kB / 0.5323 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3699, allocations: 7.594 kB / 0.5324 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004274/0.3703, allocations: 374.8 kB / 0.5327 GB, free: 10.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3703, allocations: 0 / 0.5327 GB, free: 10.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005368/0.3708, allocations: 119 kB / 0.5328 GB, free: 10.18 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.001438/0.3723, allocations: 1.174 MB / 0.534 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009181/0.3732, allocations: 0.5277 MB / 0.5345 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3732, allocations: 0 / 0.5345 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.3737, allocations: 379.7 kB / 0.5348 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.3743, allocations: 97.86 kB / 0.5349 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/0.3812, allocations: 4.731 MB / 0.5396 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.3817, allocations: 0.8494 MB / 0.5404 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.3819, allocations: 65.8 kB / 0.5405 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.3821, allocations: 106.7 kB / 0.5406 GB, free: 4.578 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3821, allocations: 0 / 0.5406 GB, free: 4.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.4197, allocations: 11.51 MB / 0.5518 GB, free: 9.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/8.799, allocations: 10.11 kB / 0.5518 GB, free: 9.52 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