Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.94 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 67.89 kB / 0.4936 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3798, allocations: 65.46 MB / 0.5575 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004078/0.3838, allocations: 2.093 MB / 0.5595 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3856, allocations: 1 MB / 0.5605 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.3857, allocations: 3.938 kB / 0.5605 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.3861, allocations: 79.48 kB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.3864, allocations: 91.31 kB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.3867, allocations: 119.5 kB / 0.5608 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.387, allocations: 178.9 kB / 0.561 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.42e-05/0.387, allocations: 16.53 kB / 0.561 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.3873, allocations: 79.58 kB / 0.5611 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3874, allocations: 79.5 kB / 0.5611 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.3875, allocations: 8 kB / 0.5611 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.3877, allocations: 123.8 kB / 0.5613 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.3878, allocations: 35.77 kB / 0.5613 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.638e-05/0.3879, allocations: 71.48 kB / 0.5614 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.3884, allocations: 297.3 kB / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3884, allocations: 0 / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3884, allocations: 0 / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3884, allocations: 0 / 0.5616 GB, free: 3.207 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007327/0.3891, allocations: 441.5 kB / 0.5621 GB, free: 2.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3892, allocations: 8.031 kB / 0.5621 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.3892, allocations: 24.8 kB / 0.5621 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3895, allocations: 163.7 kB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.3895, allocations: 20.8 kB / 0.5623 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.3895, allocations: 24.12 kB / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.39, allocations: 231.3 kB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.39, allocations: 3.938 kB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.39, allocations: 4 kB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.39, allocations: 11.94 kB / 0.5625 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.3905, allocations: 257.6 kB / 0.5628 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.3915, allocations: 0.5154 MB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.3918, allocations: 94.5 kB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.3919, allocations: 40.98 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.392, allocations: 8 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.392, allocations: 30.56 kB / 0.5634 GB, free: 1.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.392, allocations: 0 / 0.5634 GB, free: 1.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005437/0.3926, allocations: 161.5 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.3926, allocations: 51.41 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3928, allocations: 203.7 kB / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3928, allocations: 29.7 kB / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.393, allocations: 187.8 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.393, allocations: 35.73 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/0.3931, allocations: 57.64 kB / 0.5641 GB, free: 500 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3933, allocations: 330.8 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3934, allocations: 43.97 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3937, allocations: 144.9 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.3941, allocations: 204.5 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3941, allocations: 4 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005012/0.3946, allocations: 233.1 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.3946, allocations: 11.94 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3946, allocations: 4.438 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3947, allocations: 8 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.3951, allocations: 83.89 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008588/0.3959, allocations: 1.223 MB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.3961, allocations: 31.83 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.3961, allocations: 12 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.3963, allocations: 131 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.3963, allocations: 24.41 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/0.3968, allocations: 170.8 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3968, allocations: 0 / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3968, allocations: 0 / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3968, allocations: 8 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.3975, allocations: 383.7 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3975, allocations: 0 / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.3977, allocations: 55.98 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3977, allocations: 0 / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.3978, allocations: 11.98 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007947/0.3986, allocations: 1.211 MB / 0.5683 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3986, allocations: 0 / 0.5683 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.399, allocations: 241.1 kB / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.399, allocations: 19.84 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.399, allocations: 0 / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3992, allocations: 11.92 kB / 0.5686 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.3992, allocations: 11.98 kB / 0.5686 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3992, allocations: 4 kB / 0.5686 GB, free: 11.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.3994, allocations: 148.2 kB / 0.5687 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3994, allocations: 0 / 0.5687 GB, free: 11.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.3998, allocations: 79.72 kB / 0.5688 GB, free: 11.41 MB / 414.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002686/0.4, allocations: 143.1 kB / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005599/0.4006, allocations: 163.7 kB / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4006, allocations: 0.875 kB / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.4009, allocations: 88.02 kB / 0.5692 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4012, allocations: 15.94 kB / 0.5692 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008428/0.4021, allocations: 395.9 kB / 0.5696 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.4022, allocations: 121.1 kB / 0.5697 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.4023, allocations: 9.438 kB / 0.5697 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.4023, allocations: 19.42 kB / 0.5697 GB, free: 10.41 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4023, allocations: 0 / 0.5697 GB, free: 10.41 MB / 414.1 MB Notification: Performance of Templates: time 0.00793/0.4103, allocations: 3.381 MB / 0.573 GB, free: 7.098 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.424118595197797]