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.Channel.kc_evenGapTurbulent_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.001458/0.001458, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001883/0.001883, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.519/1.519, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2388/0.2388, allocations: 46.94 MB / 361.6 MB, free: 4.176 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.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.002639/0.002639, allocations: 83.86 kB / 0.4975 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3678, allocations: 66.08 MB / 0.562 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003386/0.3712, allocations: 1.822 MB / 0.5638 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3727, allocations: 0.85 MB / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.3728, allocations: 4 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3731, allocations: 43.73 kB / 0.5647 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.3734, allocations: 79.62 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.3736, allocations: 79.72 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.3739, allocations: 147.3 kB / 0.565 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.3739, allocations: 9.062 kB / 0.565 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.3741, allocations: 71.64 kB / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.3743, allocations: 83.64 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.3743, allocations: 12 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.3746, allocations: 159.8 kB / 0.5653 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.3747, allocations: 35.89 kB / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.696e-05/0.3748, allocations: 51.62 kB / 0.5654 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.3751, allocations: 213.6 kB / 0.5656 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3751, allocations: 0 / 0.5656 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3751, allocations: 0 / 0.5656 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3751, allocations: 3.938 kB / 0.5656 GB, free: 0.5859 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007125/0.3758, allocations: 377.6 kB / 0.5659 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3759, allocations: 8.031 kB / 0.5659 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.3759, allocations: 16.84 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3762, allocations: 144.5 kB / 0.5661 GB, free: 0 / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.3762, allocations: 8.422 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.3762, allocations: 24.09 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.3766, allocations: 169.5 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3766, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3766, allocations: 4 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.3766, allocations: 19.98 kB / 0.5663 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.377, allocations: 163.8 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.3779, allocations: 459.3 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.3783, allocations: 158.4 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.3784, allocations: 56.75 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3785, allocations: 8.062 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3785, allocations: 30.56 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.093e-06/0.3785, allocations: 0 / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005866/0.3791, allocations: 197.4 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3791, allocations: 59.41 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3794, allocations: 203.5 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.3794, allocations: 29.7 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.3795, allocations: 108.1 kB / 0.5677 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.3795, allocations: 35.69 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.3796, allocations: 29.72 kB / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3797, allocations: 326.8 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3799, allocations: 55.94 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.38, allocations: 70.47 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.3803, allocations: 130.4 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3803, allocations: 4 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000389/0.3807, allocations: 161.8 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3807, allocations: 4 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3807, allocations: 4 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3808, allocations: 96 / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.381, allocations: 51.91 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008655/0.3819, allocations: 1.227 MB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.382, allocations: 11.89 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.382, allocations: 7.984 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * 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.000203/0.3822, allocations: 138 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3823, allocations: 19.84 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.3827, allocations: 182.9 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3827, allocations: 0 / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3827, allocations: 3.938 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3827, allocations: 0 / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.383, allocations: 188.6 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.383, allocations: 3.938 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.3832, allocations: 51.97 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.3832, allocations: 8 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3833, allocations: 0 / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007803/0.384, allocations: 1.219 MB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.384, allocations: 0 / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.3844, allocations: 255.5 kB / 0.5718 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.3845, allocations: 15.88 kB / 0.5718 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.3845, allocations: 7.938 kB / 0.5718 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3846, allocations: 0 / 0.5718 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3847, allocations: 11.98 kB / 0.5718 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.3847, allocations: 7.938 kB / 0.5718 GB, free: 9.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3848, allocations: 157.1 kB / 0.572 GB, free: 9.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3848, allocations: 0 / 0.572 GB, free: 9.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.3852, allocations: 47.89 kB / 0.572 GB, free: 9.613 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 (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.000245/0.3854, allocations: 139.1 kB / 0.5721 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.3859, allocations: 139.8 kB / 0.5723 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3859, allocations: 0 / 0.5723 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.3862, allocations: 88.23 kB / 0.5723 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.3865, allocations: 33.11 kB / 0.5724 GB, free: 9.215 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.3872, allocations: 352 kB / 0.5727 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3875, allocations: 0.724 MB / 0.5734 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.732e-05/0.3876, allocations: 37.03 kB / 0.5735 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.3877, allocations: 15.44 kB / 0.5735 GB, free: 8.043 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3877, allocations: 4 kB / 0.5735 GB, free: 8.039 MB / 414.1 MB Notification: Performance of Templates: time 0.006948/0.3946, allocations: 2.722 MB / 0.5761 GB, free: 5.367 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.369678812101483]