Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.0009937/0.0009937, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001073/0.001073, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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.033/1.033, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2526/0.2526, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 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.Plate.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.009e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002657/0.002687, allocations: 1.89 MB / 377.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.004104, allocations: 0.9968 MB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.004223, allocations: 4 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.004538, allocations: 35.7 kB / 379 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.004819, allocations: 75.52 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.005262, allocations: 143.4 kB / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.005541, allocations: 219 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.005588, allocations: 5.812 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.005833, allocations: 115.6 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.005981, allocations: 99.67 kB / 379.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.006006, allocations: 12 kB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.006213, allocations: 95.88 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.332e-05/0.006296, allocations: 67.75 kB / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.006357, allocations: 47.86 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.006695, allocations: 255 kB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006699, allocations: 0 / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.0067, allocations: 0 / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.006707, allocations: 0 / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007541/0.007461, allocations: 0.5386 MB / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.007506, allocations: 12.03 kB / 380.6 MB, free: 0 / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.007785, allocations: 60.81 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.008029, allocations: 176.8 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.008044, allocations: 4.609 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.008069, allocations: 12.38 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.008396, allocations: 191.3 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.008411, allocations: 192 / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.008432, allocations: 4.375 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/0.008485, allocations: 20.16 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.008645, allocations: 64.58 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.009673, allocations: 0.8487 MB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.00984, allocations: 121.2 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.009907, allocations: 43.05 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.00995, allocations: 3.938 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.00998, allocations: 41.52 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.009981, allocations: 0 / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003747/0.01036, allocations: 121.7 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.0104, allocations: 114.8 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.01056, allocations: 235.5 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.01057, allocations: 29.7 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.01067, allocations: 194.8 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.01069, allocations: 35.66 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.01075, allocations: 43.34 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.01088, allocations: 0.5001 MB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.01111, allocations: 15.98 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.01119, allocations: 74.11 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.01133, allocations: 110 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01133, allocations: 0 / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002142/0.01155, allocations: 133.4 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01156, allocations: 4 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.01158, allocations: 11.98 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.0116, allocations: 160 / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.01174, allocations: 39.92 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.01175, allocations: 7.984 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.01183, allocations: 15.89 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.01185, allocations: 11.98 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 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.0001163/0.01197, allocations: 164.5 kB / 384 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.01202, allocations: 19.89 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.01226, allocations: 123.4 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.01227, allocations: 7.984 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.01227, allocations: 4 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01228, allocations: 0 / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.01253, allocations: 188.6 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.01254, allocations: 4 kB / 384.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.01262, allocations: 27.91 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.01262, allocations: 4 kB / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.01264, allocations: 4 kB / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01264, allocations: 7.984 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.01265, allocations: 4 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.01298, allocations: 490.1 kB / 384.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.01301, allocations: 27.77 kB / 384.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.01304, allocations: 11.98 kB / 384.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.01315, allocations: 8 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.01322, allocations: 15.97 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01323, allocations: 4 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.01332, allocations: 176.2 kB / 385.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01332, allocations: 0 / 385.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003498/0.01367, allocations: 75.77 kB / 385.2 MB, free: 11.04 MB / 362.7 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.0002729/0.01394, allocations: 163 kB / 385.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.0142, allocations: 160.7 kB / 385.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01421, allocations: 0 / 385.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.826e-05/0.0143, allocations: 125 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.01465, allocations: 35.91 kB / 385.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000984/0.01564, allocations: 423.7 kB / 386.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.181e-05/0.01571, allocations: 83.27 kB / 386.2 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.01578, allocations: 28.61 kB / 386.2 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.01583, allocations: 16.5 kB / 386.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01583, allocations: 4 kB / 386.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of Templates: time 0.005193/0.02103, allocations: 3.16 MB / 389.4 MB, free: 6.789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.499869874212891]