Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.001866/0.001866, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002306/0.002306, allocations: 215.8 kB / 23.75 MB, free: 4.668 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 46.93 MB / 360.8 MB, free: 4.258 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+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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.91 kB / 0.4967 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 66.03 MB / 0.5612 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003538/0.3858, allocations: 1.941 MB / 0.5631 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.3879, allocations: 1.173 MB / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.664e-05/0.388, allocations: 0 / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.3883, allocations: 55.67 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.3885, allocations: 63.59 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.3891, allocations: 191.3 kB / 0.5645 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.3894, allocations: 231 kB / 0.5647 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.3895, allocations: 9.797 kB / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.3897, allocations: 95.56 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3899, allocations: 107.5 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.3899, allocations: 8 kB / 0.5649 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.3904, allocations: 251.6 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.3905, allocations: 63.73 kB / 0.5652 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3906, allocations: 87.41 kB / 0.5653 GB, free: 108 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.3911, allocations: 337 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3911, allocations: 4 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3911, allocations: 3.938 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3911, allocations: 0 / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001129/0.3922, allocations: 0.4888 MB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3922, allocations: 12.03 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.3926, allocations: 60.75 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3929, allocations: 175 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.3929, allocations: 8.375 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.393, allocations: 20.12 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.3936, allocations: 277.2 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3936, allocations: 0 / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3936, allocations: 8 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.3937, allocations: 11.98 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.3943, allocations: 227.3 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.3955, allocations: 0.7492 MB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.3961, allocations: 219.7 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.3963, allocations: 94.5 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.3964, allocations: 4 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3964, allocations: 42.58 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.3964, allocations: 0 / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009606/0.3974, allocations: 321.2 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.3975, allocations: 111.1 kB / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.3978, allocations: 277.9 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3978, allocations: 25.7 kB / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.3979, allocations: 147.7 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.398, allocations: 51.53 kB / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.3981, allocations: 37.7 kB / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3982, allocations: 334.8 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.3985, allocations: 87.91 kB / 0.5693 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.3988, allocations: 127.6 kB / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.3994, allocations: 216.9 kB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3994, allocations: 0 / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006515/0.4, allocations: 265.1 kB / 0.5699 GB, free: 11.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4, allocations: 11.94 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.4001, allocations: 15.98 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4001, allocations: 4 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.4003, allocations: 32.12 kB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4003, allocations: 7.984 kB / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.4005, allocations: 31.83 kB / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.4005, allocations: 8.188 kB / 0.57 GB, free: 11.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001638/0.4007, allocations: 157.6 kB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/0.4008, allocations: 27.8 kB / 0.5702 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.4013, allocations: 227.1 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4013, allocations: 0 / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.4013, allocations: 4 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4013, allocations: 3.984 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.4017, allocations: 244.4 kB / 0.5706 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/0.4017, allocations: 12 kB / 0.5706 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.4019, allocations: 27.97 kB / 0.5706 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/0.4019, allocations: 7.938 kB / 0.5707 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4019, allocations: 0 / 0.5707 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4019, allocations: 8 kB / 0.5707 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4019, allocations: 0 / 0.5707 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.4027, allocations: 485.7 kB / 0.5711 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.4027, allocations: 23.8 kB / 0.5712 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.4028, allocations: 11.92 kB / 0.5712 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.403, allocations: 15.98 kB / 0.5712 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.4031, allocations: 11.97 kB / 0.5712 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4031, allocations: 12 kB / 0.5712 GB, free: 9.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.4033, allocations: 197.2 kB / 0.5714 GB, free: 9.527 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4033, allocations: 0 / 0.5714 GB, free: 9.527 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004509/0.4038, allocations: 83.8 kB / 0.5715 GB, free: 9.445 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002772/0.404, allocations: 155.1 kB / 0.5716 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006776/0.4047, allocations: 284.7 kB / 0.5719 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4047, allocations: 0 / 0.5719 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.4051, allocations: 177.6 kB / 0.5721 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.4056, allocations: 44.67 kB / 0.5721 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.4065, allocations: 479.5 kB / 0.5726 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.407, allocations: 0.7593 MB / 0.5733 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.4071, allocations: 49.58 kB / 0.5733 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.4072, allocations: 19.42 kB / 0.5734 GB, free: 7.398 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4072, allocations: 0 / 0.5734 GB, free: 7.398 MB / 414.1 MB Notification: Performance of Templates: time 0.008849/0.416, allocations: 4.063 MB / 0.5773 GB, free: 3.398 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.538351961877197]