Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001378/0.001378, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001454/0.001454, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2207/0.2207, allocations: 44.94 MB / 359.6 MB, free: 6.043 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.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.002159/0.002159, allocations: 63.91 kB / 0.4943 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 65.48 MB / 0.5582 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003332/0.3169, allocations: 1.762 MB / 0.5599 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.3184, allocations: 0.7723 MB / 0.5607 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.3185, allocations: 3.938 kB / 0.5607 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.3188, allocations: 39.75 kB / 0.5607 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.3191, allocations: 67.72 kB / 0.5608 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.3193, allocations: 91.66 kB / 0.5609 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3196, allocations: 143.3 kB / 0.561 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.3196, allocations: 13.05 kB / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.3198, allocations: 71.69 kB / 0.5611 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.32, allocations: 75.67 kB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.32, allocations: 4 kB / 0.5612 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.3202, allocations: 63.89 kB / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.3202, allocations: 47.77 kB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.3203, allocations: 35.8 kB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.3206, allocations: 185.6 kB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3206, allocations: 4 kB / 0.5615 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3206, allocations: 0 / 0.5615 GB, free: 4.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3206, allocations: 0 / 0.5615 GB, free: 4.07 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.0007335/0.3213, allocations: 377.5 kB / 0.5619 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3214, allocations: 8.031 kB / 0.5619 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.3214, allocations: 16.84 kB / 0.5619 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3217, allocations: 146.3 kB / 0.562 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3217, allocations: 8.375 kB / 0.562 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.3217, allocations: 20.11 kB / 0.5621 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.3221, allocations: 169.6 kB / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3221, allocations: 3.938 kB / 0.5622 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3221, allocations: 4 kB / 0.5622 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.3221, allocations: 12 kB / 0.5622 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.3225, allocations: 167.8 kB / 0.5624 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.3233, allocations: 396.1 kB / 0.5628 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.3236, allocations: 150.3 kB / 0.5629 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3237, allocations: 52.86 kB / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3238, allocations: 0 / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3238, allocations: 34.56 kB / 0.563 GB, free: 2.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.3238, allocations: 0 / 0.563 GB, free: 2.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005628/0.3244, allocations: 193.4 kB / 0.5632 GB, free: 2.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3244, allocations: 55.41 kB / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3246, allocations: 152.5 kB / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3246, allocations: 25.7 kB / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.3247, allocations: 120 kB / 0.5635 GB, free: 1.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.3247, allocations: 35.69 kB / 0.5636 GB, free: 1.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.3248, allocations: 29.7 kB / 0.5636 GB, free: 1.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3249, allocations: 318.8 kB / 0.5639 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.325, allocations: 55.88 kB / 0.5639 GB, free: 1.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3252, allocations: 74.45 kB / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.3255, allocations: 130.8 kB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3255, allocations: 7.938 kB / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000377/0.3259, allocations: 157.4 kB / 0.5643 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3259, allocations: 10.66 kB / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3259, allocations: 0 / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3259, allocations: 0 / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.3262, allocations: 59.97 kB / 0.5644 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008309/0.3271, allocations: 1.219 MB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3272, allocations: 7.984 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3272, allocations: 4 kB / 0.5656 GB, free: 15.68 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.0002001/0.3274, allocations: 133.8 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.3274, allocations: 15.84 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.3279, allocations: 190.4 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3279, allocations: 3.984 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3279, allocations: 0 / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3279, allocations: 0 / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.3281, allocations: 149.3 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3281, allocations: 4 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.3283, allocations: 47.97 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3283, allocations: 3.984 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3283, allocations: 3.938 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007592/0.3291, allocations: 1.223 MB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3291, allocations: 3.938 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.3295, allocations: 247.4 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.3295, allocations: 11.84 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3295, allocations: 4 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3297, allocations: 7.984 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.3297, allocations: 16.11 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3297, allocations: 8 kB / 0.5676 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.209e-05/0.3298, allocations: 111.2 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3298, allocations: 0 / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000321/0.3302, allocations: 47.81 kB / 0.5677 GB, free: 13.35 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.0002396/0.3304, allocations: 128.8 kB / 0.5678 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.3309, allocations: 151.9 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3309, allocations: 0 / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.3312, allocations: 87.92 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3315, allocations: 16.11 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.3322, allocations: 369.7 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.3323, allocations: 113.8 kB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.3324, allocations: 15.42 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3324, allocations: 0 / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.006098/0.3385, allocations: 3.32 MB / 0.5718 GB, free: 9.117 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.153666293248534]