Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.001297/0.001297, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001564/0.001564, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9849/0.9849, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2615/0.2615, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.484e-05, allocations: 2.312 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002596/0.002631, allocations: 1.935 MB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003735, allocations: 0.8294 MB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.003808, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.00407, allocations: 51.69 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.004347, allocations: 87.48 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.004602, allocations: 87.59 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.004847, allocations: 270.6 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.004895, allocations: 16.58 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.005092, allocations: 139.4 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.005226, allocations: 103.6 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.005251, allocations: 8 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.005393, allocations: 75.88 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.005474, allocations: 63.7 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.005536, allocations: 67.73 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.005818, allocations: 267 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005821, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005822, allocations: 4 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.005828, allocations: 0 / 382.8 MB, free: 14.05 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006131/0.006441, allocations: 0.5894 MB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.006484, allocations: 12.03 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.006567, allocations: 52.73 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.00674, allocations: 172.2 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.006757, allocations: 16.88 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.006783, allocations: 28.38 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.007071, allocations: 226.2 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.007083, allocations: 3.938 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.0071, allocations: 11.98 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.00714, allocations: 28.64 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.007307, allocations: 127.9 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.008095, allocations: 0.687 MB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.008276, allocations: 109.4 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.938e-05/0.008336, allocations: 31.73 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.008364, allocations: 8 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.008394, allocations: 41.39 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.008395, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003011/0.008696, allocations: 153.5 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.008722, allocations: 51.41 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.00886, allocations: 257.8 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.008877, allocations: 25.7 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.008971, allocations: 243 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.009001, allocations: 55.53 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.009066, allocations: 71.55 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.009199, allocations: 0.504 MB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.009258, allocations: 32.39 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.009377, allocations: 160.8 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.00956, allocations: 213.6 kB / 386.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.009563, allocations: 0 / 386.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002345/0.009797, allocations: 197.3 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.009812, allocations: 8.375 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.009819, allocations: 8 kB / 386.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.009836, allocations: 7.938 kB / 386.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.01014, allocations: 123.9 kB / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.01169, allocations: 5.411 MB / 392.4 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.84e-05/0.01179, allocations: 31.77 kB / 392.4 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.01181, allocations: 16 kB / 392.4 MB, free: 3.898 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.01193, allocations: 172.5 kB / 392.6 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.01196, allocations: 19.84 kB / 392.6 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.01224, allocations: 194 kB / 392.8 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.01224, allocations: 4.062 kB / 392.8 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01224, allocations: 0 / 392.8 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01225, allocations: 4 kB / 392.8 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.01245, allocations: 232.5 kB / 393.1 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01245, allocations: 0 / 393.1 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.01267, allocations: 111.9 kB / 393.2 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01267, allocations: 3.938 kB / 393.2 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01269, allocations: 4 kB / 393.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.0142, allocations: 5.422 MB / 398.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0142, allocations: 0 / 398.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.01442, allocations: 275.8 kB / 398.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.01444, allocations: 15.84 kB / 398.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.01446, allocations: 3.984 kB / 398.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.01452, allocations: 12.28 kB / 398.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.01458, allocations: 19.95 kB / 398.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01459, allocations: 8 kB / 398.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.205e-05/0.01466, allocations: 164.2 kB / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01466, allocations: 4 kB / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.01493, allocations: 83.78 kB / 399.2 MB, free: 12.93 MB / 378.7 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002304/0.01516, allocations: 151 kB / 399.3 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.01558, allocations: 199.4 kB / 399.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01558, allocations: 0 / 399.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.01581, allocations: 150.7 kB / 399.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.01607, allocations: 27.97 kB / 399.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.0171, allocations: 486.8 kB / 400.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.662e-05/0.01718, allocations: 107.9 kB / 400.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.01729, allocations: 49.41 kB / 400.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.01733, allocations: 24.48 kB / 400.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.362e-06/0.01733, allocations: 0 / 400.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of Templates: time 0.006596/0.02393, allocations: 4.066 MB / 404.4 MB, free: 7.727 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.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.4074233379215]