Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.001006/0.001006, 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.0009739/0.0009739, allocations: 161 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.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.625 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.3171/0.3171, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.867e-05, allocations: 2.312 kB / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002542/0.00256, allocations: 2.075 MB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.004101, allocations: 1.125 MB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.004199, allocations: 4 kB / 379.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.004507, allocations: 55.61 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.004714, allocations: 83.41 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.005292, allocations: 195.2 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.005639, allocations: 338.3 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.005692, allocations: 8.938 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.005936, allocations: 159.5 kB / 380.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.006084, allocations: 131.5 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.006136, allocations: 8 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.006401, allocations: 143.8 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.006499, allocations: 79.61 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.006577, allocations: 75.72 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.007, allocations: 378.6 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.007002, allocations: 3.938 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007003, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.007008, allocations: 0 / 380.9 MB, free: 15.77 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0007095/0.007717, allocations: 0.6479 MB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.007754, allocations: 8.031 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.007978, allocations: 80.72 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.008224, allocations: 200.1 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.008243, allocations: 21.03 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.008274, allocations: 28.12 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.008773, allocations: 306.7 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.008786, allocations: 4 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.008809, allocations: 12 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.008845, allocations: 12.66 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.009167, allocations: 111.8 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009962/0.01016, allocations: 1.09 MB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.01038, allocations: 145.2 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/0.01046, allocations: 50.98 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.01049, allocations: 4 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.01051, allocations: 49.33 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.01051, allocations: 3.938 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003251/0.01084, allocations: 137.5 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.01088, allocations: 106.8 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.01107, allocations: 308.2 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.01109, allocations: 25.7 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.01121, allocations: 259 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.01124, allocations: 55.58 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.01132, allocations: 71.58 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.01146, allocations: 0.5081 MB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.01153, allocations: 36.14 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.01168, allocations: 199.3 kB / 385.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.01191, allocations: 246.1 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.01192, allocations: 4 kB / 385.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003554/0.01227, allocations: 237 kB / 385.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01229, allocations: 8 kB / 385.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.01232, allocations: 20 kB / 385.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.01233, allocations: 4 kB / 385.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01247, allocations: 43.91 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01247, allocations: 8.516 kB / 385.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.973e-05/0.01257, allocations: 39.78 kB / 385.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.0126, allocations: 19.98 kB / 385.9 MB, free: 10.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001011/0.0127, allocations: 179.4 kB / 386.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.01275, allocations: 27.86 kB / 386.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.01302, allocations: 175.3 kB / 386.3 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.01302, allocations: 4 kB / 386.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01303, allocations: 0 / 386.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01303, allocations: 4 kB / 386.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.0133, allocations: 248.4 kB / 386.6 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/0.01333, allocations: 20 kB / 386.6 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.01338, allocations: 19.98 kB / 386.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01338, allocations: 0 / 386.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.0134, allocations: 11.98 kB / 386.6 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01341, allocations: 4 kB / 386.6 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01341, allocations: 0 / 386.6 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.01373, allocations: 0.5056 MB / 387.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.01376, allocations: 15.91 kB / 387.1 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.01378, allocations: 12 kB / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01389, allocations: 7.984 kB / 387.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.01396, allocations: 19.97 kB / 387.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01397, allocations: 8 kB / 387.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.01409, allocations: 197.1 kB / 387.4 MB, free: 8.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01409, allocations: 0 / 387.4 MB, free: 8.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.01445, allocations: 111.7 kB / 387.5 MB, free: 8.668 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002636/0.01471, allocations: 163.4 kB / 387.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.01505, allocations: 286.5 kB / 387.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01505, allocations: 4.125 kB / 387.9 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.01523, allocations: 213.8 kB / 388.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.01557, allocations: 32.42 kB / 388.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.01667, allocations: 0.5296 MB / 388.7 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.131e-05/0.01676, allocations: 107.9 kB / 388.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.317e-05/0.01684, allocations: 45.58 kB / 388.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.01689, allocations: 20.5 kB / 388.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01689, allocations: 3.938 kB / 388.9 MB, free: 7.117 MB / 362.7 MB Notification: Performance of Templates: time 0.006379/0.02327, allocations: 4.329 MB / 393.2 MB, free: 2.871 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/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.428982748184353]