Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001287/0.001287, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2026/0.2026, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 83.86 kB / 480.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3598, allocations: 62.42 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003246/0.3631, allocations: 2.227 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3649, allocations: 1.171 MB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.365, allocations: 1.375 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.3653, allocations: 76.08 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.3656, allocations: 107.9 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.3662, allocations: 188 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.3668, allocations: 0.4927 MB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.3669, allocations: 53.83 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.3672, allocations: 187.9 kB / 0.5349 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.3675, allocations: 202.2 kB / 0.5351 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.3675, allocations: 13.88 kB / 0.5351 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.3681, allocations: 336.5 kB / 0.5355 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3682, allocations: 97.72 kB / 0.5355 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.3684, allocations: 187.6 kB / 0.5357 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.3691, allocations: 0.5907 MB / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3691, allocations: 0 / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3691, allocations: 0 / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.3691, allocations: 1.25 kB / 0.5363 GB, free: 9.195 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.00118/0.3703, allocations: 0.7687 MB / 0.5371 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3703, allocations: 10.38 kB / 0.5371 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.922e-05/0.3704, allocations: 92.73 kB / 0.5372 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.3708, allocations: 89.03 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3712, allocations: 304.3 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.3713, allocations: 35.75 kB / 0.5376 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.3713, allocations: 45.5 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009681/0.3723, allocations: 0.6548 MB / 0.5382 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3723, allocations: 1.031 kB / 0.5382 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.3724, allocations: 20.41 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.3724, allocations: 21.53 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.3732, allocations: 485.1 kB / 0.5387 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.3752, allocations: 1.518 MB / 0.5402 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.3758, allocations: 306.1 kB / 0.5405 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.3761, allocations: 144.8 kB / 0.5407 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/0.3762, allocations: 17.73 kB / 0.5407 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3762, allocations: 35.88 kB / 0.5407 GB, free: 6.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.3762, allocations: 7.938 kB / 0.5407 GB, free: 6.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001183/0.3774, allocations: 0.4947 MB / 0.5412 GB, free: 5.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.3775, allocations: 109.4 kB / 0.5413 GB, free: 5.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006113/0.3781, allocations: 0.544 MB / 0.5418 GB, free: 5.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.3781, allocations: 30.86 kB / 0.5419 GB, free: 5.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.3783, allocations: 227.7 kB / 0.5421 GB, free: 5.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.3784, allocations: 80.64 kB / 0.5422 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3785, allocations: 80.95 kB / 0.5422 GB, free: 5.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3787, allocations: 355.8 kB / 0.5426 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.379, allocations: 158.7 kB / 0.5427 GB, free: 4.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.3795, allocations: 276.6 kB / 0.543 GB, free: 4.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007582/0.3802, allocations: 449.2 kB / 0.5434 GB, free: 4.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3803, allocations: 2.094 kB / 0.5434 GB, free: 4.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009647/0.3812, allocations: 0.501 MB / 0.5439 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3812, allocations: 7.938 kB / 0.5439 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.101e-05/0.3813, allocations: 43.98 kB / 0.544 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3813, allocations: 7.938 kB / 0.544 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.3816, allocations: 43.91 kB / 0.544 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.3816, allocations: 7.984 kB / 0.544 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.3819, allocations: 71.44 kB / 0.5441 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.382, allocations: 27.98 kB / 0.5441 GB, free: 3.488 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.0002218/0.3822, allocations: 213.6 kB / 0.5443 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3823, allocations: 43.72 kB / 0.5444 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000836/0.3831, allocations: 447.6 kB / 0.5448 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3832, allocations: 7.984 kB / 0.5448 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3832, allocations: 4 kB / 0.5448 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3832, allocations: 0 / 0.5448 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.3837, allocations: 385.3 kB / 0.5452 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.079e-05/0.3838, allocations: 43.98 kB / 0.5452 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3839, allocations: 27.97 kB / 0.5452 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.384, allocations: 0 / 0.5452 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.384, allocations: 19.92 kB / 0.5453 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.384, allocations: 0 / 0.5453 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.384, allocations: 7.938 kB / 0.5453 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007993/0.3848, allocations: 0.5957 MB / 0.5458 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.385, allocations: 124.8 kB / 0.546 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.385, allocations: 7.938 kB / 0.546 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.3853, allocations: 19.97 kB / 0.546 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.3854, allocations: 27.98 kB / 0.546 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3855, allocations: 12 kB / 0.546 GB, free: 1.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004062/0.3859, allocations: 395 kB / 0.5464 GB, free: 1.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3859, allocations: 0 / 0.5464 GB, free: 1.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005708/0.3864, allocations: 135.8 kB / 0.5465 GB, free: 0.918 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.00135/0.3878, allocations: 1.214 MB / 0.5477 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009451/0.3888, allocations: 0.6648 MB / 0.5484 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3888, allocations: 0 / 0.5484 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005623/0.3893, allocations: 485.4 kB / 0.5488 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.39, allocations: 128.2 kB / 0.549 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00702/0.3971, allocations: 5.177 MB / 0.554 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3975, allocations: 0.8775 MB / 0.5549 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.3978, allocations: 87.34 kB / 0.5549 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.3979, allocations: 119.3 kB / 0.5551 GB, free: 7.781 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.398, allocations: 0 / 0.5551 GB, free: 7.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.4298, allocations: 13.08 MB / 0.5678 GB, free: 10.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.454, allocations: 15 kB / 0.5678 GB, free: 10.92 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches