Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001746/0.001746, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002244/0.002244, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2215/0.2215, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 75.88 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3471, allocations: 65.99 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003502/0.3506, allocations: 1.917 MB / 0.5631 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3521, allocations: 0.8578 MB / 0.5639 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.3521, allocations: 0 / 0.5639 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.3524, allocations: 55.67 kB / 0.564 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.3527, allocations: 87.55 kB / 0.5641 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.353, allocations: 79.72 kB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.3533, allocations: 258.7 kB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.3534, allocations: 12.41 kB / 0.5644 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.3536, allocations: 111.5 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.3538, allocations: 127.3 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3538, allocations: 8 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.354, allocations: 119.8 kB / 0.5648 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.3541, allocations: 59.75 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.3543, allocations: 111.2 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.3547, allocations: 297.3 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3547, allocations: 3.938 kB / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3547, allocations: 0 / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3547, allocations: 0 / 0.5652 GB, free: 0.918 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009392/0.3557, allocations: 0.565 MB / 0.5658 GB, free: 308 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3557, allocations: 8.031 kB / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.3558, allocations: 36.69 kB / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.3561, allocations: 232 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.3561, allocations: 24.86 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.3562, allocations: 28.12 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.3569, allocations: 381.1 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3569, allocations: 4 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.3569, allocations: 11.98 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.3569, allocations: 24.64 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006714/0.3576, allocations: 378.3 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.359, allocations: 0.8389 MB / 0.5677 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.3595, allocations: 253 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.3597, allocations: 88.84 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.3598, allocations: 16.05 kB / 0.568 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3598, allocations: 38.5 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.3598, allocations: 0 / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008179/0.3606, allocations: 333.2 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3607, allocations: 55.41 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.3611, allocations: 346.8 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3611, allocations: 25.7 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3613, allocations: 164.2 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.3613, allocations: 55.48 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3614, allocations: 65.92 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3616, allocations: 338.8 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.3618, allocations: 96.38 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.3621, allocations: 184 kB / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.3626, allocations: 318 kB / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3626, allocations: 0 / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006362/0.3633, allocations: 345 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3633, allocations: 8 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3633, allocations: 4 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3633, allocations: 12.31 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.3639, allocations: 123.9 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.3663, allocations: 3.649 MB / 0.574 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.3666, allocations: 43.66 kB / 0.574 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.3666, allocations: 16 kB / 0.574 GB, free: 7.449 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000265/0.3669, allocations: 180.4 kB / 0.5742 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.3669, allocations: 27.81 kB / 0.5742 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000777/0.3677, allocations: 323.6 kB / 0.5745 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3677, allocations: 3.938 kB / 0.5745 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3677, allocations: 8 kB / 0.5745 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3678, allocations: 108.8 kB / 0.5746 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.3679, allocations: 4 kB / 0.5746 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.368, allocations: 7.938 kB / 0.5747 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.3681, allocations: 19.97 kB / 0.5747 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001132/0.3692, allocations: 481.3 kB / 0.5751 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008682/0.3701, allocations: 0.549 MB / 0.5757 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002195/0.3703, allocations: 91.89 kB / 0.5758 GB, free: 5.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.3706, allocations: 245.9 kB / 0.576 GB, free: 5.355 MB / 414.1 MB Notification: Performance of Backend: time 6.21e-07/0.3706, allocations: 0 / 0.576 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.3718, allocations: 346.7 kB / 0.5763 GB, free: 5.012 MB / 414.1 MB Notification: Performance of SimCode: time 0.001371/0.3732, allocations: 1.057 MB / 0.5774 GB, free: 3.906 MB / 414.1 MB Notification: Performance of Templates: time 0.01148/0.3846, allocations: 5.924 MB / 0.5831 GB, free: 14.07 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.14142309082672]