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_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.001857/0.001857, allocations: 121.1 kB / 20.44 MB, free: 1.297 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.002177/0.002177, allocations: 210.5 kB / 23.74 MB, free: 4.531 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2378/0.2378, allocations: 46.94 MB / 360.9 MB, free: 4.285 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_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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 63.89 kB / 0.4967 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3761, allocations: 66.04 MB / 0.5612 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003212/0.3794, allocations: 1.807 MB / 0.5629 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3809, allocations: 0.8578 MB / 0.5638 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.3809, allocations: 0 / 0.5638 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.3812, allocations: 51.67 kB / 0.5638 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.3815, allocations: 67.7 kB / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.3818, allocations: 98.25 kB / 0.564 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.382, allocations: 147.3 kB / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.382, allocations: 9.062 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.3822, allocations: 67.7 kB / 0.5642 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.3824, allocations: 79.66 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3824, allocations: 4 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.3827, allocations: 163.8 kB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.3828, allocations: 39.83 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.3828, allocations: 51.67 kB / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.3832, allocations: 209.5 kB / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3832, allocations: 4 kB / 0.5647 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3832, allocations: 0 / 0.5647 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3832, allocations: 7.922 kB / 0.5647 GB, free: 0.7812 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.0006905/0.3839, allocations: 373.6 kB / 0.5651 GB, free: 396 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3839, allocations: 8.031 kB / 0.5651 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.384, allocations: 16.84 kB / 0.5651 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3842, allocations: 146.3 kB / 0.5652 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3842, allocations: 8.375 kB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3842, allocations: 16.12 kB / 0.5653 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.3846, allocations: 177.5 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3846, allocations: 0 / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.3846, allocations: 4 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.3846, allocations: 11.98 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.385, allocations: 159.9 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.3859, allocations: 471.3 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.3863, allocations: 154.4 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3864, allocations: 48.81 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.3865, allocations: 8 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3865, allocations: 34.56 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3865, allocations: 3.938 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005716/0.3871, allocations: 197.4 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.3872, allocations: 51.41 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3874, allocations: 203.5 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3874, allocations: 29.7 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.3875, allocations: 116 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.3876, allocations: 39.77 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.3876, allocations: 29.7 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3878, allocations: 330.8 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3879, allocations: 43.95 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3881, allocations: 74.45 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.3884, allocations: 130.4 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3884, allocations: 4 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005203/0.3889, allocations: 161.5 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3889, allocations: 4.062 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3889, allocations: 4 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3889, allocations: 4 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.3892, allocations: 48.38 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009085/0.3901, allocations: 1.223 MB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.3903, allocations: 19.92 kB / 0.5689 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3903, allocations: 4 kB / 0.5689 GB, free: 12.23 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.0001969/0.3905, allocations: 137.8 kB / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.3905, allocations: 23.78 kB / 0.5691 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.391, allocations: 178.9 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.391, allocations: 4.062 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.391, allocations: 0 / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.391, allocations: 7.969 kB / 0.5692 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.3913, allocations: 188.6 kB / 0.5694 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3913, allocations: 4.031 kB / 0.5694 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.3915, allocations: 47.91 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3915, allocations: 0 / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3915, allocations: 8 kB / 0.5695 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008911/0.3924, allocations: 1.223 MB / 0.5707 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3924, allocations: 0 / 0.5707 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.3929, allocations: 247.3 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.3929, allocations: 16.08 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.3929, allocations: 7.938 kB / 0.5709 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.393, allocations: 7.984 kB / 0.5709 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.3931, allocations: 7.984 kB / 0.5709 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.3931, allocations: 7.938 kB / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3933, allocations: 157.1 kB / 0.5711 GB, free: 9.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3933, allocations: 0 / 0.5711 GB, free: 9.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.3936, allocations: 43.89 kB / 0.5711 GB, free: 9.812 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.0002795/0.3939, allocations: 143 kB / 0.5713 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005383/0.3944, allocations: 139.9 kB / 0.5714 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3945, allocations: 4 kB / 0.5714 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.3947, allocations: 83.94 kB / 0.5715 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3951, allocations: 32.33 kB / 0.5715 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007871/0.3959, allocations: 356 kB / 0.5719 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.3963, allocations: 0.724 MB / 0.5726 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.887e-05/0.3964, allocations: 37.05 kB / 0.5726 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.3965, allocations: 15.44 kB / 0.5726 GB, free: 8.234 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3965, allocations: 0 / 0.5726 GB, free: 8.234 MB / 414.1 MB Notification: Performance of Templates: time 0.007083/0.4036, allocations: 2.717 MB / 0.5753 GB, free: 5.566 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.399558620993048]