Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002555/0.002555, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002661/0.002661, allocations: 161.3 kB / 24.27 MB, free: 152 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.586/1.586, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3596/0.3596, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Plate.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.1.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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.262e-05/3.441e-05, allocations: 2.312 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003509/0.003544, allocations: 1.852 MB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.005424, allocations: 0.9968 MB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.005497, allocations: 4 kB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.005741, allocations: 35.77 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.006042, allocations: 79.52 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.006477, allocations: 143.3 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.006811, allocations: 215.1 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.006862, allocations: 5.812 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.007136, allocations: 119.6 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.007321, allocations: 91.75 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.007358, allocations: 8 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.007637, allocations: 111.7 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.00774, allocations: 55.83 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.52e-05/0.007835, allocations: 55.77 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.008301, allocations: 263.1 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.008305, allocations: 4 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008306, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.008312, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.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.001028/0.00934, allocations: 0.55 MB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.009374, allocations: 8.031 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.009741, allocations: 52.81 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.01005, allocations: 176.7 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.01006, allocations: 8.609 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.01009, allocations: 12.38 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.01056, allocations: 206.6 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.01057, allocations: 192 / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.01059, allocations: 4.375 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.01063, allocations: 20.16 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.01102, allocations: 120.5 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.01228, allocations: 0.8604 MB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.01261, allocations: 133.2 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.01279, allocations: 63.03 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.01284, allocations: 11.94 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.01288, allocations: 37.39 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.01288, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000735/0.01361, allocations: 181.6 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.0137, allocations: 111 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.01396, allocations: 259.5 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.01399, allocations: 25.7 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.01414, allocations: 191 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.01418, allocations: 39.62 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.01428, allocations: 43.31 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002898/0.01457, allocations: 0.504 MB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.01473, allocations: 35.97 kB / 384.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.01495, allocations: 102.1 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.01534, allocations: 146 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01534, allocations: 0 / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005061/0.01585, allocations: 177.4 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01587, allocations: 8 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.01589, allocations: 11.98 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.01591, allocations: 0 / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.01612, allocations: 35.92 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.01613, allocations: 3.984 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.01629, allocations: 19.94 kB / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.01633, allocations: 7.984 kB / 385.4 MB, free: 10.43 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.0001699/0.0165, allocations: 180.7 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.01659, allocations: 27.78 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.01698, allocations: 139.4 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01699, allocations: 0 / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.01699, allocations: 4 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.017, allocations: 3.938 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.0175, allocations: 192.6 kB / 386 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.01752, allocations: 15.94 kB / 386 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.01768, allocations: 27.91 kB / 386 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01769, allocations: 0 / 386 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.0177, allocations: 8 kB / 386 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01771, allocations: 0 / 386 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01771, allocations: 0 / 386 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.01836, allocations: 0.5255 MB / 386.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.01841, allocations: 19.78 kB / 386.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.01844, allocations: 3.984 kB / 386.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.01865, allocations: 12 kB / 386.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.01873, allocations: 19.97 kB / 386.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.01875, allocations: 8 kB / 386.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.0189, allocations: 180.2 kB / 386.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0189, allocations: 3.938 kB / 386.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004478/0.01935, allocations: 75.77 kB / 386.9 MB, free: 8.938 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.0003078/0.01966, allocations: 155.1 kB / 387 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.02019, allocations: 204.7 kB / 387.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.02019, allocations: 0 / 387.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.02045, allocations: 152.6 kB / 387.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.02094, allocations: 36.81 kB / 387.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.02198, allocations: 407.2 kB / 387.8 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.02215, allocations: 122.9 kB / 387.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.02226, allocations: 28.61 kB / 388 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.02233, allocations: 16.5 kB / 388 MB, free: 7.723 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02233, allocations: 0 / 388 MB, free: 7.723 MB / 362.7 MB Notification: Performance of Templates: time 0.008171/0.0305, allocations: 3.164 MB / 391.1 MB, free: 4.602 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.255612291046418]