Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.001273/0.001273, 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.001255/0.001256, allocations: 184.1 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2234/0.2234, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3257, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.00296/0.3287, allocations: 2.194 MB / 0.5206 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3301, allocations: 1.115 MB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.3302, allocations: 11.06 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.3304, allocations: 64.58 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.3307, allocations: 94.91 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.3311, allocations: 183.2 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.3316, allocations: 0.4908 MB / 0.5225 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3317, allocations: 58.66 kB / 0.5226 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.332, allocations: 169.9 kB / 0.5227 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.3322, allocations: 204.2 kB / 0.5229 GB, free: 416 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.3323, allocations: 13.47 kB / 0.5229 GB, free: 416 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.3328, allocations: 323.9 kB / 0.5232 GB, free: 304 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3329, allocations: 94.33 kB / 0.5233 GB, free: 264 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.333, allocations: 187 kB / 0.5235 GB, free: 152 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007417/0.3338, allocations: 0.5899 MB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3338, allocations: 0.7031 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3338, allocations: 4 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3338, allocations: 0 / 0.5241 GB, free: 15.9 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00127/0.3351, allocations: 0.7601 MB / 0.5248 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3352, allocations: 8.406 kB / 0.5248 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.3353, allocations: 90.12 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.266e-05/0.3354, allocations: 46.47 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.3357, allocations: 312 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3358, allocations: 32.16 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.3359, allocations: 48.59 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.3369, allocations: 0.6561 MB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3369, allocations: 0.6562 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.337, allocations: 21.5 kB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.337, allocations: 26.08 kB / 0.526 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009022/0.3379, allocations: 486.7 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.3401, allocations: 1.511 MB / 0.528 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.3407, allocations: 304.5 kB / 0.5283 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.341, allocations: 149.2 kB / 0.5284 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/0.3411, allocations: 9.141 kB / 0.5284 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3411, allocations: 37.19 kB / 0.5285 GB, free: 13.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.983e-06/0.3412, allocations: 0 / 0.5285 GB, free: 13.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001279/0.3424, allocations: 0.494 MB / 0.5289 GB, free: 12.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.3425, allocations: 109.7 kB / 0.529 GB, free: 12.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/0.3432, allocations: 0.5458 MB / 0.5296 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.3432, allocations: 30.92 kB / 0.5296 GB, free: 12.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3434, allocations: 232.4 kB / 0.5298 GB, free: 12.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.3435, allocations: 76.47 kB / 0.5299 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.3437, allocations: 80.89 kB / 0.53 GB, free: 12.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3439, allocations: 356.5 kB / 0.5303 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.3442, allocations: 150.2 kB / 0.5305 GB, free: 11.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.3447, allocations: 283.8 kB / 0.5307 GB, free: 11.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008403/0.3456, allocations: 449.9 kB / 0.5312 GB, free: 11.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3456, allocations: 1.5 kB / 0.5312 GB, free: 11.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009982/0.3466, allocations: 0.4971 MB / 0.5316 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3466, allocations: 11.53 kB / 0.5317 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.279e-05/0.3467, allocations: 44.61 kB / 0.5317 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3468, allocations: 9.875 kB / 0.5317 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.347, allocations: 38.88 kB / 0.5317 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.347, allocations: 8.688 kB / 0.5318 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.3473, allocations: 77.52 kB / 0.5318 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.3474, allocations: 20.56 kB / 0.5318 GB, free: 10.83 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002501/0.3477, allocations: 219.6 kB / 0.5321 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3478, allocations: 42.56 kB / 0.5321 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008888/0.3487, allocations: 444 kB / 0.5325 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3487, allocations: 7.641 kB / 0.5325 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3487, allocations: 4.875 kB / 0.5325 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3487, allocations: 1.062 kB / 0.5325 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.3493, allocations: 385.8 kB / 0.5329 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.698e-05/0.3494, allocations: 41.02 kB / 0.5329 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.3496, allocations: 28.62 kB / 0.533 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3496, allocations: 1.344 kB / 0.533 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.3496, allocations: 15.62 kB / 0.533 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.3496, allocations: 5.109 kB / 0.533 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3496, allocations: 5.031 kB / 0.533 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.3506, allocations: 0.6051 MB / 0.5336 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3507, allocations: 122.4 kB / 0.5337 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.3508, allocations: 10.06 kB / 0.5337 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.3511, allocations: 19 kB / 0.5337 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.3512, allocations: 27.45 kB / 0.5338 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.3512, allocations: 10.59 kB / 0.5338 GB, free: 9.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004253/0.3516, allocations: 392.8 kB / 0.5341 GB, free: 9.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3516, allocations: 0 / 0.5341 GB, free: 9.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006133/0.3522, allocations: 142.8 kB / 0.5343 GB, free: 9.23 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001514/0.3538, allocations: 1.207 MB / 0.5355 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.3549, allocations: 0.6666 MB / 0.5361 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3549, allocations: 0 / 0.5361 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.3555, allocations: 486.9 kB / 0.5366 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.3563, allocations: 127.1 kB / 0.5367 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/0.3637, allocations: 5.159 MB / 0.5417 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.3643, allocations: 0.8659 MB / 0.5426 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002756/0.3646, allocations: 87.28 kB / 0.5427 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.3648, allocations: 127.4 kB / 0.5428 GB, free: 2.309 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3648, allocations: 0 / 0.5428 GB, free: 2.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04016/0.405, allocations: 13.05 MB / 0.5555 GB, free: 5.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/9.103, allocations: 11.22 kB / 0.5555 GB, free: 5.512 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_StraightPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches