Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.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_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 206 kB / 18.74 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.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 79.86 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3677, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003817/0.3716, allocations: 2.141 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3733, allocations: 0.9 MB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.3735, allocations: 7.125 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.3738, allocations: 70.42 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.3743, allocations: 148.2 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.3747, allocations: 87.77 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.3752, allocations: 471.1 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.826e-05/0.3753, allocations: 42.97 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.3756, allocations: 181.6 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.376, allocations: 208.2 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.3761, allocations: 11 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.3765, allocations: 265.1 kB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.3767, allocations: 109.3 kB / 0.535 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.3769, allocations: 186.8 kB / 0.5352 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007351/0.3777, allocations: 0.5379 MB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3777, allocations: 0 / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3777, allocations: 0 / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.3777, allocations: 0 / 0.5357 GB, free: 9.598 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00133/0.379, allocations: 0.724 MB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3791, allocations: 9 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.3792, allocations: 96.2 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.3793, allocations: 49.52 kB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.3797, allocations: 309.8 kB / 0.5369 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.3798, allocations: 30.62 kB / 0.5369 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.3798, allocations: 48.05 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.3809, allocations: 0.654 MB / 0.5376 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3809, allocations: 0 / 0.5376 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.381, allocations: 19.48 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.208e-05/0.3811, allocations: 56.8 kB / 0.5377 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3823, allocations: 0.6916 MB / 0.5384 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.3846, allocations: 1.355 MB / 0.5397 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/0.3853, allocations: 458.7 kB / 0.5401 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.3856, allocations: 158.8 kB / 0.5403 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.3857, allocations: 13.03 kB / 0.5403 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.3857, allocations: 35.92 kB / 0.5403 GB, free: 6.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3857, allocations: 1.094 kB / 0.5403 GB, free: 6.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001148/0.3869, allocations: 0.532 MB / 0.5408 GB, free: 6.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.387, allocations: 54.72 kB / 0.5409 GB, free: 6.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.3876, allocations: 0.489 MB / 0.5414 GB, free: 6.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.3876, allocations: 34.89 kB / 0.5414 GB, free: 5.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3878, allocations: 220.6 kB / 0.5416 GB, free: 5.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.996e-05/0.3879, allocations: 107 kB / 0.5417 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.388, allocations: 84.5 kB / 0.5418 GB, free: 5.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3882, allocations: 358.5 kB / 0.5421 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.3885, allocations: 154.1 kB / 0.5423 GB, free: 5.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.3889, allocations: 248.8 kB / 0.5425 GB, free: 5.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007112/0.3896, allocations: 440.5 kB / 0.5429 GB, free: 4.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3896, allocations: 0 / 0.5429 GB, free: 4.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008877/0.3905, allocations: 492.9 kB / 0.5434 GB, free: 4.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3906, allocations: 10.19 kB / 0.5434 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3906, allocations: 0 / 0.5434 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3906, allocations: 8 kB / 0.5434 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/0.3915, allocations: 203.8 kB / 0.5436 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.3953, allocations: 7.306 MB / 0.5508 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.3957, allocations: 63.48 kB / 0.5508 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.3958, allocations: 23.98 kB / 0.5508 GB, free: 12.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.3961, allocations: 218.3 kB / 0.551 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.3962, allocations: 47.66 kB / 0.5511 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/0.3972, allocations: 0.529 MB / 0.5516 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3972, allocations: 4 kB / 0.5516 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3972, allocations: 0 / 0.5516 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3972, allocations: 0 / 0.5516 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.3978, allocations: 421.2 kB / 0.552 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3978, allocations: 3.938 kB / 0.552 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008029/0.3986, allocations: 199.9 kB / 0.5522 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3986, allocations: 0 / 0.5522 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.3986, allocations: 15.94 kB / 0.5522 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/0.4023, allocations: 7.294 MB / 0.5593 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4023, allocations: 3.938 kB / 0.5594 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.403, allocations: 0.5042 MB / 0.5598 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.4032, allocations: 124.8 kB / 0.56 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.4032, allocations: 8 kB / 0.56 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.4035, allocations: 11.98 kB / 0.56 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.4036, allocations: 31.84 kB / 0.56 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.4036, allocations: 15.98 kB / 0.56 GB, free: 2.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.404, allocations: 359.1 kB / 0.5604 GB, free: 2.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.404, allocations: 0 / 0.5604 GB, free: 2.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004932/0.4045, allocations: 123.8 kB / 0.5605 GB, free: 2.156 MB / 414.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 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.001178/0.4057, allocations: 1.078 MB / 0.5615 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.4071, allocations: 0.5202 MB / 0.562 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4071, allocations: 0 / 0.562 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009203/0.408, allocations: 343.5 kB / 0.5624 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.4086, allocations: 117.3 kB / 0.5625 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.4149, allocations: 4.876 MB / 0.5672 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.4154, allocations: 0.8776 MB / 0.5681 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000328/0.4157, allocations: 140 kB / 0.5682 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.4159, allocations: 135.4 kB / 0.5684 GB, free: 9.871 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4159, allocations: 0 / 0.5684 GB, free: 9.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.4498, allocations: 13.69 MB / 0.5817 GB, free: 12.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.96, allocations: 8.484 kB / 0.5817 GB, free: 12.45 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches