Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.001007/0.001007, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001054/0.001054, allocations: 170.2 kB / 25 MB, free: 8.352 MB / 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.137/1.137, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.241/0.241, allocations: 34.25 MB / 296 MB, free: 0.7773 MB / 266.7 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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 4 kB / 378.1 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.806e-05, allocations: 2.312 kB / 378.1 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002909/0.002937, allocations: 1.938 MB / 380 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004043, allocations: 0.8217 MB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.004116, allocations: 0 / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.00435, allocations: 47.69 kB / 380.9 MB, free: 136 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.004604, allocations: 87.48 kB / 380.9 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.004849, allocations: 83.72 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.005091, allocations: 282.5 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.005135, allocations: 8.594 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.005336, allocations: 135.4 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.005476, allocations: 111.6 kB / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.005495, allocations: 8 kB / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.005643, allocations: 75.88 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.005721, allocations: 67.7 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.005786, allocations: 67.72 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.006069, allocations: 266.9 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006072, allocations: 0 / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006073, allocations: 0 / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.006078, allocations: 0 / 382 MB, free: 14.96 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.0006081/0.006686, allocations: 0.5934 MB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.006721, allocations: 12.03 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.006795, allocations: 48.75 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.006975, allocations: 172.2 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.006993, allocations: 24.86 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.007018, allocations: 24.38 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.007323, allocations: 214.2 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.007334, allocations: 7.938 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.007353, allocations: 8 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.301e-05/0.007396, allocations: 28.62 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.007579, allocations: 139.8 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007902/0.008369, allocations: 0.6909 MB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.008558, allocations: 103 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.154e-05/0.008619, allocations: 35.73 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.008643, allocations: 4 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.008663, allocations: 33.39 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.008665, allocations: 0 / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.000309/0.008974, allocations: 155.3 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.009004, allocations: 55.41 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.009141, allocations: 249.8 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.009159, allocations: 29.7 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.755e-05/0.009256, allocations: 247 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.00929, allocations: 55.53 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.009357, allocations: 67.55 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.009469, allocations: 0.5001 MB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.009532, allocations: 28.44 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.009652, allocations: 156.8 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.009844, allocations: 214.6 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.009847, allocations: 0 / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002681/0.01012, allocations: 213.2 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01013, allocations: 4 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01014, allocations: 4 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01015, allocations: 7.938 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.01049, allocations: 119.9 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.01211, allocations: 5.415 MB / 391.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.01222, allocations: 31.77 kB / 391.7 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.01223, allocations: 16 kB / 391.7 MB, free: 4.816 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.0001192/0.01235, allocations: 168.5 kB / 391.8 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.01239, allocations: 28.09 kB / 391.9 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.01267, allocations: 195.1 kB / 392.1 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01268, allocations: 4 kB / 392.1 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01268, allocations: 7.922 kB / 392.1 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01269, allocations: 0 / 392.1 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.01289, allocations: 236.5 kB / 392.3 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01289, allocations: 0 / 392.3 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.01313, allocations: 107.9 kB / 392.4 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.01313, allocations: 7.938 kB / 392.4 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.01315, allocations: 8 kB / 392.4 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.01467, allocations: 5.406 MB / 397.8 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01467, allocations: 384 / 397.8 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.01489, allocations: 293.9 kB / 398.1 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.01491, allocations: 19.84 kB / 398.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.01493, allocations: 0 / 398.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.01499, allocations: 11.98 kB / 398.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.01504, allocations: 11.98 kB / 398.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.01506, allocations: 11.98 kB / 398.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.01513, allocations: 164.2 kB / 398.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01513, allocations: 0 / 398.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.01542, allocations: 87.78 kB / 398.4 MB, free: 13.84 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.0002117/0.01563, allocations: 135.1 kB / 398.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.01605, allocations: 212.1 kB / 398.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01605, allocations: 0 / 398.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.01629, allocations: 139.5 kB / 398.9 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.01653, allocations: 38.97 kB / 398.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008674/0.01739, allocations: 485.4 kB / 399.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.435e-05/0.01746, allocations: 103.9 kB / 399.5 MB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.01756, allocations: 53.41 kB / 399.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.0176, allocations: 24.48 kB / 399.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01761, allocations: 0 / 399.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of Templates: time 0.005966/0.02357, allocations: 4.055 MB / 403.6 MB, free: 8.645 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.4502388678956777]